diff mbox series

bitbake.conf: Allow fragments after the distro is included

Message ID 20261201170430.315323-1-richard.purdie@linuxfoundation.org
State New
Headers show
Series bitbake.conf: Allow fragments after the distro is included | expand

Commit Message

Richard Purdie Dec. 1, 2026, 5:04 p.m. UTC
Allowing the distro to add config fragments is useful. Bitbake now allows
a second addfragments call so do this.

Previously this was hard as the distro can also be set by a fragment.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
 meta/conf/bitbake.conf | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index 4a28b619c12..24a0c74c4bb 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -812,6 +812,7 @@  include conf/machine/${MACHINE}.conf
 include conf/machine-sdk/${SDKMACHINE}.conf
 require conf/cve-check-map.conf
 include conf/distro/${DISTRO}.conf
+addfragments ${OE_FRAGMENTS_PREFIX} OE_FRAGMENTS OE_FRAGMENTS_METADATA_VARS OE_FRAGMENTS_BUILTIN
 include conf/distro/defaultsetup.conf
 include conf/documentation.conf
 include conf/licenses.conf