Return-Path: Received: from smtp2-g21.free.fr (smtp2-g21.free.fr [212.27.42.2]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id EC5DCE014EC for ; Mon, 3 Jun 2013 00:57:53 -0700 (PDT) Received: from servor.local.eukrea.com (unknown [82.240.38.71]) by smtp2-g21.free.fr (Postfix) with ESMTP id C15F74B01CB for ; Mon, 3 Jun 2013 09:57:48 +0200 (CEST) From: =?UTF-8?q?Eric=20B=C3=A9nard?= To: meta-freescale@yoctoproject.org Date: Mon, 3 Jun 2013 09:57:32 +0200 Message-Id: <1370246253-2258-4-git-send-email-eric@eukrea.com> X-Mailer: git-send-email 1.7.11.2.249.g31c7954 In-Reply-To: <1370246253-2258-1-git-send-email-eric@eukrea.com> References: <1370246253-2258-1-git-send-email-eric@eukrea.com> MIME-Version: 1.0 Subject: [meta-fsl-arm][PATCH v6 4/5] layer.conf: handle dynamic layer configuration X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-fsl-* layers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Jun 2013 07:57:55 -0000 Content-Type: text/plain; charset=UTF-8 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 Signed-off-by: Eric Bénard --- 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