From: Alexander Kanavin Date: Wed, 11 Dec 2024 13:46:29 +0000 (+0100) Subject: bitbake.conf: add an addfragments directive for oe-core and dependent layers X-Git-Tag: yocto-5.2~1005 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5bdbabd7b5d244a44c33065b04dd76dad76888a8;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git bitbake.conf: add an addfragments directive for oe-core and dependent layers 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 Signed-off-by: Richard Purdie --- diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf index 1d2c2e0022b..0ed0766cd2f 100644 --- a/meta/conf/bitbake.conf +++ b/meta/conf/bitbake.conf @@ -837,6 +837,9 @@ include conf/documentation.conf include conf/licenses.conf require conf/sanity.conf include conf/bblock.conf +OE_FRAGMENTS_PREFIX ?= "conf/fragments" +OE_FRAGMENTS_METADATA_VARS ?= "BB_CONF_FRAGMENT_SUMMARY BB_CONF_FRAGMENT_DESCRIPTION" +addfragments ${OE_FRAGMENTS_PREFIX} OE_FRAGMENTS OE_FRAGMENTS_METADATA_VARS ################################################################## # Weak variables (usually to retain backwards compatibility)