summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarlos Sánchez de La Lama <csanchezdll@gmail.com>2025-05-28 20:15:24 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-06-06 22:22:43 +0100
commit7b5409b811ad41373834b888bf1a1e0ec2187cd8 (patch)
tree3f184dd44c3f09815ad05f79701ff76655979b5b
parentbe420892fead12b25aed1217cf8e2d4416052b6a (diff)
downloadpoky-7b5409b811ad41373834b888bf1a1e0ec2187cd8.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: f374b9c426f6c10710e011a4ad660231ee26efb8) Signed-off-by: Carlos Sánchez de La Lama <csanchezdll@gmail.com> Signed-off-by: Antonin Godard <antonin.godard@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-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 9768d8f5b8..5c18b852d1 100644
--- a/documentation/ref-manual/variables.rst
+++ b/documentation/ref-manual/variables.rst
@@ -5036,15 +5036,8 @@ system and gives an overview of their function and contents.
5036 options not explicitly specified will be disabled in the kernel 5036 options not explicitly specified will be disabled in the kernel
5037 config. 5037 config.
5038 5038
5039 In case :term:`KCONFIG_MODE` is not set the behaviour will depend on where 5039 In case :term:`KCONFIG_MODE` is not set the ``defconfig`` file
5040 the ``defconfig`` file is coming from. An "in-tree" ``defconfig`` file 5040 will be handled in ``allnoconfig`` mode.
5041 will be handled in ``alldefconfig`` mode, a ``defconfig`` file placed
5042 in ``${WORKDIR}`` through a meta-layer will be handled in
5043 ``allnoconfig`` mode.
5044
5045 An "in-tree" ``defconfig`` file can be selected via the
5046 :term:`KBUILD_DEFCONFIG` variable. :term:`KCONFIG_MODE` does not need to
5047 be explicitly set.
5048 5041
5049 A ``defconfig`` file compatible with ``allnoconfig`` mode can be 5042 A ``defconfig`` file compatible with ``allnoconfig`` mode can be
5050 generated by copying the ``.config`` file from a working Linux kernel 5043 generated by copying the ``.config`` file from a working Linux kernel