Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 1/2] bitbake.conf: add an addfragments directive for oe-core and dependent layers
@ 2024-11-14 11:10 Alexander Kanavin
  2024-11-14 11:11 ` [PATCH 2/2] bitbake-config-build: add a plugin for config fragments Alexander Kanavin
  2024-11-15 12:44 ` [OE-core] [PATCH 1/2] bitbake.conf: add an addfragments directive for oe-core and dependent layers Mathieu Dubois-Briand
  0 siblings, 2 replies; 7+ messages in thread
From: Alexander Kanavin @ 2024-11-14 11:10 UTC (permalink / raw)
  To: openembedded-core; +Cc: Alexander Kanavin

From: Alexander Kanavin <alex@linutronix.de>

Please see the patch to bitbake for syntax and implementation details.

The path prefix to fragments is in its own variable so it doesn't have
to be hardcoded into tools.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
---
 meta/conf/bitbake.conf | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index 02bbf0e7a52..b6013f66e26 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -836,6 +836,8 @@ include conf/documentation.conf
 include conf/licenses.conf
 require conf/sanity.conf
 include conf/bblock.conf
+OE_FRAGMENTS_PREFIX ?= "conf/fragments"
+addfragments ${OE_FRAGMENTS_PREFIX} OE_FRAGMENTS
 
 ##################################################################
 # Weak variables (usually to retain backwards compatibility)
-- 
2.39.5



^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2024-11-15 14:53 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-14 11:10 [PATCH 1/2] bitbake.conf: add an addfragments directive for oe-core and dependent layers Alexander Kanavin
2024-11-14 11:11 ` [PATCH 2/2] bitbake-config-build: add a plugin for config fragments Alexander Kanavin
2024-11-14 11:16   ` Patchtest results for " patchtest
2024-11-14 13:20   ` [OE-core] " Mathieu Dubois-Briand
2024-11-14 13:33     ` Alexander Kanavin
2024-11-15 12:44 ` [OE-core] [PATCH 1/2] bitbake.conf: add an addfragments directive for oe-core and dependent layers Mathieu Dubois-Briand
2024-11-15 14:52   ` Alexander Kanavin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox