Skip to contentSkip to conversation

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

PATCH Applied Andrei Gherzan 2 participants 2 messages Jan 4, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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

---
 meta-networking/conf/layer.conf |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
meta-networking/conf/layer.conf +3 -3
index f26a172..1ea2bc2 100644
@@ -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}/"
Signature · 1 line
1.7.9.5
#1 lore raw

Merged, thanks.
-J.

Quoted 31 lines · [[oe] [meta-networking][PATCH] layer.conf: Use .= for adding to BBPATH and +=…

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

---
 meta-networking/conf/layer.conf |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
meta-networking/conf/layer.conf +3 -3
index f26a172..1ea2bc2 100644
@@ -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}/"
Signature · 2 lines
-Joe MacDonald.
:wq