diff options
author | Khem Raj <raj.khem@gmail.com> | 2013-01-03 19:50:30 -0800 |
---|---|---|
committer | Darren Hart <dvhart@linux.intel.com> | 2013-01-07 09:59:05 -0800 |
commit | 227d8fa72c2ffbccee4c21ffb32841129a550729 (patch) | |
tree | 85df90d009973dd865363d1bf187d176de2a44ac /meta-tlk | |
parent | 14b4fb07d3d51208f138fe87121d078cd8fb9ab2 (diff) | |
download | meta-intel-227d8fa72c2ffbccee4c21ffb32841129a550729.tar.gz |
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 <raj.khem@gmail.com>
Acked-by: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Diffstat (limited to 'meta-tlk')
-rw-r--r-- | meta-tlk/conf/layer.conf | 4 |
1 files changed, 2 insertions, 2 deletions
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 @@ | |||
1 | # We have a conf and classes directory, add to BBPATH | 1 | # We have a conf and classes directory, add to BBPATH |
2 | BBPATH := "${BBPATH}:${LAYERDIR}" | 2 | BBPATH .= ":${LAYERDIR}" |
3 | 3 | ||
4 | # We have recipes-* directories, add to BBFILES | 4 | # We have recipes-* directories, add to BBFILES |
5 | BBFILES := "${BBFILES} ${LAYERDIR}/recipes-*/*/*.bb \ | 5 | BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \ |
6 | ${LAYERDIR}/recipes-*/*/*.bbappend" | 6 | ${LAYERDIR}/recipes-*/*/*.bbappend" |