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 <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Alexander Kanavin 2024-12-11 14:46:29 +01:00 committed by Richard Purdie
parent 2a5623dddc
commit aadff6930b

View File

@ -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)