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-tlk/conf/layer.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'meta-tlk') diff --git a/meta-tlk/conf/layer.conf b/meta-tlk/conf/layer.conf index fc0da613..38b0e0c2 100644 --- a/meta-tlk/conf/layer.conf +++ b/meta-tlk/conf/layer.conf @@ -1,6 +1,6 @@ # 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" -- cgit v1.2.3-54-g00ecf