summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2011-05-05 22:00:53 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-05-09 14:09:06 +0100
commit25f4a0e362aa18f060297775aa4591acc8d2b12f (patch)
treea1f2ffc09c7172e93095d98b2472b7404270036c /meta
parent605141a93443df042634b2219a8628a9004be023 (diff)
downloadpoky-25f4a0e362aa18f060297775aa4591acc8d2b12f.tar.gz
conf/layer.conf: Use .= to append to BBPATH and += for BBFILES
This helps bitbake in organising BBPATH and BBFILES with given BBFILE_PRIORITY order (From OE-Core rev: 74c4c97cda7fbda68f8e6985eaad1c0e20998429) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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 @@
1BBPATH ?= "" 1BBPATH ?= ""
2# We have a conf and classes directory, add to BBPATH 2# We have a conf and classes directory, add to BBPATH
3BBPATH := "${BBPATH}:${LAYERDIR}" 3BBPATH .= ":${LAYERDIR}"
4
5# We have a packages directory, add to BBFILES 4# We have a packages directory, add to BBFILES
6BBFILES := "${BBFILES} ${LAYERDIR}/packages/*/*.bb ${LAYERDIR}/recipes-*/*/*.bb" 5BBFILES += "${LAYERDIR}/packages/*/*.bb ${LAYERDIR}/recipes-*/*/*.bb"
7 6
8BBFILE_COLLECTIONS += "normal" 7BBFILE_COLLECTIONS += "normal"
9BBFILE_PATTERN_normal := "^${LAYERDIR}/" 8BBFILE_PATTERN_normal := "^${LAYERDIR}/"