From 9ff3a1de427ea31374d8c20c135f5fdf440e87dc Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Wed, 9 Apr 2014 09:11:47 -0700 Subject: ref-manual: Updated KBRANCH variable description. I replaced the v3.4 version example with the v3.10 version. It is more up-to-date. (From yocto-docs rev: 2e7f5d4fbe24a8248686c9ca7cf870204966beec) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- documentation/ref-manual/ref-variables.xml | 60 +++++++++++++++++------------- 1 file changed, 35 insertions(+), 25 deletions(-) (limited to 'documentation/ref-manual') diff --git a/documentation/ref-manual/ref-variables.xml b/documentation/ref-manual/ref-variables.xml index f39d91c0dc..6de054d6e7 100644 --- a/documentation/ref-manual/ref-variables.xml +++ b/documentation/ref-manual/ref-variables.xml @@ -3733,50 +3733,60 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3" KBRANCH - A regular expression used by the build process to explicitly identify the kernel - branch that is validated, patched and configured during a build. + A regular expression used by the build process to explicitly + identify the kernel branch that is validated, patched + and configured during a build. The KBRANCH variable is optional. - You can use it to trigger checks to ensure the exact kernel branch you want is - being used by the build process. + You can use it to trigger checks to ensure the exact kernel + branch you want is being used by the build process. - Values for this variable are set in the kernel's recipe file and the kernel's - append file. - For example, if you are using the Yocto Project kernel that is based on the - Linux 3.4 kernel, the kernel recipe file is the - meta/recipes-kernel/linux/linux-yocto_3.4.bb file. - Following is the default value for KBRANCH and the default - override for the architectures the Yocto Project supports: + Values for this variable are set in the kernel's recipe + file and the kernel's append file. + For example, if you are using the Yocto Project kernel that + is based on the Linux 3.10 kernel, the kernel recipe file + is the + meta/recipes-kernel/linux/linux-yocto_3.10.bb + file. + Following is the default value for KBRANCH + and the default override for the architectures the Yocto + Project supports: KBRANCH_DEFAULT = "standard/base" KBRANCH = "${KBRANCH_DEFAULT}" - This branch exists in the linux-yocto-3.4 kernel Git - repository . + This branch exists in the linux-yocto-3.10 + kernel Git repository + . - This variable is also used from the kernel's append file to identify the kernel - branch specific to a particular machine or target hardware. - The kernel's append file is located in the BSP layer for a given machine. + This variable is also used from the kernel's append file + to identify the kernel branch specific to a particular + machine or target hardware. + The kernel's append file is located in the BSP layer for + a given machine. For example, the kernel append file for the Crown Bay BSP is in the meta-intel Git repository and is named meta-crownbay/recipes-kernel/linux/linux-yocto_3.4.bbappend. Here are the related statements from the append file: COMPATIBLE_MACHINE_crownbay = "crownbay" - KMACHINE_crownbay = "crownbay" - KBRANCH_crownbay = "standard/crownbay" + KMACHINE_crownbay = "crownbay" + KBRANCH_crownbay = "standard/crownbay" + KERNEL_FEATURES_append_crownbay = " features/drm-emgd/drm-emgd-1.18 cfg/vesafb" COMPATIBLE_MACHINE_crownbay-noemgd = "crownbay-noemgd" - KMACHINE_crownbay-noemgd = "crownbay" - KBRANCH_crownbay-noemgd = "standard/crownbay" - - The KBRANCH_* statements identify the kernel branch to - use when building for the Crown Bay BSP. - In this case there are two identical statements: one for each type of - Crown Bay machine. + KMACHINE_crownbay-noemgd = "crownbay" + KBRANCH_crownbay-noemgd = "standard/crownbay" + KERNEL_FEATURES_append_crownbay-noemgd = " cfg/vesafb" + + The KBRANCH_* statements identify + the kernel branch to use when building for the Crown + Bay BSP. + In this case there are two identical statements: one + for each type of Crown Bay machine. -- cgit v1.2.3-54-g00ecf