summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2011-05-05 22:00:53 -0700
committerSaul Wold <sgw@linux.intel.com>2011-05-08 23:56:10 -0700
commit74c4c97cda7fbda68f8e6985eaad1c0e20998429 (patch)
tree6c62cbd664621658d6c311bcda86f56c45ba72f5 /meta
parent649a836a6a5c64aa48f2a612a90c2d4c26731e05 (diff)
downloadopenembedded-core-74c4c97cda7fbda68f8e6985eaad1c0e20998429.tar.gz
openembedded-core-74c4c97cda7fbda68f8e6985eaad1c0e20998429.tar.bz2
openembedded-core-74c4c97cda7fbda68f8e6985eaad1c0e20998429.zip
conf/layer.conf: Use .= to append to BBPATH and += for BBFILES
This helps bitbake in organising BBPATH and BBFILES with given BBFILE_PRIORITY order Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta')
-rw-r--r--meta/conf/layer.conf5
1 files changed, 2 insertions, 3 deletions
diff --git a/meta/conf/layer.conf b/meta/conf/layer.conf
index 5287417717..3f63c7dd51 100644
--- a/meta/conf/layer.conf
+++ b/meta/conf/layer.conf
@@ -1,9 +1,8 @@
BBPATH ?= ""
# We have a conf and classes directory, add to BBPATH
-BBPATH := "${BBPATH}:${LAYERDIR}"
-
+BBPATH .= ":${LAYERDIR}"
# We have a packages directory, add to BBFILES
-BBFILES := "${BBFILES} ${LAYERDIR}/packages/*/*.bb ${LAYERDIR}/recipes-*/*/*.bb"
+BBFILES += "${LAYERDIR}/packages/*/*.bb ${LAYERDIR}/recipes-*/*/*.bb"
BBFILE_COLLECTIONS += "normal"
BBFILE_PATTERN_normal := "^${LAYERDIR}/"