diff options
| author | Adam Blank <adam.blank.g@gmail.com> | 2025-09-29 09:16:33 +0200 |
|---|---|---|
| committer | Steve Sakoman <steve@sakoman.com> | 2025-10-03 10:09:02 -0700 |
| commit | 3ff44348f76fdd26779f3efd2c1633b1e3979db8 (patch) | |
| tree | 756186ee59a39bf5929f0c70c92556afc05ff48e /documentation | |
| parent | 1f6c798015cc2fc7c200d33c8d4c2f44b053bfa2 (diff) | |
| download | poky-3ff44348f76fdd26779f3efd2c1633b1e3979db8.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: 6efc3ca5491722072fd394bae92d827791ef6bc3)
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')
| -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 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:: | |||
| 724 | 724 | ||
| 725 | KBUILD_DEFCONFIG:raspberrypi2 ?= "bcm2709_defconfig" | 725 | KBUILD_DEFCONFIG:raspberrypi2 ?= "bcm2709_defconfig" |
| 726 | 726 | ||
| 727 | Aside from modifying your kernel recipe and providing your own | 727 | If the build system detects a statement that identifies an "out-of-tree" |
| 728 | ``defconfig`` file, you need to be sure no files or statements set | 728 | ``defconfig`` file, your :term:`KBUILD_DEFCONFIG` variable will take precedence |
| 729 | :term:`SRC_URI` to use a ``defconfig`` other than your "in-tree" file (e.g. | 729 | over it. |
| 730 | a kernel's ``linux-``\ `machine`\ ``.inc`` file). In other words, if the | ||
| 731 | build system detects a statement that identifies an "out-of-tree" | ||
| 732 | ``defconfig`` file, that statement will override your | ||
| 733 | :term:`KBUILD_DEFCONFIG` variable. | ||
| 734 | 730 | ||
| 735 | See the | 731 | See the |
| 736 | :term:`KBUILD_DEFCONFIG` | 732 | :term:`KBUILD_DEFCONFIG` |
