Explorar o código

layer.conf: do not force early expansion of BBFILES

The BBFILES expression is forcing an early expansion which
results in the BBFILE_COLLECTIONS references in BBFILES being
expanded before all the layers were added to it.

Signed-off-by: Chris Larson <Chris_Larson@mentor.com>
Tested-by: Cedric Hombourger <Cedric_Hombourger@mentor.com>
Signed-off-by: Noor Ahsan <noor_ahsan@mentor.com>
Cedric Hombourger %!s(int64=7) %!d(string=hai) anos
pai
achega
5be64aebb2
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      conf/layer.conf

+ 2 - 2
conf/layer.conf

@@ -1,8 +1,8 @@
 # We have a conf and classes directory, add to BBPATH
-BBPATH := "${BBPATH}:${LAYERDIR}"
+BBPATH .= ":${LAYERDIR}"
 
 # We have a recipes directory, add to BBFILES
-BBFILES := "${BBFILES} ${LAYERDIR}/recipes-*/*/*.bb \
+BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \
 	${LAYERDIR}/recipes-*/*/*.bbappend"
 
 BBFILE_COLLECTIONS += "swupdate"