Re: [meta-xilinx][PATCH] layer.conf: avoid unnecessary early expansion with :=


Elvis Dowson
 

On Mar 19, 2013, at 6:13 AM, Christopher Larson <kergoth@...> wrote:

From: Christopher Larson <chris_larson@...>

bitbake handles immediate expansions of LAYERDIR for us automatically.

Signed-off-by: Christopher Larson <chris_larson@...>
---
conf/layer.conf | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/conf/layer.conf b/conf/layer.conf
index d1a1a84..f415d2f 100644
--- a/conf/layer.conf
+++ b/conf/layer.conf
@@ -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"
--
1.8.2

_______________________________________________
yocto mailing list
yocto@...
https://lists.yoctoproject.org/listinfo/yocto

Join {yocto@lists.yoctoproject.org to automatically receive all group messages.