conf/layer.conf: Use .= to append to BBPATH and += for BBFILES
PATCH 1/1 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 <[email protected]>
--- meta/conf/layer.conf | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-)
meta/conf/layer.conf +2 -3
@@ -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}/"
Signature · 1 line
1.7.4.1
Saul Wold
AppliedQuoted 14 lines · Khem Raj
This helps bitbake in organising BBPATH and BBFILES with given
BBFILE_PRIORITYorderSigned-off-by Khem Raj<[email protected]>--- meta/conf/layer.conf | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-)meta/conf/layer.conf +0
-0@@ -1,9 +1,8 @@ BBPATH ?= ""
meta/conf/layer.conf line 8
Quoted 10 lines
meta/conf/layer.conf +2
-3# 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}/"
Merged into oe-core
Thanks
Sau!