mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 00:20:08 +00:00
bitbake-config-build: add a plugin for config fragments
This allows fine-tuning local configurations with pre-frabricated configuration snippets in a structured, controlled way. It's also an important building block for bitbake-setup. The tool requires that each fragment contains a one-line summary, and one or more lines of description, as BB_CONF_FRAGMENT_SUMMARY style metadata. There are three (and a half) operations (list/enable/disable/disable all), and here's the 'list' output: alex@Zen2:/srv/storage/alex/yocto/build-64$ bitbake-config-build list-fragments NOTE: Starting bitbake server... Available fragments in selftest layer located in /srv/work/alex/poky/meta-selftest: Enabled fragments: selftest/test-fragment This is a configuration fragment intended for testing in oe-selftest context Unused fragments: selftest/more-fragments-here/test-another-fragment This is a second configuration fragment intended for testing in oe-selftest context (From OE-Core rev: fdb611e13bd7aa00360d3a68e4818ef5f05c8944) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
aadff6930b
commit
22f046d67c
@@ -0,0 +1,3 @@
|
||||
BB_CONF_FRAGMENT_SUMMARY = "This is a second configuration fragment intended for testing in oe-selftest context"
|
||||
BB_CONF_FRAGMENT_DESCRIPTION = "It defines another variable that can be checked inside the test."
|
||||
SELFTEST_FRAGMENT_ANOTHER_VARIABLE = "someothervalue"
|
||||
@@ -0,0 +1,3 @@
|
||||
BB_CONF_FRAGMENT_SUMMARY = "This is a configuration fragment intended for testing in oe-selftest context"
|
||||
BB_CONF_FRAGMENT_DESCRIPTION = "It defines a variable that can be checked inside the test."
|
||||
SELFTEST_FRAGMENT_VARIABLE = "somevalue"
|
||||
Reference in New Issue
Block a user