From 227d8fa72c2ffbccee4c21ffb32841129a550729 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Thu, 3 Jan 2013 19:50:30 -0800 Subject: layer.conf: Use .= for adding to BBPATH and += to BBFILES Fixes parsing errors which is appearing after this commit to meta-openembedded http://cgit.openembedded.org/meta-openembedded/commit/?id=3c21a46020bd0816579648f684c41dbd6333583e This triggers exception NameError: name 'base_contains' is not defined without this change Avoid the immediate expansion operator (:=) which caused base_contains added in the previous commit to fail to expand at the time the meta-intel layer configs are parsed and replace it with one of the append operators (.= or +=) that allows for delayed variable expansion. Signed-off-by: Khem Raj Acked-by: Tom Zanussi Signed-off-by: Darren Hart --- meta-emenlow/conf/layer.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'meta-emenlow') diff --git a/meta-emenlow/conf/layer.conf b/meta-emenlow/conf/layer.conf index a49ec47f..b5832e4f 100644 --- a/meta-emenlow/conf/layer.conf +++ b/meta-emenlow/conf/layer.conf @@ -1,8 +1,8 @@ # We have a conf and classes directory, add to BBPATH -BBPATH := "${BBPATH}:${LAYERDIR}" +BBPATH .= ":${LAYERDIR}" # We have recipes-* directories, add to BBFILES -BBFILES := "${BBFILES} ${LAYERDIR}/recipes-*/*/*.bb \ +BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \ ${LAYERDIR}/recipes-*/*/*.bbappend" BBFILE_COLLECTIONS += "emenlow" -- cgit v1.2.3-54-g00ecf