[meta-freescale] [meta-fsl-arm][PATCH v6 4/5] layer.conf: handle dynamic layer configuration
Eric Bénard
eric at eukrea.com
Mon Jun 3 00:57:32 PDT 2013
this patch is taken from :
http://git.yoctoproject.org/cgit/cgit.cgi/meta-mentor/tree/conf/layer.conf#n9,
as suggested by Chris Larson
Signed-off-by: Eric Bénard <eric at eukrea.com>
---
conf/layer.conf | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/conf/layer.conf b/conf/layer.conf
index c4b9cd1..e260e62 100644
--- a/conf/layer.conf
+++ b/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())}"
--
1.7.11.2.249.g31c7954
More information about the meta-freescale
mailing list