From aadff6930b293da8d5ce312c62b9d63335cde424 Mon Sep 17 00:00:00 2001 From: Alexander Kanavin Date: Wed, 11 Dec 2024 14:46:29 +0100 Subject: [PATCH] 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. (From OE-Core rev: 5bdbabd7b5d244a44c33065b04dd76dad76888a8) Signed-off-by: Alexander Kanavin Signed-off-by: Richard Purdie --- meta/conf/bitbake.conf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf index 1d2c2e0022..0ed0766cd2 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)