summaryrefslogtreecommitdiffstats
path: root/documentation
diff options
context:
space:
mode:
authorAdam Blank <adam.blank.g@gmail.com>2025-09-29 09:16:33 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-10-03 17:53:57 +0100
commit98ca252e5603d2200f50ef5c29ddc298da299385 (patch)
tree815dc8b8e2cf394ea35930320b734e6f9eb4d773 /documentation
parentd1e80c53a9be07f67685ffe1a53a2f437f84d573 (diff)
downloadpoky-98ca252e5603d2200f50ef5c29ddc298da299385.tar.gz
kernel-dev/common.rst: fix the in-tree defconfig description
The description of the relation between KBUILD_DEFCONFIG and SRC_URI is reversed. In fact it is the SRC_URI provided defconfig which will be dropped by the kernel-yocto class if both are provided. (From yocto-docs rev: a808420655a0976ba08f013f468cf80f379b1d89) Signed-off-by: Adam Blank <adam.blank.g@gmail.com> Signed-off-by: Antonin Godard <antonin.godard@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation')
-rw-r--r--documentation/kernel-dev/common.rst10
1 files changed, 3 insertions, 7 deletions
diff --git a/documentation/kernel-dev/common.rst b/documentation/kernel-dev/common.rst
index 654c4e0a01..bd6c3fb2cf 100644
--- a/documentation/kernel-dev/common.rst
+++ b/documentation/kernel-dev/common.rst
@@ -650,13 +650,9 @@ the Broadcom 2708/2709 chipset::
650 650
651 KBUILD_DEFCONFIG:raspberrypi2 ?= "bcm2709_defconfig" 651 KBUILD_DEFCONFIG:raspberrypi2 ?= "bcm2709_defconfig"
652 652
653Aside from modifying your kernel recipe and providing your own 653If the build system detects a statement that identifies an "out-of-tree"
654``defconfig`` file, you need to be sure no files or statements set 654``defconfig`` file, your :term:`KBUILD_DEFCONFIG` variable will take precedence
655:term:`SRC_URI` to use a ``defconfig`` other than your "in-tree" file (e.g. 655over it.
656a kernel's ``linux-``\ `machine`\ ``.inc`` file). In other words, if the
657build system detects a statement that identifies an "out-of-tree"
658``defconfig`` file, that statement will override your
659:term:`KBUILD_DEFCONFIG` variable.
660 656
661See the 657See the
662:term:`KBUILD_DEFCONFIG` 658:term:`KBUILD_DEFCONFIG`