ref-manual: clarify KCONFIG_MODE default behaviour
PATCH 1/1 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.
---
Previous discussion:
https://lore.kernel.org/yocto/CA+KcR8ARBUj8PTcvA=rx-yob=WHYcS2gUnGX2aROOjy6bZGqWw@mail.gmail.com/
documentation/ref-manual/variables.rst | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-)
documentation/ref-manual/variables.rst +2 -9
@@ -5036,15 +5036,8 @@ system and gives an overview of their function and contents. options not explicitly specified will be disabled in the kernel config. - In case :term:`KCONFIG_MODE` is not set the behaviour will depend on where - the ``defconfig`` file is coming from. An "in-tree" ``defconfig`` file - 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. + In case :term:`KCONFIG_MODE` is not set the ``defconfig`` file + will be handled in ``allnoconfig`` mode. A ``defconfig`` file compatible with ``allnoconfig`` mode can be generated by copying the ``.config`` file from a working Linux kernel
Hi,
@Bruce (now in To) I see this was agreed on on the ML, can you provide feedback on this patch maybe? Thanks!
This patch seems reasonable to me but would rather have a second opinion from the maintainer of the recipe/class :)
Cheers,
Quentin
Quoted 48 lines · Carlos Sánchez de La Lama via lists.yoctoproject.org
[You don't often get email from [email protected]. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ]
KCONFIG_MODEdefaults to 'allnoconfig' when not set, regardless of whetherKBUILD_DEFCONFIGpoints to an in-tree or a meta-layer defconfig.Signed-off-by Carlos Sánchez de La Lama <[email protected]>---
Previous discussion:
https://lore.kernel.org/yocto/CA+KcR8ARBUj8PTcvA=rx-yob=WHYcS2gUnGX2aROOjy6bZGqWw@mail.gmail.com/documentation/ref-manual/variables.rst | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-)documentation/ref-manual/variables.rst +2
-10@@ -5036,15 +5036,8 @@ system and gives an overview of their function and contents. options not explicitly specified will be disabled in the kernel config. - In case :term:`KCONFIG_MODE` is not set the behaviour will depend on where - the ``defconfig`` file is coming from. An "in-tree" ``defconfig`` file - 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. + In case :term:`KCONFIG_MODE` is not set the ``defconfig`` file + will be handled in ``allnoconfig`` mode. A ``defconfig`` file compatible with ``allnoconfig`` mode can be generated by copying the ``.config`` file from a working Linux kernel -=-=-=-=-=-=-=-=-=-=-=-Links: You receive all messages sent to this group.
View/Reply Online (#6946): https://lists.yoctoproject.org/g/docs/message/6946
Mute This Topic: https://lists.yoctoproject.org/mt/113349230/6293953
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/docs/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Antonin Godard
AppliedQuoted 4 lines · Carlos Sánchez de La Lama
KCONFIG_MODEdefaults to 'allnoconfig' when not set, regardless of whetherKBUILD_DEFCONFIGpoints to an in-tree or a meta-layer defconfig.
Applied, thanks!
[1/1] ref-manual: clarify KCONFIG_MODE default behaviour
commit: f374b9c426f6c10710e011a4ad660231ee26efb8
Best regards,
Signature · 1 line
Antonin Godard <[email protected]>