diff options
author | Alexander Kanavin <alex@linutronix.de> | 2024-12-27 19:43:52 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-01-03 11:05:03 +0000 |
commit | b1671dac9f96445f8692540f84a49f77e47819ad (patch) | |
tree | 8628ee1a016ac60eb1c5bd2ce5b346dfd18e5b2c /meta/conf | |
parent | 85cbf033b43590ba3440df17bd35de4d8982cec6 (diff) | |
download | poky-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.conf | 8 |
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 | |||
827 | include conf/site.conf | 827 | include conf/site.conf |
828 | include conf/auto.conf | 828 | include conf/auto.conf |
829 | include conf/local.conf | 829 | include conf/local.conf |
830 | |||
831 | OE_FRAGMENTS_PREFIX ?= "conf/fragments" | ||
832 | OE_FRAGMENTS_METADATA_VARS ?= "BB_CONF_FRAGMENT_SUMMARY BB_CONF_FRAGMENT_DESCRIPTION" | ||
833 | addfragments ${OE_FRAGMENTS_PREFIX} OE_FRAGMENTS OE_FRAGMENTS_METADATA_VARS | ||
834 | |||
830 | require conf/multiconfig/${BB_CURRENT_MC}.conf | 835 | require conf/multiconfig/${BB_CURRENT_MC}.conf |
831 | include conf/machine/${MACHINE}.conf | 836 | include conf/machine/${MACHINE}.conf |
832 | include conf/machine-sdk/${SDKMACHINE}.conf | 837 | include conf/machine-sdk/${SDKMACHINE}.conf |
@@ -837,9 +842,6 @@ include conf/documentation.conf | |||
837 | include conf/licenses.conf | 842 | include conf/licenses.conf |
838 | require conf/sanity.conf | 843 | require conf/sanity.conf |
839 | include conf/bblock.conf | 844 | include conf/bblock.conf |
840 | OE_FRAGMENTS_PREFIX ?= "conf/fragments" | ||
841 | OE_FRAGMENTS_METADATA_VARS ?= "BB_CONF_FRAGMENT_SUMMARY BB_CONF_FRAGMENT_DESCRIPTION" | ||
842 | addfragments ${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) |