summaryrefslogtreecommitdiffstats
path: root/documentation
diff options
context:
space:
mode:
authorScott Rifenbark <srifenbark@gmail.com>2017-10-02 12:32:21 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-10-06 12:06:33 +0100
commit94e71dea32850cad56466130e09458c957e2bc2d (patch)
tree5c5316bc43f462b8cfecc85de991b724499f7ddf /documentation
parentbace1910d913e5b47730588f01b9bd0d78f21c91 (diff)
downloadpoky-94e71dea32850cad56466130e09458c957e2bc2d.tar.gz
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 <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation')
-rw-r--r--documentation/ref-manual/ref-variables.xml45
1 files changed, 25 insertions, 20 deletions
diff --git a/documentation/ref-manual/ref-variables.xml b/documentation/ref-manual/ref-variables.xml
index d881d2cb9e..13e683fbd5 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"
6992 <para> 6992 <para>
6993 Values for this variable are set in the kernel's recipe 6993 Values for this variable are set in the kernel's recipe
6994 file and the kernel's append file. 6994 file and the kernel's append file.
6995 For example, if you are using the Yocto Project kernel that 6995 For example, if you are using the
6996 is based on the Linux 3.14 kernel, the kernel recipe file 6996 <filename>linux-yocto_4.12</filename> kernel, the kernel
6997 is the 6997 recipe file is the
6998 <filename>meta/recipes-kernel/linux/linux-yocto_3.14.bb</filename> 6998 <filename>meta/recipes-kernel/linux/linux-yocto_4.12.bb</filename>
6999 file. 6999 file.
7000 Following is an example for a kernel recipe file: 7000 <filename>KBRANCH</filename> is set as follows in that
7001 kernel recipe file:
7001 <literallayout class='monospaced'> 7002 <literallayout class='monospaced'>
7002 KBRANCH ?= "standard/base" 7003 KBRANCH ?= "standard/base"
7003 </literallayout> 7004 </literallayout>
@@ -7007,21 +7008,25 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3"
7007 This variable is also used from the kernel's append file 7008 This variable is also used from the kernel's append file
7008 to identify the kernel branch specific to a particular 7009 to identify the kernel branch specific to a particular
7009 machine or target hardware. 7010 machine or target hardware.
7010 The kernel's append file is located in the BSP layer for 7011 Continuing with the previous kernel example, the kernel's
7011 a given machine. 7012 append file (i.e.
7012 For example, the kernel append file for the Emenlow BSP is in the 7013 <filename>linux-yocto_4.12.bbappend</filename>) is located
7013 <filename>meta-intel</filename> Git repository and is named 7014 in the BSP layer for a given machine.
7014 <filename>meta-emenlow/recipes-kernel/linux/linux-yocto_3.14.bbappend</filename>. 7015 For example, the append file for the Beaglebone,
7015 Here are the related statements from the append file: 7016 EdgeRouter, and generic versions of both 32 and 64-bit IA
7016 <literallayout class='monospaced'> 7017 machines (<filename>meta-yocto-bsp</filename>) is named
7017 COMPATIBLE_MACHINE_emenlow-noemgd = "emenlow-noemgd" 7018 <filename>meta-yocto-bsp/recipes-kernel/linux/linux-yocto_4.12.bbappend</filename>.
7018 KMACHINE_emenlow-noemgd = "emenlow" 7019 Here are the related statements from that append file:
7019 KBRANCH_emenlow-noemgd = "standard/base" 7020 <literallayout class='monospaced'>
7020 KERNEL_FEATURES_append_emenlow-noemgd = " features/drm-gma500/drm-gma500.scc" 7021 KBRANCH_genericx86 = "standard/base"
7021 </literallayout> 7022 KBRANCH_genericx86-64 = "standard/base"
7022 The <filename>KBRANCH</filename> statement identifies 7023 KBRANCH_edgerouter = "standard/edgerouter"
7023 the kernel branch to use when building for the Emenlow 7024 KBRANCH_beaglebone = "standard/beaglebone"
7024 BSP. 7025 KBRANCH_mpc8315e-rdb = "standard/fsl-mpc8315e-rdb"
7026 </literallayout>
7027 The <filename>KBRANCH</filename> statements identify
7028 the kernel branch to use when building for each
7029 supported BSP.
7025 </para> 7030 </para>
7026 </glossdef> 7031 </glossdef>
7027 </glossentry> 7032 </glossentry>