Skip to contentSkip to conversation

layer.conf: avoid unnecessary early expansion with :=

PATCH [email protected] 1 participant 1 message Mar 19, 2013

lore
Share & tools
lore
#0 lore raw
Quoted 25 lines

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 +1 -2
index 8bd75d8..f463203 100644
@@ -1,10 +1,10 @@
 # We have a conf and classes directory, add to BBPATH
-BBPATH := "${LAYERDIR}:${BBPATH}"
+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 += "meta-meson"

conf/layer.conf

Quoted 3 lines
conf/layer.conf +1 -1
-BBFILE_PATTERN_meta-meson := "^${LAYERDIR}/"
+BBFILE_PATTERN_meta-meson = "^${LAYERDIR}/"
 BBFILE_PRIORITY_meta-meson = "8"

Merged this and the meta-meson-bsp version, thank you.

-Kevin