diff options
| author | Alexander Kanavin <alex@linutronix.de> | 2024-12-11 14:46:29 +0100 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-12-13 11:11:18 +0000 |
| commit | aadff6930b293da8d5ce312c62b9d63335cde424 (patch) | |
| tree | e8f822acb1d098b30a2ed60c00bf9570d314b444 | |
| parent | 2a5623dddc1f32e918c54bc211fceffca1e61803 (diff) | |
| download | poky-aadff6930b293da8d5ce312c62b9d63335cde424.tar.gz | |
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>
| -rw-r--r-- | meta/conf/bitbake.conf | 3 |
1 files changed, 3 insertions, 0 deletions
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 | |||
| 837 | include conf/licenses.conf | 837 | include conf/licenses.conf |
| 838 | require conf/sanity.conf | 838 | require conf/sanity.conf |
| 839 | include conf/bblock.conf | 839 | 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 | ||
| 840 | 843 | ||
| 841 | ################################################################## | 844 | ################################################################## |
| 842 | # Weak variables (usually to retain backwards compatibility) | 845 | # Weak variables (usually to retain backwards compatibility) |
