summaryrefslogtreecommitdiffstats
path: root/documentation/kernel-dev
diff options
context:
space:
mode:
authorScott Rifenbark <srifenbark@gmail.com>2017-09-22 13:40:31 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-09-26 11:18:59 +0100
commitc801d0425d442d05245274e71e7ccc9ff9f81915 (patch)
tree7ab45e3351b9400e0f56050f67dcd63979558979 /documentation/kernel-dev
parentcc601ade6f6355b6852680d30e3965702a8db8d3 (diff)
downloadpoky-c801d0425d442d05245274e71e7ccc9ff9f81915.tar.gz
kernel-dev: Updated "in-tree" defconfig example.
Section "Using an 'In-Tree' defconfig File" updated to use a more syntactically correct KBUILD_DEFCONFIG_KMACHINE example. (From yocto-docs rev: 64e6b16703fa3ce9ac8db25de8089d32ac7aeafc) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/kernel-dev')
-rw-r--r--documentation/kernel-dev/kernel-dev-common.xml10
1 files changed, 6 insertions, 4 deletions
diff --git a/documentation/kernel-dev/kernel-dev-common.xml b/documentation/kernel-dev/kernel-dev-common.xml
index 7f61b434cd..0614414955 100644
--- a/documentation/kernel-dev/kernel-dev-common.xml
+++ b/documentation/kernel-dev/kernel-dev-common.xml
@@ -933,10 +933,11 @@
933 933
934 <para> 934 <para>
935 To specify an "in-tree" <filename>defconfig</filename> file, 935 To specify an "in-tree" <filename>defconfig</filename> file,
936 edit the recipe that builds your kernel so that it has the 936 use the following
937 following command form: 937 <ulink url='&YOCTO_DOCS_REF_URL;#var-KBUILD_DEFCONFIG'><filename>KBUILD_DEFCONFIG</filename></ulink>
938 statement form in the append file for the kernel recipe:
938 <literallayout class='monospaced'> 939 <literallayout class='monospaced'>
939 KBUILD_DEFCONFIG_KMACHINE ?= <replaceable>defconfig_file</replaceable> 940 KBUILD_DEFCONFIG_<replaceable>KMACHINE</replaceable> ?= <replaceable>defconfig_file</replaceable>
940 </literallayout> 941 </literallayout>
941 You need to append the variable with 942 You need to append the variable with
942 <ulink url='&YOCTO_DOCS_REF_URL;#var-KMACHINE'><filename>KMACHINE</filename></ulink> 943 <ulink url='&YOCTO_DOCS_REF_URL;#var-KMACHINE'><filename>KMACHINE</filename></ulink>
@@ -949,7 +950,8 @@
949 <filename>defconfig</filename> file, you need to be sure no 950 <filename>defconfig</filename> file, you need to be sure no
950 files or statements set <filename>SRC_URI</filename> to use a 951 files or statements set <filename>SRC_URI</filename> to use a
951 <filename>defconfig</filename> other than your "in-tree" 952 <filename>defconfig</filename> other than your "in-tree"
952 file (e.g. a kernel's <filename>linux-</filename><replaceable>machine</replaceable><filename>.inc</filename> 953 file (e.g. a kernel's
954 <filename>linux-</filename><replaceable>machine</replaceable><filename>.inc</filename>
953 file). 955 file).
954 In other words, if the build system detects a statement 956 In other words, if the build system detects a statement
955 that identifies an "out-of-tree" 957 that identifies an "out-of-tree"