meta-jasperforest: Fix BBFILES

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.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
This commit is contained in:
Richard Purdie 2013-04-23 13:26:47 +01:00 committed by Tom Zanussi
parent 2e1cc12ddb
commit 19740c2001

View File

@ -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"