layer.conf: avoid unnecessary early expansion with :=
PATCH 1/1 layer.conf: avoid unnecessary early expansion with :=
From: Christopher Larson <[email protected]>
bitbake handles immediate expansions of LAYERDIR for us automatically.
Signed-off-by Christopher Larson <[email protected]>
--- conf/layer.conf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
conf/layer.conf +3 -3
@@ -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
Quoted 26 lines · On Monday 18 March 2013 18:13:45 Christopher Larson wrote:
From: Christopher Larson <[email protected]>
bitbake handles immediate expansions of LAYERDIR for us automatically.
Signed-off-by Christopher Larson <[email protected]>--- conf/layer.conf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)conf/layer.conf +1
-2@@ -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"
conf/layer.conf line 12
Quoted 3 lines
conf/layer.conf +1
-1-BBFILE_PATTERN_meta-baryon := "^${LAYERDIR}/" +BBFILE_PATTERN_meta-baryon = "^${LAYERDIR}/" BBFILE_PRIORITY_meta-baryon = "7"
Merged this and the denzil/danny versions, thanks.
Cheers,
Paul
Signature · 2 lines
Paul Eggleton Intel Open Source Technology Centre