diff mbox series

[v3,1/2] conf: layer: add dynamic-layers folder in meta-arm

Message ID 20230425133857.27753-1-peron.clem@gmail.com
State New
Headers show
Series [v3,1/2] conf: layer: add dynamic-layers folder in meta-arm | expand

Commit Message

Clément Péron April 25, 2023, 1:38 p.m. UTC
Gator-daemon recipe will require libmxml which is present in meta-oe.

Prepare for dynamic-folder support so only people that have meta-oe
present in their configuration will be able to compile this recipe.

Signed-off-by: Clément Péron <peron.clem@gmail.com>
---
 meta-arm/conf/layer.conf | 6 ++++++
 1 file changed, 6 insertions(+)
diff mbox series

Patch

diff --git a/meta-arm/conf/layer.conf b/meta-arm/conf/layer.conf
index 2b354375..fb121888 100644
--- a/meta-arm/conf/layer.conf
+++ b/meta-arm/conf/layer.conf
@@ -15,6 +15,12 @@  LAYERDEPENDS_meta-arm = " \
 "
 LAYERSERIES_COMPAT_meta-arm = "mickledore"
 
+# Add layer-specific .bb/.bbappends
+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())}"
+
 # runfvp --console needs telnet, so pull this in for testimage.
 HOSTTOOLS_NONFATAL += "telnet"