summaryrefslogtreecommitdiffstats
path: root/documentation/kernel-dev
diff options
context:
space:
mode:
authorDaniel Wagenknecht <dwagenknecht@emlix.com>2021-05-05 10:57:50 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-05-13 11:28:34 +0100
commite145129aaa7aefd057ba7551445965602447045c (patch)
tree0adfd50c77efee7e69f9e4c7138e3a8f61b88a20 /documentation/kernel-dev
parent0fc54213c235229d82af2a0acb516a14b02d106e (diff)
downloadpoky-e145129aaa7aefd057ba7551445965602447045c.tar.gz
kernel-dev: document KCONFIG_MODE
(From yocto-docs rev: 12aa6f9c6af68ea03fbb056677213b00d693cf5f) Signed-off-by: Daniel Wagenknecht <dwagenknecht@emlix.com> Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Reviewed-by: Quentin Schulz <foss@0leil.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/kernel-dev')
-rw-r--r--documentation/kernel-dev/common.rst9
1 files changed, 9 insertions, 0 deletions
diff --git a/documentation/kernel-dev/common.rst b/documentation/kernel-dev/common.rst
index 3f35d8412f..5935d6f560 100644
--- a/documentation/kernel-dev/common.rst
+++ b/documentation/kernel-dev/common.rst
@@ -650,6 +650,15 @@ extends the :term:`FILESPATH`
650variable (search directories) to include the ``${PN}`` directory you 650variable (search directories) to include the ``${PN}`` directory you
651created to hold the configuration changes. 651created to hold the configuration changes.
652 652
653You can also use a regular ``defconfig`` file, as generated by the
654:ref:`ref-tasks-savedefconfig`
655task instead of a complete ``.config`` file. This only specifies the
656non-default configuration values. You need to additionally set
657:term:`KCONFIG_MODE`
658in the linux-yocto ``.bbappend`` file in your layer::
659
660 KCONFIG_MODE = "alldefconfig"
661
653.. note:: 662.. note::
654 663
655 The build system applies the configurations from the ``defconfig`` 664 The build system applies the configurations from the ``defconfig``