diff options
Diffstat (limited to 'documentation/kernel-dev/kernel-dev-common.xml')
-rw-r--r-- | documentation/kernel-dev/kernel-dev-common.xml | 10 |
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" |