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]>
--- meta-yocto/conf/layer.conf | 6 +++--- scripts/lib/bsp/substrate/target/arch/common/conf/layer.conf | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-)
meta-yocto/conf/layer.conf +3 -3
@@ -1,11 +1,11 @@ # 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 \ +BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \ ${LAYERDIR}/recipes-*/*/*.bbappend" BBFILE_COLLECTIONS += "yocto" -BBFILE_PATTERN_yocto := "^${LAYERDIR}/" +BBFILE_PATTERN_yocto = "^${LAYERDIR}/" BBFILE_PRIORITY_yocto = "5"
scripts/lib/bsp/substrate/target/arch/common/conf/layer.conf +3 -3
@@ -1,10 +1,10 @@ # We have a conf and classes directory, add to BBPATH -BBPATH := "${BBPATH}:${LAYERDIR}" +BBPATH .= ":${LAYERDIR}" # We have a recipes directory, add to BBFILES -BBFILES := "${BBFILES} ${LAYERDIR}/recipes-*/*/*.bb \ +BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \ ${LAYERDIR}/recipes-*/*/*.bbappend" BBFILE_COLLECTIONS += "{{=machine}}" -BBFILE_PATTERN_{{=machine}} := "^${LAYERDIR}/" +BBFILE_PATTERN_{{=machine}} = "^${LAYERDIR}/" BBFILE_PRIORITY_{{=machine}} = "6"
Signature · 1 line
1.8.2