diff options
author | Carlos Sánchez de La Lama <csanchezdll@gmail.com> | 2025-05-28 20:15:24 +0200 |
---|---|---|
committer | Steve Sakoman <steve@sakoman.com> | 2025-06-11 08:17:34 -0700 |
commit | d802c980449f6911bd11f0db374ab177fd8409d3 (patch) | |
tree | 157987a79573f47bcd03ce5f5661dd8c4c67525c | |
parent | 6341ca8dfc57974d4fd7b7a881579830ac9af78a (diff) | |
download | poky-d802c980449f6911bd11f0db374ab177fd8409d3.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: c9bceea147c807b942ce6bcf085a31d9388ecc79)
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>
-rw-r--r-- | documentation/ref-manual/variables.rst | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/documentation/ref-manual/variables.rst b/documentation/ref-manual/variables.rst index 9591159be7..9406f3548c 100644 --- a/documentation/ref-manual/variables.rst +++ b/documentation/ref-manual/variables.rst | |||
@@ -4808,15 +4808,8 @@ system and gives an overview of their function and contents. | |||
4808 | options not explicitly specified will be disabled in the kernel | 4808 | options not explicitly specified will be disabled in the kernel |
4809 | config. | 4809 | config. |
4810 | 4810 | ||
4811 | In case :term:`KCONFIG_MODE` is not set the behaviour will depend on where | 4811 | In case :term:`KCONFIG_MODE` is not set the ``defconfig`` file |
4812 | the ``defconfig`` file is coming from. An "in-tree" ``defconfig`` file | 4812 | will be handled in ``allnoconfig`` mode. |
4813 | will be handled in ``alldefconfig`` mode, a ``defconfig`` file placed | ||
4814 | in ``${WORKDIR}`` through a meta-layer will be handled in | ||
4815 | ``allnoconfig`` mode. | ||
4816 | |||
4817 | An "in-tree" ``defconfig`` file can be selected via the | ||
4818 | :term:`KBUILD_DEFCONFIG` variable. :term:`KCONFIG_MODE` does not need to | ||
4819 | be explicitly set. | ||
4820 | 4813 | ||
4821 | A ``defconfig`` file compatible with ``allnoconfig`` mode can be | 4814 | A ``defconfig`` file compatible with ``allnoconfig`` mode can be |
4822 | generated by copying the ``.config`` file from a working Linux kernel | 4815 | generated by copying the ``.config`` file from a working Linux kernel |