summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrpjday@crashcourse.ca <rpjday@crashcourse.ca>2020-02-21 20:43:47 (GMT)
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-04-06 13:40:24 (GMT)
commit284af91476b118241ee5da2adcd25ebd80211ffb (patch)
tree4f6ea617bf27b459c37fc6a4451fc7cf279d41b0
parent0096b10efe2dbe69a8b76e382ffdf64f9dff0653 (diff)
downloadpoky-284af91476b118241ee5da2adcd25ebd80211ffb.tar.gz
kernel-dev: fix explanation of KBUILD_DEFCONFIG
KBUILD_DEFCONFIG is meant to refer to an *in-tree* defconfig file, not an external one. (From yocto-docs rev: 34202eee3fc2bb4e0b92374822bff87fd3af1ebc) Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--documentation/kernel-dev/kernel-dev-common.xml12
1 files changed, 7 insertions, 5 deletions
diff --git a/documentation/kernel-dev/kernel-dev-common.xml b/documentation/kernel-dev/kernel-dev-common.xml
index 579a035..c1c2d6d 100644
--- a/documentation/kernel-dev/kernel-dev-common.xml
+++ b/documentation/kernel-dev/kernel-dev-common.xml
@@ -948,12 +948,14 @@
948 <literallayout class='monospaced'> 948 <literallayout class='monospaced'>
949 KBUILD_DEFCONFIG_<replaceable>KMACHINE</replaceable> ?= <replaceable>defconfig_file</replaceable> 949 KBUILD_DEFCONFIG_<replaceable>KMACHINE</replaceable> ?= <replaceable>defconfig_file</replaceable>
950 </literallayout> 950 </literallayout>
951 Here is an example that appends the 951 Here is an example that assigns the
952 <filename>KBUILD_DEFCONFIG</filename> variable with 952 <filename>KBUILD_DEFCONFIG</filename> variable based on
953 "common-pc" and provides the path to the "in-tree" 953 "raspberrypi2" and provides the path to the "in-tree"
954 <filename>defconfig</filename> file: 954 <filename>defconfig</filename> file
955 to be used for a Raspberry Pi 2,
956 which is based on the Broadcom 2708/2709 chipset:
955 <literallayout class='monospaced'> 957 <literallayout class='monospaced'>
956 KBUILD_DEFCONFIG_common-pc ?= "/home/scottrif/configfiles/my_defconfig_file" 958 KBUILD_DEFCONFIG_raspberrypi2 ?= "bcm2709_defconfig"
957 </literallayout> 959 </literallayout>
958 </para> 960 </para>
959 961