From c801d0425d442d05245274e71e7ccc9ff9f81915 Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Fri, 22 Sep 2017 13:40:31 -0700 Subject: 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 Signed-off-by: Richard Purdie --- documentation/kernel-dev/kernel-dev-common.xml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'documentation/kernel-dev/kernel-dev-common.xml') 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" -- cgit v1.2.3-54-g00ecf