mirror of
https://git.yoctoproject.org/poky
synced 2026-01-29 21:08:42 +01:00
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>
This commit is contained in:
committed by
Steve Sakoman
parent
6341ca8dfc
commit
d802c98044
@@ -4808,15 +4808,8 @@ system and gives an overview of their function and contents.
|
|||||||
options not explicitly specified will be disabled in the kernel
|
options not explicitly specified will be disabled in the kernel
|
||||||
config.
|
config.
|
||||||
|
|
||||||
In case :term:`KCONFIG_MODE` is not set the behaviour will depend on where
|
In case :term:`KCONFIG_MODE` is not set the ``defconfig`` file
|
||||||
the ``defconfig`` file is coming from. An "in-tree" ``defconfig`` file
|
will be handled in ``allnoconfig`` mode.
|
||||||
will be handled in ``alldefconfig`` mode, a ``defconfig`` file placed
|
|
||||||
in ``${WORKDIR}`` through a meta-layer will be handled in
|
|
||||||
``allnoconfig`` mode.
|
|
||||||
|
|
||||||
An "in-tree" ``defconfig`` file can be selected via the
|
|
||||||
:term:`KBUILD_DEFCONFIG` variable. :term:`KCONFIG_MODE` does not need to
|
|
||||||
be explicitly set.
|
|
||||||
|
|
||||||
A ``defconfig`` file compatible with ``allnoconfig`` mode can be
|
A ``defconfig`` file compatible with ``allnoconfig`` mode can be
|
||||||
generated by copying the ``.config`` file from a working Linux kernel
|
generated by copying the ``.config`` file from a working Linux kernel
|
||||||
|
|||||||
Reference in New Issue
Block a user