mirror of
https://git.yoctoproject.org/poky
synced 2026-04-19 06:32:13 +02: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:
committed by
Richard Purdie
parent
de671802c8
commit
cc601ade6f
@@ -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
|
||||
configure a kernel during a build, you place the
|
||||
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").
|
||||
However, if you want to use a <filename>defconfig</filename>
|
||||
file that is part of the kernel tree (i.e. "in-tree"),
|
||||
you can use the
|
||||
<filename>KBUILD_DEFCONFIG</filename> variable to point
|
||||
to the <filename>defconfig</filename> file.
|
||||
<filename>KBUILD_DEFCONFIG</filename> variable and append
|
||||
the
|
||||
<link linkend='var-KMACHINE'><filename>KMACHINE</filename></link>
|
||||
variable to point to the <filename>defconfig</filename>
|
||||
file.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
To use the variable, set it in the append file for your
|
||||
kernel recipe using the following form:
|
||||
<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>
|
||||
Here is an example from a "raspberrypi2"
|
||||
<filename>KMACHINE</filename> build that uses a
|
||||
|
||||
Reference in New Issue
Block a user