diff options
author | Sinan Kaya <okaya@kernel.org> | 2021-08-17 15:09:57 +0000 |
---|---|---|
committer | Joshua Watt <JPEWhacker@gmail.com> | 2021-08-17 10:59:32 -0500 |
commit | 39ba304a53423852621817717031a5ec3b473436 (patch) | |
tree | 426acbd87309f3a5566a5aeb0aa88a0541ed97b4 | |
parent | ec3a9c04d3e50d10a6fa7115035becd3d4559427 (diff) | |
download | meta-mingw-39ba304a53423852621817717031a5ec3b473436.tar.gz |
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 <okaya@kernel.org>
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
-rw-r--r-- | conf/layer.conf | 7 |
1 files changed, 6 insertions, 1 deletions
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}" | |||
3 | 3 | ||
4 | # We have a packages directory, add to BBFILES | 4 | # We have a packages directory, add to BBFILES |
5 | BBFILES += "${LAYERDIR}/recipes*/*/*.bb ${LAYERDIR}/recipes*/*/*.bbappend" | 5 | BBFILES += "${LAYERDIR}/recipes*/*/*.bb ${LAYERDIR}/recipes*/*/*.bbappend" |
6 | BBFILES_DYNAMIC += "\ | ||
7 | openembedded-layer:${LAYERDIR}/dynamic-layers/openembedded-layer/recipes-*/*/*.bb \ | ||
8 | openembedded-layer:${LAYERDIR}/dynamic-layers/openembedded-layer/recipes-*/*/*.bbappend \ | ||
9 | " | ||
6 | 10 | ||
7 | BBFILE_COLLECTIONS += "meta-mingw" | 11 | BBFILE_COLLECTIONS += "meta-mingw" |
8 | BBFILE_PATTERN_meta-mingw := "^${LAYERDIR}/" | 12 | BBFILE_PATTERN_meta-mingw := "^${LAYERDIR}/" |
@@ -10,4 +14,5 @@ BBFILE_PRIORITY_meta-mingw = "8" | |||
10 | 14 | ||
11 | LAYERDEPENDS_meta-mingw = "core" | 15 | LAYERDEPENDS_meta-mingw = "core" |
12 | 16 | ||
13 | LAYERSERIES_COMPAT_meta-mingw = "honister" \ No newline at end of file | 17 | LAYERSERIES_COMPAT_meta-mingw = "honister" |
18 | |||