]> code.ossystems Code Review - openembedded-core.git/commitdiff
conf/layer.conf: Use .= to append to BBPATH and += for BBFILES
authorKhem Raj <raj.khem@gmail.com>
Fri, 6 May 2011 05:00:53 +0000 (22:00 -0700)
committerSaul Wold <sgw@linux.intel.com>
Mon, 9 May 2011 06:56:10 +0000 (23:56 -0700)
This helps bitbake in organising BBPATH and BBFILES with given
BBFILE_PRIORITY order

Signed-off-by: Khem Raj <raj.khem@gmail.com>
meta/conf/layer.conf

index 5287417717cae844862ea2702074c038c7a2cd31..3f63c7dd51d5fd022549eae36534ef3351caaf5c 100644 (file)
@@ -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}/"