From 68460ed58cc7043d09c5be94da39224f07fe9297 Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Tue, 12 May 2015 06:45:00 -0600 Subject: ref-manual: Added new glossary description for KBUILD_DEFCONFIG. (From yocto-docs rev: 6039b3a5b1ff68104760fa8780507a5d5d3e2d8f) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- documentation/ref-manual/ref-variables.xml | 51 ++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) (limited to 'documentation') diff --git a/documentation/ref-manual/ref-variables.xml b/documentation/ref-manual/ref-variables.xml index e704457..fac6d90 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." -- cgit v1.1