diff options
author | Antonin Godard <antonin.godard@bootlin.com> | 2024-11-13 16:28:12 +0100 |
---|---|---|
committer | Steve Sakoman <steve@sakoman.com> | 2024-11-18 06:59:35 -0800 |
commit | bc6bd220a0cdc98e5d46319c6a091a44740a3e7a (patch) | |
tree | eeb2e7b66719f0351c97eef9eb8f01c7b2a9c852 /documentation/conf.py | |
parent | a9cdf867e4ea3f6606b7711333b3266cac5ca9fb (diff) | |
download | poky-bc6bd220a0cdc98e5d46319c6a091a44740a3e7a.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: 36f2a230ca810b1dd221b7c8ce71e8086291131a)
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/conf.py')
0 files changed, 0 insertions, 0 deletions