From: Scott Rifenbark Date: Fri, 22 Sep 2017 20:40:31 +0000 (-0700) Subject: kernel-dev: Updated "in-tree" defconfig example. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c801d0425d442d05245274e71e7ccc9ff9f81915;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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 --- diff --git a/documentation/kernel-dev/kernel-dev-common.xml b/documentation/kernel-dev/kernel-dev-common.xml index 7f61b434cdc..06144149554 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"