diff --git a/documentation/ref-manual/ref-variables.xml b/documentation/ref-manual/ref-variables.xml
index e70445762f..fac6d9046b 100644
--- a/documentation/ref-manual/ref-variables.xml
+++ b/documentation/ref-manual/ref-variables.xml
@@ -6276,6 +6276,57 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3"
+ KBUILD_DEFCONFIG
+
+ KBUILD_DEFCONFIG[doc] = "Specifies an "in-tree" kernel configuration file for use during a kernel build."
+
+
+
+
+ When used with the
+ kernel-yocto
+ class, specifies an "in-tree" kernel configuration file
+ for use during a kernel build.
+
+
+
+ Typically, when using a defconfig 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.
+ "out-of-tree").
+ However, if you want to use a defconfig
+ file that is part of the kernel tree (i.e. "in-tree"),
+ you can use the
+ KBUILD_DEFCONFIG variable to point
+ to the defconfig file.
+
+
+
+ To use the variable, set it in the append file for your
+ kernel recipe using the following form:
+
+ KBUILD_DEFCONFIG_KMACHINE ?= defconfig_file
+
+ Here is an example from a "raspberrypi2"
+ KMACHINE build that uses a
+ defconfig file named
+ "bcm2709_defconfig":
+
+ KBUILD_DEFCONFIG_raspberrypi2 = "bcm2709_defconfig"
+
+ As an alternative, you can use the following within your
+ append file:
+
+ KBUILD_DEFCONFIG_pn-linux-yocto ?= defconfig_file
+
+ For more information on how to use the
+ KBUILD_DEFCONFIG variable, see the
+ "TBD" section.
+
+
+
+
KERNEL_EXTRA_ARGS
KERNEL_EXTRA_ARGS[doc] = "Specifies additional make command-line arguments the OpenEmbedded build system passes on when compiling the kernel."