summaryrefslogtreecommitdiffstats
path: root/meta/conf
diff options
context:
space:
mode:
authorAlexander Kanavin <alex@linutronix.de>2024-12-27 19:43:52 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-01-03 11:05:03 +0000
commitb1671dac9f96445f8692540f84a49f77e47819ad (patch)
tree8628ee1a016ac60eb1c5bd2ce5b346dfd18e5b2c /meta/conf
parent85cbf033b43590ba3440df17bd35de4d8982cec6 (diff)
downloadpoky-b1671dac9f96445f8692540f84a49f77e47819ad.tar.gz
conf/bitbake.conf: move addfragments to just after the local.conf include
There was a report that the existing addfragments statement comes in too late, specifically after the DISTRO/MACHINE includes have already been handled. The goal for fragments content is to behave exactly like the settings in local.conf would and so we need to handle the fragments just after that file. (From OE-Core rev: e820fa96d078478ea3510164373989090e8c9419) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/conf')
-rw-r--r--meta/conf/bitbake.conf8
1 files changed, 5 insertions, 3 deletions
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index 0ed0766cd2..16e4f4429f 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -827,6 +827,11 @@ require conf/abi_version.conf
827include conf/site.conf 827include conf/site.conf
828include conf/auto.conf 828include conf/auto.conf
829include conf/local.conf 829include conf/local.conf
830
831OE_FRAGMENTS_PREFIX ?= "conf/fragments"
832OE_FRAGMENTS_METADATA_VARS ?= "BB_CONF_FRAGMENT_SUMMARY BB_CONF_FRAGMENT_DESCRIPTION"
833addfragments ${OE_FRAGMENTS_PREFIX} OE_FRAGMENTS OE_FRAGMENTS_METADATA_VARS
834
830require conf/multiconfig/${BB_CURRENT_MC}.conf 835require conf/multiconfig/${BB_CURRENT_MC}.conf
831include conf/machine/${MACHINE}.conf 836include conf/machine/${MACHINE}.conf
832include conf/machine-sdk/${SDKMACHINE}.conf 837include conf/machine-sdk/${SDKMACHINE}.conf
@@ -837,9 +842,6 @@ include conf/documentation.conf
837include conf/licenses.conf 842include conf/licenses.conf
838require conf/sanity.conf 843require conf/sanity.conf
839include conf/bblock.conf 844include conf/bblock.conf
840OE_FRAGMENTS_PREFIX ?= "conf/fragments"
841OE_FRAGMENTS_METADATA_VARS ?= "BB_CONF_FRAGMENT_SUMMARY BB_CONF_FRAGMENT_DESCRIPTION"
842addfragments ${OE_FRAGMENTS_PREFIX} OE_FRAGMENTS OE_FRAGMENTS_METADATA_VARS
843 845
844################################################################## 846##################################################################
845# Weak variables (usually to retain backwards compatibility) 847# Weak variables (usually to retain backwards compatibility)