Skip to contentSkip to conversation

layer.conf: avoid unnecessary early expansion with :=

PATCH Applied Christopher Larson 2 participants 2 messages 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 d1a1a84..f415d2f 100644
@@ -1,12 +1,12 @@
 # We have a conf and classes directory, add to BBPATH
-BBPATH := "${BBPATH}:${LAYERDIR}"
+BBPATH .= ":${LAYERDIR}"
 
 require conf/distro/include/xilinx-default-revisions.inc
 
 # We have a packages directory, add to BBFILES
-BBFILES := "${BBFILES} ${LAYERDIR}/recipes-*/*/*.bb \
+BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \
 	${LAYERDIR}/recipes-*/*/*.bbappend"
 
 BBFILE_COLLECTIONS += "xilinx"
-BBFILE_PATTERN_xilinx := "^${LAYERDIR}/"
+BBFILE_PATTERN_xilinx = "^${LAYERDIR}/"
 BBFILE_PRIORITY_xilinx = "6"
Signature · 1 line
1.8.2
Applied
#1 lore raw

applied

http://git.yoctoproject.org/cgit/cgit.cgi/meta-xilinx/commit/?id=bbe2cb495fdbfc31eea422021548c0c95401c11a

Quoted 36 lines · Christopher Larson

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 -1
index d1a1a84..f415d2f 100644
@@ -1,12 +1,12 @@
 # We have a conf and classes directory, add to BBPATH
-BBPATH := "${BBPATH}:${LAYERDIR}"
+BBPATH .= ":${LAYERDIR}"
 

require conf/distro/include/xilinx-default-revisions.inc

# We have a packages directory, add to BBFILES

conf/layer.conf +1 -1
-BBFILES := "${BBFILES} ${LAYERDIR}/recipes-*/*/*.bb \
+BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \
	${LAYERDIR}/recipes-*/*/*.bbappend"

BBFILE_COLLECTIONS += "xilinx"

conf/layer.conf +1 -1
-BBFILE_PATTERN_xilinx := "^${LAYERDIR}/"
+BBFILE_PATTERN_xilinx = "^${LAYERDIR}/"

BBFILE_PRIORITY_xilinx = "6"

Signature · 6 lines
1.8.2

_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto