Re: In consistancy in the defition of BBFILE_COLLECTIONS in layer.conf


Richard Purdie
 

On Thu, 2011-05-26 at 09:39 +0200, Martin Jansa wrote:
Using machine override has one small benefit

when I have meta-nokia layer which has only recipes with
COMPATIBLE_MACHINE = "nokia900" and I'm building different machine (like
om-gta02) I get this warning:
WARNING: No bb files matched BBFILE_PATTERN_nokia-layer '^/OE/shr-core/meta-smartphone/meta-nokia/'
because all bb files from this layer are ignored because of
COMPATIBLE_MACHINE
I think there is a change on bitbake master which should fix some of the
cases where this warning was appearing (where a layer only
contained .bbappend files).

if I change it like this
-BBFILE_COLLECTIONS += "nokia-layer"
+BBFILE_COLLECTIONS_nokia900 += "nokia-layer"
maybe with more overrides per layer.conf if it supports multiple
machines, the warning is gone, but seems like sstate checksums are
different again, because during test I changed only this and another gcc
rebuild is in runqueue now :/.
Ouch. If you can figure out what changed we can try and fix that. FWIW,
I also merged the signature generation data writing at stamp creation
time (with fixes).

Cheers,

Richard

Join yocto@lists.yoctoproject.org to automatically receive all group messages.