From ed305be07d82885d6122b91e5e231ec573e2c747 Mon Sep 17 00:00:00 2001 From: Eric BENARD Date: Mon, 3 Jun 2013 07:57:32 +0000 Subject: [PATCH] layer.conf: handle dynamic layer configuration MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 --- meta-fsl-arm/conf/layer.conf | 5 +++++ 1 file changed, 5 insertions(+) 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())}" -- 2.40.1