summaryrefslogtreecommitdiffstats
path: root/documentation/kernel-dev/common.rst
diff options
context:
space:
mode:
authorAdam Blank <adam.blank.g@gmail.com>2025-09-29 09:16:33 +0200
committerSteve Sakoman <steve@sakoman.com>2025-10-09 12:16:46 -0700
commit77c866901dea5316dd77d7ebcd1603b9a1350292 (patch)
tree942712230eaec8ded185475dd2153db712a3599c /documentation/kernel-dev/common.rst
parentea119eaa4646f8d9882145e1738ad55086ec824a (diff)
downloadpoky-77c866901dea5316dd77d7ebcd1603b9a1350292.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: 3dc8212748d014f0b2cd1bb6777404bafe6d5a58) Signed-off-by: Adam Blank <adam.blank.g@gmail.com> Signed-off-by: Antonin Godard <antonin.godard@bootlin.com> (cherry picked from commit a808420655a0976ba08f013f468cf80f379b1d89) Signed-off-by: Antonin Godard <antonin.godard@bootlin.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'documentation/kernel-dev/common.rst')
-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`