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-13 09:01:26 -0700 |
| commit | d87b9163a1c2954bedecc01fb08f7af5ab1ae63d (patch) | |
| tree | 339f554d9aed48f96ec4d432f2c3cba51bc25b0a /documentation/ref-manual | |
| parent | 405103404262527ecb084b960f1364b07ff818ea (diff) | |
| download | poky-d87b9163a1c2954bedecc01fb08f7af5ab1ae63d.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: 77e401de547a67d1654480c3fb8df3693724a69f)
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.rst | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/documentation/ref-manual/variables.rst b/documentation/ref-manual/variables.rst index c0554a90b9..e6be196948 100644 --- a/documentation/ref-manual/variables.rst +++ b/documentation/ref-manual/variables.rst | |||
| @@ -5018,15 +5018,8 @@ system and gives an overview of their function and contents. | |||
| 5018 | options not explicitly specified will be disabled in the kernel | 5018 | options not explicitly specified will be disabled in the kernel |
| 5019 | config. | 5019 | config. |
| 5020 | 5020 | ||
| 5021 | In case :term:`KCONFIG_MODE` is not set the behaviour will depend on where | 5021 | In case :term:`KCONFIG_MODE` is not set the ``defconfig`` file |
| 5022 | the ``defconfig`` file is coming from. An "in-tree" ``defconfig`` file | 5022 | will be handled in ``allnoconfig`` mode. |
| 5023 | will be handled in ``alldefconfig`` mode, a ``defconfig`` file placed | ||
| 5024 | in ``${WORKDIR}`` through a meta-layer will be handled in | ||
| 5025 | ``allnoconfig`` mode. | ||
| 5026 | |||
| 5027 | An "in-tree" ``defconfig`` file can be selected via the | ||
| 5028 | :term:`KBUILD_DEFCONFIG` variable. :term:`KCONFIG_MODE` does not need to | ||
| 5029 | be explicitly set. | ||
| 5030 | 5023 | ||
| 5031 | A ``defconfig`` file compatible with ``allnoconfig`` mode can be | 5024 | A ``defconfig`` file compatible with ``allnoconfig`` mode can be |
| 5032 | generated by copying the ``.config`` file from a working Linux kernel | 5025 | generated by copying the ``.config`` file from a working Linux kernel |
