[oe-commits] Andrei Gherzan : layer.conf: Use .= for adding to BBPATH and += to BBFILES

git at git.openembedded.org git at git.openembedded.org
Fri Mar 22 15:20:12 UTC 2013


Module: meta-openembedded.git
Branch: origin/danny
Commit: 37597429ffd4adf22f39ad8d126d43405993fdc5
URL:    http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=37597429ffd4adf22f39ad8d126d43405993fdc5

Author: Andrei Gherzan <andrei.gherzan at windriver.com>
Date:   Thu Mar 21 14:46:31 2013 -0700

layer.conf: Use .= for adding to BBPATH and += to BBFILES

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>
Signed-off-by: Christopher Larson <chris_larson at mentor.com>
Signed-off-by: Joe MacDonald <joe.macdonald at windriver.com>

---

 meta-networking/conf/layer.conf |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/meta-networking/conf/layer.conf b/meta-networking/conf/layer.conf
index f26a172..1ea2bc2 100644
--- a/meta-networking/conf/layer.conf
+++ b/meta-networking/conf/layer.conf
@@ -1,9 +1,9 @@
 # We have a conf and classes directory, add to BBPATH
-BBPATH := "${BBPATH}:${LAYERDIR}"
+BBPATH .= ":${LAYERDIR}"
 
 # We have a packages directory, add to BBFILES
-BBFILES := "${BBFILES} ${LAYERDIR}/recipes-*/*/*.bb \
- ${LAYERDIR}/recipes-*/*/*.bbappend"
+BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \
+            ${LAYERDIR}/recipes-*/*/*.bbappend"
 
 BBFILE_COLLECTIONS += "networking"
 BBFILE_PATTERN_networking := "^${LAYERDIR}/"





More information about the Openembedded-commits mailing list