mirror of
https://git.yoctoproject.org/poky
synced 2026-04-14 08:02:30 +02:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
cc601ade6f
commit
c801d0425d
@@ -933,10 +933,11 @@
|
||||
|
||||
<para>
|
||||
To specify an "in-tree" <filename>defconfig</filename> file,
|
||||
edit the recipe that builds your kernel so that it has the
|
||||
following command form:
|
||||
use the following
|
||||
<ulink url='&YOCTO_DOCS_REF_URL;#var-KBUILD_DEFCONFIG'><filename>KBUILD_DEFCONFIG</filename></ulink>
|
||||
statement form in the append file for the kernel recipe:
|
||||
<literallayout class='monospaced'>
|
||||
KBUILD_DEFCONFIG_KMACHINE ?= <replaceable>defconfig_file</replaceable>
|
||||
KBUILD_DEFCONFIG_<replaceable>KMACHINE</replaceable> ?= <replaceable>defconfig_file</replaceable>
|
||||
</literallayout>
|
||||
You need to append the variable with
|
||||
<ulink url='&YOCTO_DOCS_REF_URL;#var-KMACHINE'><filename>KMACHINE</filename></ulink>
|
||||
@@ -949,7 +950,8 @@
|
||||
<filename>defconfig</filename> file, you need to be sure no
|
||||
files or statements set <filename>SRC_URI</filename> to use a
|
||||
<filename>defconfig</filename> other than your "in-tree"
|
||||
file (e.g. a kernel's <filename>linux-</filename><replaceable>machine</replaceable><filename>.inc</filename>
|
||||
file (e.g. a kernel's
|
||||
<filename>linux-</filename><replaceable>machine</replaceable><filename>.inc</filename>
|
||||
file).
|
||||
In other words, if the build system detects a statement
|
||||
that identifies an "out-of-tree"
|
||||
|
||||
Reference in New Issue
Block a user