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 @@ To specify an "in-tree" defconfig file, - edit the recipe that builds your kernel so that it has the - following command form: + use the following + KBUILD_DEFCONFIG + statement form in the append file for the kernel recipe: - KBUILD_DEFCONFIG_KMACHINE ?= defconfig_file + KBUILD_DEFCONFIG_KMACHINE ?= defconfig_file You need to append the variable with KMACHINE @@ -949,7 +950,8 @@ defconfig file, you need to be sure no files or statements set SRC_URI to use a defconfig other than your "in-tree" - file (e.g. a kernel's linux-machine.inc + file (e.g. a kernel's + linux-machine.inc file). In other words, if the build system detects a statement that identifies an "out-of-tree"