summaryrefslogtreecommitdiffstats
path: root/documentation/dev-manual/bblock.rst
diff options
context:
space:
mode:
authorAntonin Godard <antonin.godard@bootlin.com>2024-11-13 16:28:12 +0100
committerSteve Sakoman <steve@sakoman.com>2024-11-26 05:37:10 -0800
commit4625985c4172c35da018b25a17b2e5ec273927cd (patch)
tree6674d464bb51e5f6838181a4d39465e739b79bbe /documentation/dev-manual/bblock.rst
parentad3e2d15327965d2216fd04b211d937277bd0acc (diff)
downloadpoky-4625985c4172c35da018b25a17b2e5ec273927cd.tar.gz
dev-manual: document how to provide confs from layer.conf
Add a section on providing global level configuration from the layer.conf file. Since this file is parsed at an earlier stage in the parsing process, it's not possible to combine bb.utils.contains and {DISTRO,MACHINE}_FEATURES to conditionally set some configurations. This patch documents: - First that this file can be used for providing such configuration. - Then demonstrate how to conditionally provide them, using a technique that is currently used in meta-virtualization (https://git.yoctoproject.org/meta-virtualization/tree/conf/layer.conf#n50). Fixes [YOCTO #12688]. Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de> (From yocto-docs rev: b73e99b161a11a46a1a96ff42135893e0c978e2a) Signed-off-by: Antonin Godard <antonin.godard@bootlin.com> (cherry picked from commit 31e5bd3e82e11f77da2abd96eb8c17a7c8194b7c) Signed-off-by: Antonin Godard <antonin.godard@bootlin.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'documentation/dev-manual/bblock.rst')
0 files changed, 0 insertions, 0 deletions