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