diff options
author | Fabio Berton <fabio.berton@ossystems.com.br> | 2018-02-23 18:14:52 -0300 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2018-02-28 13:30:37 -0300 |
commit | 0f14c10449c4957ccea8f22cefc9d273473ba7eb (patch) | |
tree | ec95e3226acd2d0c710dcd7012b2e1ef56a2f4a9 | |
parent | 5b8b1140754b7a92b116b899cbc48564d7a6a49f (diff) | |
download | meta-freescale-0f14c10449c4957ccea8f22cefc9d273473ba7eb.tar.gz |
conf/layer.conf: Use BBFILES_DYNAMIC to handle dynamic-layers
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>
-rw-r--r-- | conf/layer.conf | 34 |
1 files changed, 25 insertions, 9 deletions
diff --git a/conf/layer.conf b/conf/layer.conf index 2f8e47d8..52d4acb7 100644 --- a/conf/layer.conf +++ b/conf/layer.conf | |||
@@ -25,12 +25,28 @@ ${IMX_MIRROR} http://download.ossystems.com.br/bsp/freescale/source/ \n \ | |||
25 | ${QORIQ_MIRROR} http://download.ossystems.com.br/bsp/freescale/source/ \n \ | 25 | ${QORIQ_MIRROR} http://download.ossystems.com.br/bsp/freescale/source/ \n \ |
26 | " | 26 | " |
27 | 27 | ||
28 | # The dynamic-layers directory hosts the extensions and layer specific | 28 | BBFILES_DYNAMIC += " \ |
29 | # modifications related to Freescale products. | 29 | browser-layer:${LAYERDIR}/dynamic-layers/browser-layer/*/*/*.bb \ |
30 | # | 30 | browser-layer:${LAYERDIR}/dynamic-layers/browser-layer/*/*/*.bbappend \ |
31 | # The .bbappend and .bb files are included if the respective layer | 31 | \ |
32 | # collection is available. | 32 | efl-layer:${LAYERDIR}/dynamic-layers/efl-layer/*/*/*.bb \ |
33 | BBFILES += "${@' '.join('${LAYERDIR}/dynamic-layers/%s/recipes*/*/*.bbappend' % layer \ | 33 | efl-layer:${LAYERDIR}/dynamic-layers/efl-layer/*/*/*.bbappend \ |
34 | for layer in BBFILE_COLLECTIONS.split())}" | 34 | \ |
35 | BBFILES += "${@' '.join('${LAYERDIR}/dynamic-layers/%s/recipes*/*/*.bb' % layer \ | 35 | filesystem-layer:${LAYERDIR}/dynamic-layers/filesystem-layer/*/*/*.bb \ |
36 | for layer in BBFILE_COLLECTIONS.split())}" | 36 | filesystem-layer:${LAYERDIR}/dynamic-layers/filesystem-layer/*/*/*.bbappend \ |
37 | \ | ||
38 | networking-layer:${LAYERDIR}/dynamic-layers/networking-layer/*/*/*.bb \ | ||
39 | networking-layer:${LAYERDIR}/dynamic-layers/networking-layer/*/*/*.bbappend \ | ||
40 | \ | ||
41 | openembedded-layer:${LAYERDIR}/dynamic-layers/openembedded-layer/*/*/*.bb \ | ||
42 | openembedded-layer:${LAYERDIR}/dynamic-layers/openembedded-layer/*/*/*.bbappend \ | ||
43 | \ | ||
44 | qt4-layer:${LAYERDIR}/dynamic-layers/qt4-layer/*/*/*.bb \ | ||
45 | qt4-layer:${LAYERDIR}/dynamic-layers/qt4-layer/*/*/*.bbappend \ | ||
46 | \ | ||
47 | qt5-layer:${LAYERDIR}/dynamic-layers/qt5-layer/*/*/*.bb \ | ||
48 | qt5-layer:${LAYERDIR}/dynamic-layers/qt5-layer/*/*/*.bbappend \ | ||
49 | \ | ||
50 | virtualization-layer:${LAYERDIR}/dynamic-layers/virtualization-layer/*/*/*.bb \ | ||
51 | virtualization-layer:${LAYERDIR}/dynamic-layers/virtualization-layer/*/*/*.bbappend \ | ||
52 | " | ||