Skip to contentSkip to conversation

layer.conf: avoid unnecessary early expansion with :=

PATCH New Christopher Larson 1 participant 1 message Mar 19, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 layer.conf: avoid unnecessary early expansion with :=

From: Christopher Larson <[email protected]>

bitbake handles immediate expansions of LAYERDIR for us automatically.

---
 conf/layer.conf | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
conf/layer.conf +3 -3
index 66af06d..ed52705 100644
@@ -1,11 +1,11 @@
 # 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"
+BBFILES += "${LAYERDIR}/recipes*/*/*.bb"
 
 BBFILE_COLLECTIONS += "extras"
-BBFILE_PATTERN_extras := "^${LAYERDIR}/"
+BBFILE_PATTERN_extras = "^${LAYERDIR}/"
 BBFILE_PRIORITY_extras = "5"
 
 require conf/distro/include/poky-extras-src-revisions.inc
Signature · 1 line
1.8.2