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 0d33e3b..5515047 100644
@@ -2,12 +2,12 @@
 # Copyright 2011 Intel Corporation
 
 # We have a conf directory, prepend to BBPATH to prefer our versions
-BBPATH := "${LAYERDIR}:${BBPATH}"
+BBPATH =. "${LAYERDIR}:"
 
 # We have recipes-* directories, add to BBFILES
-BBFILES := "${BBFILES} ${LAYERDIR}/recipes-*/*/*.bb ${LAYERDIR}/recipes-*/*/*.bbappend"
+BBFILES += "${LAYERDIR}/recipes-*/*/*.bb ${LAYERDIR}/recipes-*/*/*.bbappend"
 
 BBFILE_COLLECTIONS += "meta-baryon"
-BBFILE_PATTERN_meta-baryon := "^${LAYERDIR}/"
+BBFILE_PATTERN_meta-baryon = "^${LAYERDIR}/"
 BBFILE_PRIORITY_meta-baryon = "7"
 
Signature · 1 line
1.8.2