]> code.ossystems Code Review - meta-freescale.git/commitdiff
conf/layer.conf: Use BBFILES_DYNAMIC to handle dynamic-layers
authorFabio Berton <fabio.berton@ossystems.com.br>
Fri, 23 Feb 2018 21:14:52 +0000 (18:14 -0300)
committerOtavio Salvador <otavio@ossystems.com.br>
Wed, 28 Feb 2018 16:30:37 +0000 (13:30 -0300)
Bitbake commit 04f8bd50aa04b12cf91dd6a3154527ad2c24695c introduced
BBFILES_DYNAMIC, that can be used to activate content only when some other
layers are present. This BBFILES_DYNAMIC can be used to handle meta-freescale
dynamic-layers.

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
conf/layer.conf

index 2f8e47d84a7cf67ae690a1c8c771b76d6d1f5d06..52d4acb7899416d6c84aa25e85ade11a8d88d90f 100644 (file)
@@ -25,12 +25,28 @@ ${IMX_MIRROR}   http://download.ossystems.com.br/bsp/freescale/source/ \n \
 ${QORIQ_MIRROR} http://download.ossystems.com.br/bsp/freescale/source/ \n \
 "
 
-# The dynamic-layers directory hosts the extensions and layer specific
-# modifications related to Freescale products.
-#
-# The .bbappend and .bb files are included if the respective layer
-# collection is available.
-BBFILES += "${@' '.join('${LAYERDIR}/dynamic-layers/%s/recipes*/*/*.bbappend' % layer \
-               for layer in BBFILE_COLLECTIONS.split())}"
-BBFILES += "${@' '.join('${LAYERDIR}/dynamic-layers/%s/recipes*/*/*.bb' % layer \
-               for layer in BBFILE_COLLECTIONS.split())}"
+BBFILES_DYNAMIC += " \
+    browser-layer:${LAYERDIR}/dynamic-layers/browser-layer/*/*/*.bb \
+    browser-layer:${LAYERDIR}/dynamic-layers/browser-layer/*/*/*.bbappend \
+    \
+    efl-layer:${LAYERDIR}/dynamic-layers/efl-layer/*/*/*.bb \
+    efl-layer:${LAYERDIR}/dynamic-layers/efl-layer/*/*/*.bbappend \
+    \
+    filesystem-layer:${LAYERDIR}/dynamic-layers/filesystem-layer/*/*/*.bb \
+    filesystem-layer:${LAYERDIR}/dynamic-layers/filesystem-layer/*/*/*.bbappend \
+    \
+    networking-layer:${LAYERDIR}/dynamic-layers/networking-layer/*/*/*.bb \
+    networking-layer:${LAYERDIR}/dynamic-layers/networking-layer/*/*/*.bbappend \
+    \
+    openembedded-layer:${LAYERDIR}/dynamic-layers/openembedded-layer/*/*/*.bb \
+    openembedded-layer:${LAYERDIR}/dynamic-layers/openembedded-layer/*/*/*.bbappend \
+    \
+    qt4-layer:${LAYERDIR}/dynamic-layers/qt4-layer/*/*/*.bb \
+    qt4-layer:${LAYERDIR}/dynamic-layers/qt4-layer/*/*/*.bbappend \
+    \
+    qt5-layer:${LAYERDIR}/dynamic-layers/qt5-layer/*/*/*.bb \
+    qt5-layer:${LAYERDIR}/dynamic-layers/qt5-layer/*/*/*.bbappend \
+    \
+    virtualization-layer:${LAYERDIR}/dynamic-layers/virtualization-layer/*/*/*.bb \
+    virtualization-layer:${LAYERDIR}/dynamic-layers/virtualization-layer/*/*/*.bbappend \
+"