]> code.ossystems Code Review - meta-freescale.git/commitdiff
layer.conf: handle dynamic layer configuration
authorEric BENARD <eric@eukrea.com>
Mon, 3 Jun 2013 07:57:32 +0000 (07:57 +0000)
committerOtavio Salvador <otavio@ossystems.com.br>
Mon, 29 Jul 2013 16:18:04 +0000 (13:18 -0300)
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 <eric@eukrea.com>
meta-fsl-arm/conf/layer.conf

index c4b9cd17c51841f46e45454a5f8d6e582080af06..e260e623b2541e79903ab24e3da30a2c244393ba 100644 (file)
@@ -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())}"