1
0
mirror of https://git.yoctoproject.org/poky synced 2026-06-02 01:19:52 +00:00

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>
This commit is contained in:
Scott Rifenbark
2017-09-22 13:30:11 -07:00
committed by Richard Purdie
parent de671802c8
commit cc601ade6f
+7 -4
View File
@@ -7043,20 +7043,23 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3"
Typically, when using a <filename>defconfig</filename> to Typically, when using a <filename>defconfig</filename> to
configure a kernel during a build, you place the configure a kernel during a build, you place the
file in your layer in the same manner as you would file in your layer in the same manner as you would
patch files and configuration fragment files (i.e. place patch files and configuration fragment files (i.e.
"out-of-tree"). "out-of-tree").
However, if you want to use a <filename>defconfig</filename> However, if you want to use a <filename>defconfig</filename>
file that is part of the kernel tree (i.e. "in-tree"), file that is part of the kernel tree (i.e. "in-tree"),
you can use the you can use the
<filename>KBUILD_DEFCONFIG</filename> variable to point <filename>KBUILD_DEFCONFIG</filename> variable and append
to the <filename>defconfig</filename> file. the
<link linkend='var-KMACHINE'><filename>KMACHINE</filename></link>
variable to point to the <filename>defconfig</filename>
file.
</para> </para>
<para> <para>
To use the variable, set it in the append file for your To use the variable, set it in the append file for your
kernel recipe using the following form: kernel recipe using the following form:
<literallayout class='monospaced'> <literallayout class='monospaced'>
KBUILD_DEFCONFIG_<link linkend='var-KMACHINE'>KMACHINE</link> ?= <replaceable>defconfig_file</replaceable> KBUILD_DEFCONFIG_<replaceable>KMACHINE</replaceable> ?= <replaceable>defconfig_file</replaceable>
</literallayout> </literallayout>
Here is an example from a "raspberrypi2" Here is an example from a "raspberrypi2"
<filename>KMACHINE</filename> build that uses a <filename>KMACHINE</filename> build that uses a