mirror of
https://git.yoctoproject.org/poky
synced 2026-02-26 03:19:41 +01:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
bace1910d9
commit
94e71dea32
@@ -6992,12 +6992,13 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3"
|
||||
<para>
|
||||
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
|
||||
<filename>meta/recipes-kernel/linux/linux-yocto_3.14.bb</filename>
|
||||
For example, if you are using the
|
||||
<filename>linux-yocto_4.12</filename> kernel, the kernel
|
||||
recipe file is the
|
||||
<filename>meta/recipes-kernel/linux/linux-yocto_4.12.bb</filename>
|
||||
file.
|
||||
Following is an example for a kernel recipe file:
|
||||
<filename>KBRANCH</filename> is set as follows in that
|
||||
kernel recipe file:
|
||||
<literallayout class='monospaced'>
|
||||
KBRANCH ?= "standard/base"
|
||||
</literallayout>
|
||||
@@ -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
|
||||
<filename>meta-intel</filename> Git repository and is named
|
||||
<filename>meta-emenlow/recipes-kernel/linux/linux-yocto_3.14.bbappend</filename>.
|
||||
Here are the related statements from the append file:
|
||||
Continuing with the previous kernel example, the kernel's
|
||||
append file (i.e.
|
||||
<filename>linux-yocto_4.12.bbappend</filename>) 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 (<filename>meta-yocto-bsp</filename>) is named
|
||||
<filename>meta-yocto-bsp/recipes-kernel/linux/linux-yocto_4.12.bbappend</filename>.
|
||||
Here are the related statements from that append file:
|
||||
<literallayout class='monospaced'>
|
||||
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"
|
||||
KBRANCH_genericx86 = "standard/base"
|
||||
KBRANCH_genericx86-64 = "standard/base"
|
||||
KBRANCH_edgerouter = "standard/edgerouter"
|
||||
KBRANCH_beaglebone = "standard/beaglebone"
|
||||
KBRANCH_mpc8315e-rdb = "standard/fsl-mpc8315e-rdb"
|
||||
</literallayout>
|
||||
The <filename>KBRANCH</filename> statement identifies
|
||||
the kernel branch to use when building for the Emenlow
|
||||
BSP.
|
||||
The <filename>KBRANCH</filename> statements identify
|
||||
the kernel branch to use when building for each
|
||||
supported BSP.
|
||||
</para>
|
||||
</glossdef>
|
||||
</glossentry>
|
||||
|
||||
Reference in New Issue
Block a user