[meta-intel] Use of overrides in linux-yocto bbappends
Paul Eggleton
paul.eggleton at linux.intel.com
Fri Apr 11 09:46:47 PDT 2014
On Friday 11 April 2014 17:38:46 Chris Tapp wrote:
> On 11 Apr 2014, at 16:37, Paul Eggleton <paul.eggleton at linux.intel.com>
> wrote:
> > ...
> > I can throw together a patch to fix it, but we'll also need to make sure
> > new BSPs added in future use overrides as well. Any suggestions on how to
> > handle the latter?
>
> Would a QA check help?
If you mean a QA check to detect use of the override, unfortunately no -
although BitBake can collect history such that it would be possible for a QA
check to tell whether an override were used or not (as seen when running
bitbake -e), we don't turn that on during a normal build for performance
reasons. We could do something to check if LINUX_VERSION had been set to match
the actual kernel being built, but I'm sure there are situations where the two
don't exactly match so that may not be practical either.
I've thought about this kind of thing before though as a separate "lint" tool
to run over a layer. There's an open enhancement bug with some of my thoughts
including something to cover this kind of issue:
https://bugzilla.yoctoproject.org/show_bug.cgi?id=5427
Cheers,
Paul
--
Paul Eggleton
Intel Open Source Technology Centre
More information about the meta-intel
mailing list