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>
This commit is contained in:
Khem Raj 2011-05-05 22:00:53 -07:00 committed by Richard Purdie
parent 605141a934
commit 25f4a0e362
1 changed files with 2 additions and 3 deletions

View 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}/"