From: "Sinan Kaya" <okaya@kernel.org>
To: yocto@lists.yoctoproject.org
Cc: jpewhacker@gmail.com, Sinan Kaya <okaya@kernel.org>
Subject: [meta-mingw] [PATCH v3 5/5] conf/layer.conf: use BBFILES_DYNAMIC for dynamic layers
Date: Tue, 17 Aug 2021 15:09:57 +0000 [thread overview]
Message-ID: <20210817150957.18246-5-okaya@kernel.org> (raw)
In-Reply-To: <20210817150957.18246-1-okaya@kernel.org>
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>
---
conf/layer.conf | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/conf/layer.conf b/conf/layer.conf
index 5fefa73..d4823fc 100644
--- a/conf/layer.conf
+++ b/conf/layer.conf
@@ -3,6 +3,12 @@ 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 +16,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"
+
--
2.17.1
next prev parent reply other threads:[~2021-08-17 15:10 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-17 15:09 [meta-mingw] [PATCH v3 1/5] protobuf: static link tools when generating sdk Sinan Kaya
2021-08-17 15:09 ` [meta-mingw] [PATCH v3 2/5] protobuf-c: static link " Sinan Kaya
2021-08-17 15:09 ` [meta-mingw] [PATCH v3 3/5] grpc: static link tools when generating SDK Sinan Kaya
2021-08-17 15:09 ` [meta-mingw] [PATCH v3 4/5] abseil-cpp: disable shared build as it is broken Sinan Kaya
2021-08-17 15:09 ` Sinan Kaya [this message]
2021-08-17 16:01 ` [meta-mingw] [PATCH v3 1/5] protobuf: static link tools when generating sdk Joshua Watt
2021-08-17 16:29 ` Sinan Kaya
2021-08-17 18:10 ` Joshua Watt
2021-08-17 18:15 ` Sinan Kaya
2021-08-17 18:19 ` Joshua Watt
2021-08-17 18:38 ` Sinan Kaya
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210817150957.18246-5-okaya@kernel.org \
--to=okaya@kernel.org \
--cc=jpewhacker@gmail.com \
--cc=yocto@lists.yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox