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

Submitted by Otavio Salvador on June 7, 2013, 3:27 p.m.

Details

Message ID 1370618857-27287-15-git-send-email-otavio@ossystems.com.br
State Changes Requested, archived
Delegated to: Otavio Salvador
Headers show

Commit Message

Otavio Salvador June 7, 2013, 3:27 p.m.
From: Eric BENARD <eric@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@eukrea.com>
---
 conf/layer.conf | 5 +++++
 1 file changed, 5 insertions(+)

Patch hide | download patch | download mbox

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())}"