Patchwork [meta-opie] layer.conf: Use .= for adding to BBPATH and += to BBFILES

login
register
mail settings
Submitter Khem Raj
Date Jan. 4, 2013, 3:52 a.m.
Message ID <1357271522-10566-1-git-send-email-raj.khem@gmail.com>
Download mbox | patch
Permalink /patch/41951/
State Accepted, archived
Headers show

Comments

Khem Raj - Jan. 4, 2013, 3:52 a.m.
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

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 conf/layer.conf |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Patch

diff --git a/conf/layer.conf b/conf/layer.conf
index 4d900c9..6950246 100644
--- a/conf/layer.conf
+++ b/conf/layer.conf
@@ -2,10 +2,10 @@ 
 # Copyright 2011 Intel Corporation
 
 # We have a conf and classes directory, prepend to BBPATH to prefer our versions
-BBPATH := "${LAYERDIR}:${BBPATH}"
+BBPATH .= ":${LAYERDIR}"
 
 # We have a recipes directory, add to BBFILES
-BBFILES := "${BBFILES} ${LAYERDIR}/recipes-*/*/*.bb ${LAYERDIR}/recipes-*/*/*.bbappend"
+BBFILES += "${LAYERDIR}/recipes-*/*/*.bb ${LAYERDIR}/recipes-*/*/*.bbappend"
 
 BBFILE_COLLECTIONS += "meta-opie"
 BBFILE_PATTERN_meta-opie := "^${LAYERDIR}/"