[oe-commits] Khem Raj : conf/layer.conf: Use .= to append to BBPATH and += for BBFILES

git version control git at git.openembedded.org
Mon May 9 11:30:50 UTC 2011


Module: openembedded-core.git
Branch: master
Commit: 74c4c97cda7fbda68f8e6985eaad1c0e20998429
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=74c4c97cda7fbda68f8e6985eaad1c0e20998429

Author: Khem Raj <raj.khem at gmail.com>
Date:   Thu May  5 22:00:53 2011 -0700

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 at gmail.com>

---

 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 5287417..3f63c7d 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}/"





More information about the Openembedded-commits mailing list