[meta-freescale] [meta-fsl-arm PATCH v2 14/15] layer.conf: handle dynamic layer configuration

Otavio Salvador otavio at ossystems.com.br
Fri Jun 7 08:27:36 PDT 2013


From: Eric BENARD <eric at eukrea.com>

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.8.1




More information about the meta-freescale mailing list