diff options
author | Khem Raj <raj.khem@gmail.com> | 2011-05-05 22:00:53 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-05-09 14:09:06 +0100 |
commit | 25f4a0e362aa18f060297775aa4591acc8d2b12f (patch) | |
tree | a1f2ffc09c7172e93095d98b2472b7404270036c /meta | |
parent | 605141a93443df042634b2219a8628a9004be023 (diff) | |
download | poky-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.conf | 5 |
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 @@ | |||
1 | BBPATH ?= "" | 1 | BBPATH ?= "" |
2 | # We have a conf and classes directory, add to BBPATH | 2 | # We have a conf and classes directory, add to BBPATH |
3 | BBPATH := "${BBPATH}:${LAYERDIR}" | 3 | BBPATH .= ":${LAYERDIR}" |
4 | |||
5 | # We have a packages directory, add to BBFILES | 4 | # We have a packages directory, add to BBFILES |
6 | BBFILES := "${BBFILES} ${LAYERDIR}/packages/*/*.bb ${LAYERDIR}/recipes-*/*/*.bb" | 5 | BBFILES += "${LAYERDIR}/packages/*/*.bb ${LAYERDIR}/recipes-*/*/*.bb" |
7 | 6 | ||
8 | BBFILE_COLLECTIONS += "normal" | 7 | BBFILE_COLLECTIONS += "normal" |
9 | BBFILE_PATTERN_normal := "^${LAYERDIR}/" | 8 | BBFILE_PATTERN_normal := "^${LAYERDIR}/" |