summaryrefslogtreecommitdiffstats
path: root/documentation
diff options
context:
space:
mode:
authorScott Rifenbark <srifenbark@gmail.com>2017-09-22 13:30:11 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-09-26 11:18:59 +0100
commitcc601ade6f6355b6852680d30e3965702a8db8d3 (patch)
tree6ae5d36fe0a578d8cd6fa782788a439686540f1a /documentation
parentde671802c8de9311cc292456d69cafb7be128b0b (diff)
downloadpoky-cc601ade6f6355b6852680d30e3965702a8db8d3.tar.gz
ref-manual: Updated link formatting in KBUILD_DEFCONFIG variable.
(From yocto-docs rev: ba2aa642c3c1696a155b07840f84b8b3f0e692b5) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation')
-rw-r--r--documentation/ref-manual/ref-variables.xml11
1 files changed, 7 insertions, 4 deletions
diff --git a/documentation/ref-manual/ref-variables.xml b/documentation/ref-manual/ref-variables.xml
index 6f8721199b..bd5e8c9016 100644
--- a/documentation/ref-manual/ref-variables.xml
+++ b/documentation/ref-manual/ref-variables.xml
@@ -7043,20 +7043,23 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3"
7043 Typically, when using a <filename>defconfig</filename> to 7043 Typically, when using a <filename>defconfig</filename> to
7044 configure a kernel during a build, you place the 7044 configure a kernel during a build, you place the
7045 file in your layer in the same manner as you would 7045 file in your layer in the same manner as you would
7046 patch files and configuration fragment files (i.e. 7046 place patch files and configuration fragment files (i.e.
7047 "out-of-tree"). 7047 "out-of-tree").
7048 However, if you want to use a <filename>defconfig</filename> 7048 However, if you want to use a <filename>defconfig</filename>
7049 file that is part of the kernel tree (i.e. "in-tree"), 7049 file that is part of the kernel tree (i.e. "in-tree"),
7050 you can use the 7050 you can use the
7051 <filename>KBUILD_DEFCONFIG</filename> variable to point 7051 <filename>KBUILD_DEFCONFIG</filename> variable and append
7052 to the <filename>defconfig</filename> file. 7052 the
7053 <link linkend='var-KMACHINE'><filename>KMACHINE</filename></link>
7054 variable to point to the <filename>defconfig</filename>
7055 file.
7053 </para> 7056 </para>
7054 7057
7055 <para> 7058 <para>
7056 To use the variable, set it in the append file for your 7059 To use the variable, set it in the append file for your
7057 kernel recipe using the following form: 7060 kernel recipe using the following form:
7058 <literallayout class='monospaced'> 7061 <literallayout class='monospaced'>
7059 KBUILD_DEFCONFIG_<link linkend='var-KMACHINE'>KMACHINE</link> ?= <replaceable>defconfig_file</replaceable> 7062 KBUILD_DEFCONFIG_<replaceable>KMACHINE</replaceable> ?= <replaceable>defconfig_file</replaceable>
7060 </literallayout> 7063 </literallayout>
7061 Here is an example from a "raspberrypi2" 7064 Here is an example from a "raspberrypi2"
7062 <filename>KMACHINE</filename> build that uses a 7065 <filename>KMACHINE</filename> build that uses a