From a785a9d9aff97ae3ddde460474825be28c36009c Mon Sep 17 00:00:00 2001 From: Christopher Larson Date: Mon, 18 Mar 2013 19:03:20 -0700 Subject: layer.conf: avoid unnecessary early expansion with := bitbake handles immediate expansions of LAYERDIR for us automatically. (From meta-yocto rev: ee59f1ec94ba8474876603dad1ab32d131227f49) Signed-off-by: Christopher Larson Signed-off-by: Richard Purdie --- scripts/lib/bsp/substrate/target/arch/common/conf/layer.conf | 6 +++--- scripts/lib/bsp/substrate/target/arch/layer/conf/layer.conf | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'scripts') diff --git a/scripts/lib/bsp/substrate/target/arch/common/conf/layer.conf b/scripts/lib/bsp/substrate/target/arch/common/conf/layer.conf index 921d976dce..97029dd7e4 100644 --- a/scripts/lib/bsp/substrate/target/arch/common/conf/layer.conf +++ b/scripts/lib/bsp/substrate/target/arch/common/conf/layer.conf @@ -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" diff --git a/scripts/lib/bsp/substrate/target/arch/layer/conf/layer.conf b/scripts/lib/bsp/substrate/target/arch/layer/conf/layer.conf index 84a9abb1d0..76153f3f8f 100644 --- a/scripts/lib/bsp/substrate/target/arch/layer/conf/layer.conf +++ b/scripts/lib/bsp/substrate/target/arch/layer/conf/layer.conf @@ -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 += "{{=layer_name}}" -BBFILE_PATTERN_{{=layer_name}} := "^${LAYERDIR}/" +BBFILE_PATTERN_{{=layer_name}} = "^${LAYERDIR}/" BBFILE_PRIORITY_{{=layer_name}} = "{{=layer_priority}}" -- cgit v1.2.3-54-g00ecf