Skip to contentSkip to conversation

layer.conf: avoid unnecessary early expansion with :=

PATCH Applied Christopher Larson 2 participants 2 messages Mar 19, 2013 – Mar 26, 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 | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
conf/layer.conf +2 -2
index 9d2e54b..ad8c5f3 100644
@@ -1,11 +1,11 @@
 # We have a packages directory, add to BBFILES
-BBPATH := "${BBPATH}:${LAYERDIR}"
+BBPATH .= ":${LAYERDIR}"
 
 BBFILES += "${LAYERDIR}/recipes-*/*/*.bb*"
 BBFILES += "${LAYERDIR}/images/*.bb*"
 
 BBFILE_COLLECTIONS += "fsl"
-BBFILE_PATTERN_fsl := "^${LAYERDIR}/"
+BBFILE_PATTERN_fsl = "^${LAYERDIR}/"
 BBFILE_PRIORITY_fsl = "5"
 
 BB_ENV_EXTRAWHITE := "KSRC USRC"
Signature · 1 line
1.8.2
#1 lore raw

Applied, thanks.

Best Regards,

Zhenhua

Quoted 43 lines

-----Original Message-----
From: [email protected] [mailto:meta-freescale- [email protected]] On Behalf Of Christopher Larson
Sent: Tuesday, March 19, 2013 9:29 AM
To: [email protected]
Cc: Christopher Larson
Subject: [meta-freescale] [meta-fsl-ppc][denzil][PATCH] layer.conf: avoid unnecessary early expansion with :=

From: Christopher Larson <[email protected]>

bitbake handles immediate expansions of LAYERDIR for us automatically.

---
 conf/layer.conf | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
conf/layer.conf index 9d2e54b..ad8c5f3 renamed from conf/layer.conf +0 -0

100644

conf/layer.conf +0 -0
@@ -1,11 +1,11 @@
 # We have a packages directory, add to BBFILES -BBPATH :=

"${BBPATH}:${LAYERDIR}"

conf/layer.conf +2 -2
+BBPATH .= ":${LAYERDIR}"
 
 BBFILES += "${LAYERDIR}/recipes-*/*/*.bb*"
 BBFILES += "${LAYERDIR}/images/*.bb*"
 
 BBFILE_COLLECTIONS += "fsl"
-BBFILE_PATTERN_fsl := "^${LAYERDIR}/"
+BBFILE_PATTERN_fsl = "^${LAYERDIR}/"
 BBFILE_PRIORITY_fsl = "5"
 
 BB_ENV_EXTRAWHITE := "KSRC USRC"
--

1.8.2

_______________________________________________
meta-freescale mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-freescale