From: Eric BENARD Date: Mon, 3 Jun 2013 07:57:32 +0000 (+0000) Subject: layer.conf: handle dynamic layer configuration X-Git-Tag: 2.1~1286 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=ed305be07d82885d6122b91e5e231ec573e2c747;p=meta-freescale.git layer.conf: handle dynamic layer configuration this patch is taken from : http://git.yoctoproject.org/cgit/cgit.cgi/meta-mentor/tree/conf/layer.conf#n9, as suggested by Chris Larson Change-Id: I6b8900c595708d19543c0aa059e37f77c09e32db Signed-off-by: Eric Bénard --- diff --git a/meta-fsl-arm/conf/layer.conf b/meta-fsl-arm/conf/layer.conf index c4b9cd17..e260e623 100644 --- a/meta-fsl-arm/conf/layer.conf +++ b/meta-fsl-arm/conf/layer.conf @@ -16,3 +16,8 @@ FSL_MIRROR ?= "http://www.freescale.com/lgfiles/NMG/MAD/YOCTO/" MIRRORS += " \ ${FSL_MIRROR} http://download.ossystems.com.br/bsp/freescale/source/ \n \ " + +# Let us add layer-specific bbappends which are only applied when that +# layer is included in our configuration +BBFILES += "${@' '.join('${LAYERDIR}/%s/recipes*/*/*.bbappend' % layer \ + for layer in BBFILE_COLLECTIONS.split())}"