From 94e71dea32850cad56466130e09458c957e2bc2d Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Mon, 2 Oct 2017 12:32:21 -0700 Subject: [PATCH] ref-manual: Updated KBRANCH variable description The description had gone stale and was referencing a linux yocto kernel we don't support and BSPs we don't support. Updated it. (From yocto-docs rev: 5041a2a26d703a885437abcedb24c7600d5365cd) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- documentation/ref-manual/ref-variables.xml | 45 ++++++++++++---------- 1 file changed, 25 insertions(+), 20 deletions(-) diff --git a/documentation/ref-manual/ref-variables.xml b/documentation/ref-manual/ref-variables.xml index d881d2cb9ec..13e683fbd5b 100644 --- a/documentation/ref-manual/ref-variables.xml +++ b/documentation/ref-manual/ref-variables.xml @@ -6992,12 +6992,13 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3" 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.14 kernel, the kernel recipe file - is the - meta/recipes-kernel/linux/linux-yocto_3.14.bb + For example, if you are using the + linux-yocto_4.12 kernel, the kernel + recipe file is the + meta/recipes-kernel/linux/linux-yocto_4.12.bb file. - Following is an example for a kernel recipe file: + KBRANCH is set as follows in that + kernel recipe file: KBRANCH ?= "standard/base" @@ -7007,21 +7008,25 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3" 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 Emenlow BSP is in the - meta-intel Git repository and is named - meta-emenlow/recipes-kernel/linux/linux-yocto_3.14.bbappend. - Here are the related statements from the append file: - - COMPATIBLE_MACHINE_emenlow-noemgd = "emenlow-noemgd" - KMACHINE_emenlow-noemgd = "emenlow" - KBRANCH_emenlow-noemgd = "standard/base" - KERNEL_FEATURES_append_emenlow-noemgd = " features/drm-gma500/drm-gma500.scc" - - The KBRANCH statement identifies - the kernel branch to use when building for the Emenlow - BSP. + Continuing with the previous kernel example, the kernel's + append file (i.e. + linux-yocto_4.12.bbappend) is located + in the BSP layer for a given machine. + For example, the append file for the Beaglebone, + EdgeRouter, and generic versions of both 32 and 64-bit IA + machines (meta-yocto-bsp) is named + meta-yocto-bsp/recipes-kernel/linux/linux-yocto_4.12.bbappend. + Here are the related statements from that append file: + + KBRANCH_genericx86 = "standard/base" + KBRANCH_genericx86-64 = "standard/base" + KBRANCH_edgerouter = "standard/edgerouter" + KBRANCH_beaglebone = "standard/beaglebone" + KBRANCH_mpc8315e-rdb = "standard/fsl-mpc8315e-rdb" + + The KBRANCH statements identify + the kernel branch to use when building for each + supported BSP. -- 2.47.2