From 39ba304a53423852621817717031a5ec3b473436 Mon Sep 17 00:00:00 2001 From: Sinan Kaya Date: Tue, 17 Aug 2021 15:09:57 +0000 Subject: conf/layer.conf: use BBFILES_DYNAMIC for dynamic layers Add a dynamic BBFILES pattern so that patches for openembedded-layer are conditionally applied only if meta-oe is present. Signed-off-by: Sinan Kaya Signed-off-by: Joshua Watt --- conf/layer.conf | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/conf/layer.conf b/conf/layer.conf index 5fefa73..0180424 100644 --- a/conf/layer.conf +++ b/conf/layer.conf @@ -3,6 +3,10 @@ BBPATH := "${BBPATH}:${LAYERDIR}" # We have a packages directory, add to BBFILES BBFILES += "${LAYERDIR}/recipes*/*/*.bb ${LAYERDIR}/recipes*/*/*.bbappend" +BBFILES_DYNAMIC += "\ + openembedded-layer:${LAYERDIR}/dynamic-layers/openembedded-layer/recipes-*/*/*.bb \ + openembedded-layer:${LAYERDIR}/dynamic-layers/openembedded-layer/recipes-*/*/*.bbappend \ +" BBFILE_COLLECTIONS += "meta-mingw" BBFILE_PATTERN_meta-mingw := "^${LAYERDIR}/" @@ -10,4 +14,5 @@ BBFILE_PRIORITY_meta-mingw = "8" LAYERDEPENDS_meta-mingw = "core" -LAYERSERIES_COMPAT_meta-mingw = "honister" \ No newline at end of file +LAYERSERIES_COMPAT_meta-mingw = "honister" + -- cgit v1.2.3-54-g00ecf