diff options
-rw-r--r-- | documentation/ref-manual/ref-variables.xml | 11 |
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 |