From 3ff44348f76fdd26779f3efd2c1633b1e3979db8 Mon Sep 17 00:00:00 2001 From: Adam Blank Date: Mon, 29 Sep 2025 09:16:33 +0200 Subject: 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: 6efc3ca5491722072fd394bae92d827791ef6bc3) Signed-off-by: Adam Blank Signed-off-by: Antonin Godard (cherry picked from commit a808420655a0976ba08f013f468cf80f379b1d89) Signed-off-by: Antonin Godard Signed-off-by: Steve Sakoman --- documentation/kernel-dev/common.rst | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'documentation/kernel-dev') diff --git a/documentation/kernel-dev/common.rst b/documentation/kernel-dev/common.rst index 83fe98bf05..cedc2368b6 100644 --- a/documentation/kernel-dev/common.rst +++ b/documentation/kernel-dev/common.rst @@ -724,13 +724,9 @@ a Raspberry Pi 2, which is based on the Broadcom 2708/2709 chipset:: KBUILD_DEFCONFIG:raspberrypi2 ?= "bcm2709_defconfig" -Aside from modifying your kernel recipe and providing your own -``defconfig`` file, you need to be sure no files or statements set -:term:`SRC_URI` to use a ``defconfig`` other than your "in-tree" file (e.g. -a kernel's ``linux-``\ `machine`\ ``.inc`` file). In other words, if the -build system detects a statement that identifies an "out-of-tree" -``defconfig`` file, that statement will override your -:term:`KBUILD_DEFCONFIG` variable. +If the build system detects a statement that identifies an "out-of-tree" +``defconfig`` file, your :term:`KBUILD_DEFCONFIG` variable will take precedence +over it. See the :term:`KBUILD_DEFCONFIG` -- cgit v1.2.3-54-g00ecf