On Tue, 2013-04-23 at 13:26 +0100, Richard Purdie wrote: > BBFILES is whitespace delimited. If .= used, no whitespace padding is added > around > the addition and this can lead to it being combined with some other part of > the > field, leading to parts of BBFILES mysteriously not being seen. > > For example, I have in my bblayers.conf: > > /media/build1/poky/meta-intel/meta-emenlow \ > /media/build1/poky/meta-intel/meta-fri2 \ > /media/build1/poky/meta-intel/meta-jasperforest \ > /media/build1/poky/meta-intel/meta-n450 \ > /media/build1/poky/meta-intel/meta-romley \ > > and this results in the warning: > > WARNING: No bb files matched BBFILE_PATTERN_fri2 > '^/media/build1/poky/meta-intel/meta-fri2/' > > and if I try to build MACHINE=fri2, I get strange errors due to the .bb files > not being parsed. > > The fix is simply to use +=, just like every other layer.conf file. >
Good catch, thanks! Pulled into meta-intel/master and meta-intel/dylan. Tom > Signed-off-by: Richard Purdie <richard.pur...@linuxfoundation.org> > --- > meta-jasperforest/conf/layer.conf | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/meta-jasperforest/conf/layer.conf > b/meta-jasperforest/conf/layer.conf > index b539733..6d096e7 100644 > --- a/meta-jasperforest/conf/layer.conf > +++ b/meta-jasperforest/conf/layer.conf > @@ -2,7 +2,7 @@ > BBPATH .= ":${LAYERDIR}" > > # We have a recipes directory, add to BBFILES > -BBFILES .= "${LAYERDIR}/recipes-*/*/*.bb \ > +BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \ > ${LAYERDIR}/recipes-*/*/*.bbappend" > > BBFILE_COLLECTIONS += "jasperforest" > > _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto