summaryrefslogtreecommitdiffstats
path: root/documentation/ref-manual
diff options
context:
space:
mode:
authorCarlos Sánchez de La Lama <csanchezdll@gmail.com>2025-05-28 20:15:24 +0200
committerSteve Sakoman <steve@sakoman.com>2025-06-13 08:42:36 -0700
commit1df4bec5eb85ddadcd7171047be0a70e494aec23 (patch)
tree4d6b7ba5fef7f108af79c4292bdac070cf926817 /documentation/ref-manual
parenta2dd4be796d32a756ac414d925b06046dc0446a0 (diff)
downloadpoky-1df4bec5eb85ddadcd7171047be0a70e494aec23.tar.gz
ref-manual: clarify KCONFIG_MODE default behaviour
KCONFIG_MODE defaults to 'allnoconfig' when not set, regardless of whether KBUILD_DEFCONFIG points to an in-tree or a meta-layer defconfig. (From yocto-docs rev: 5a35f8bd19cca200c6b271f049fb94543de79f06) Signed-off-by: Carlos Sánchez de La Lama <csanchezdll@gmail.com> Signed-off-by: Antonin Godard <antonin.godard@bootlin.com> (cherry picked from commit f374b9c426f6c10710e011a4ad660231ee26efb8) Signed-off-by: Antonin Godard <antonin.godard@bootlin.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'documentation/ref-manual')
-rw-r--r--documentation/ref-manual/variables.rst11
1 files changed, 2 insertions, 9 deletions
diff --git a/documentation/ref-manual/variables.rst b/documentation/ref-manual/variables.rst
index eb174afe53..6ec9866063 100644
--- a/documentation/ref-manual/variables.rst
+++ b/documentation/ref-manual/variables.rst
@@ -4277,15 +4277,8 @@ system and gives an overview of their function and contents.
4277 options not explicitly specified will be disabled in the kernel 4277 options not explicitly specified will be disabled in the kernel
4278 config. 4278 config.
4279 4279
4280 In case :term:`KCONFIG_MODE` is not set the behaviour will depend on where 4280 In case :term:`KCONFIG_MODE` is not set the ``defconfig`` file
4281 the ``defconfig`` file is coming from. An "in-tree" ``defconfig`` file 4281 will be handled in ``allnoconfig`` mode.
4282 will be handled in ``alldefconfig`` mode, a ``defconfig`` file placed
4283 in ``${WORKDIR}`` through a meta-layer will be handled in
4284 ``allnoconfig`` mode.
4285
4286 An "in-tree" ``defconfig`` file can be selected via the
4287 :term:`KBUILD_DEFCONFIG` variable. :term:`KCONFIG_MODE` does not need to
4288 be explicitly set.
4289 4282
4290 A ``defconfig`` file compatible with ``allnoconfig`` mode can be 4283 A ``defconfig`` file compatible with ``allnoconfig`` mode can be
4291 generated by copying the ``.config`` file from a working Linux kernel 4284 generated by copying the ``.config`` file from a working Linux kernel