From patchwork Fri May 6 05:00:53 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: conf/layer.conf: Use .= to append to BBPATH and += for BBFILES Date: Fri, 06 May 2011 05:00:53 -0000 From: Khem Raj X-Patchwork-Id: 3289 Message-Id: <1304658053-15502-1-git-send-email-raj.khem@gmail.com> To: OE core This helps bitbake in organising BBPATH and BBFILES with given BBFILE_PRIORITY order Signed-off-by: Khem Raj --- 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}/"