[yocto] [meta-ivi][PATCH] layer.conf: Use .= for adding to BBPATH and += to BBFILES

Andrei Gherzan andrei.gherzan at windriver.com
Fri Jan 4 03:29:14 PST 2013


Fixes parsing errors which is appearing after this commit to
meta-openembedded

http://cgit.openembedded.org/meta-openembedded/commit/?id=3c21a46020bd0816579648f684c41dbd6333583e

This triggers
exception NameError: name 'base_contains' is not defined
without this change

Signed-off-by: Andrei Gherzan <andrei.gherzan at windriver.com>
---
 conf/layer.conf |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/conf/layer.conf b/conf/layer.conf
index 1a90791..346cc0e 100644
--- a/conf/layer.conf
+++ b/conf/layer.conf
@@ -1,9 +1,10 @@
 BBPATH ?= ""
 # We add conf directory to BBPATH
-BBPATH := "${BBPATH}:${LAYERDIR}"
+BBPATH .= ":${LAYERDIR}"
 
 # We have a recipes directory containing .bb and .bbappend files, add to BBFILES
-BBFILES += "${LAYERDIR}/recipes-*/*/*.bb ${LAYERDIR}/recipes-*/*/*.bbappend"
+BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \
+            ${LAYERDIR}/recipes-*/*/*.bbappend"
 
 BBFILE_COLLECTIONS += "ivi"
 BBFILE_PATTERN_ivi := "^${LAYERDIR}/"
-- 
1.7.9.5




More information about the yocto mailing list