diff options
author | Adam Blank <adam.blank.g@gmail.com> | 2025-09-29 09:16:33 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-10-03 17:53:57 +0100 |
commit | 98ca252e5603d2200f50ef5c29ddc298da299385 (patch) | |
tree | 815dc8b8e2cf394ea35930320b734e6f9eb4d773 /documentation/kernel-dev/common.rst | |
parent | d1e80c53a9be07f67685ffe1a53a2f437f84d573 (diff) | |
download | poky-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/kernel-dev/common.rst')
-rw-r--r-- | documentation/kernel-dev/common.rst | 10 |
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 | ||
653 | Aside from modifying your kernel recipe and providing your own | 653 | If 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. | 655 | over it. |
656 | a kernel's ``linux-``\ `machine`\ ``.inc`` file). In other words, if the | ||
657 | build 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 | ||
661 | See the | 657 | See the |
662 | :term:`KBUILD_DEFCONFIG` | 658 | :term:`KBUILD_DEFCONFIG` |