mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 00:20:08 +00:00
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 <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
bebc72a6ed
commit
7ad0253672
@@ -3733,50 +3733,60 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3"
|
|||||||
<glossentry id='var-KBRANCH'><glossterm>KBRANCH</glossterm>
|
<glossentry id='var-KBRANCH'><glossterm>KBRANCH</glossterm>
|
||||||
<glossdef>
|
<glossdef>
|
||||||
<para>
|
<para>
|
||||||
A regular expression used by the build process to explicitly identify the kernel
|
A regular expression used by the build process to explicitly
|
||||||
branch that is validated, patched and configured during a build.
|
identify the kernel branch that is validated, patched
|
||||||
|
and configured during a build.
|
||||||
The <filename>KBRANCH</filename> variable is optional.
|
The <filename>KBRANCH</filename> variable is optional.
|
||||||
You can use it to trigger checks to ensure the exact kernel branch you want is
|
You can use it to trigger checks to ensure the exact kernel
|
||||||
being used by the build process.
|
branch you want is being used by the build process.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
Values for this variable are set in the kernel's recipe file and the kernel's
|
Values for this variable are set in the kernel's recipe
|
||||||
append file.
|
file and the kernel's append file.
|
||||||
For example, if you are using the Yocto Project kernel that is based on the
|
For example, if you are using the Yocto Project kernel that
|
||||||
Linux 3.4 kernel, the kernel recipe file is the
|
is based on the Linux 3.10 kernel, the kernel recipe file
|
||||||
<filename>meta/recipes-kernel/linux/linux-yocto_3.4.bb</filename> file.
|
is the
|
||||||
Following is the default value for <filename>KBRANCH</filename> and the default
|
<filename>meta/recipes-kernel/linux/linux-yocto_3.10.bb</filename>
|
||||||
override for the architectures the Yocto Project supports:
|
file.
|
||||||
|
Following is the default value for <filename>KBRANCH</filename>
|
||||||
|
and the default override for the architectures the Yocto
|
||||||
|
Project supports:
|
||||||
<literallayout class='monospaced'>
|
<literallayout class='monospaced'>
|
||||||
KBRANCH_DEFAULT = "standard/base"
|
KBRANCH_DEFAULT = "standard/base"
|
||||||
KBRANCH = "${KBRANCH_DEFAULT}"
|
KBRANCH = "${KBRANCH_DEFAULT}"
|
||||||
</literallayout>
|
</literallayout>
|
||||||
This branch exists in the <filename>linux-yocto-3.4</filename> kernel Git
|
This branch exists in the <filename>linux-yocto-3.10</filename>
|
||||||
repository <ulink url='&YOCTO_GIT_URL;/cgit.cgi/linux-yocto-3.4/refs/heads'></ulink>.
|
kernel Git repository
|
||||||
|
<ulink url='&YOCTO_GIT_URL;/cgit.cgi/linux-yocto-3.10/refs/heads'></ulink>.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
This variable is also used from the kernel's append file to identify the kernel
|
This variable is also used from the kernel's append file
|
||||||
branch specific to a particular machine or target hardware.
|
to identify the kernel branch specific to a particular
|
||||||
The kernel's append file is located in the BSP layer for a given machine.
|
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
|
For example, the kernel append file for the Crown Bay BSP is in the
|
||||||
<filename>meta-intel</filename> Git repository and is named
|
<filename>meta-intel</filename> Git repository and is named
|
||||||
<filename>meta-crownbay/recipes-kernel/linux/linux-yocto_3.4.bbappend</filename>.
|
<filename>meta-crownbay/recipes-kernel/linux/linux-yocto_3.4.bbappend</filename>.
|
||||||
Here are the related statements from the append file:
|
Here are the related statements from the append file:
|
||||||
<literallayout class='monospaced'>
|
<literallayout class='monospaced'>
|
||||||
COMPATIBLE_MACHINE_crownbay = "crownbay"
|
COMPATIBLE_MACHINE_crownbay = "crownbay"
|
||||||
KMACHINE_crownbay = "crownbay"
|
KMACHINE_crownbay = "crownbay"
|
||||||
KBRANCH_crownbay = "standard/crownbay"
|
KBRANCH_crownbay = "standard/crownbay"
|
||||||
|
KERNEL_FEATURES_append_crownbay = " features/drm-emgd/drm-emgd-1.18 cfg/vesafb"
|
||||||
|
|
||||||
COMPATIBLE_MACHINE_crownbay-noemgd = "crownbay-noemgd"
|
COMPATIBLE_MACHINE_crownbay-noemgd = "crownbay-noemgd"
|
||||||
KMACHINE_crownbay-noemgd = "crownbay"
|
KMACHINE_crownbay-noemgd = "crownbay"
|
||||||
KBRANCH_crownbay-noemgd = "standard/crownbay"
|
KBRANCH_crownbay-noemgd = "standard/crownbay"
|
||||||
|
KERNEL_FEATURES_append_crownbay-noemgd = " cfg/vesafb"
|
||||||
</literallayout>
|
</literallayout>
|
||||||
The <filename>KBRANCH_*</filename> statements identify the kernel branch to
|
The <filename>KBRANCH_*</filename> statements identify
|
||||||
use when building for the Crown Bay BSP.
|
the kernel branch to use when building for the Crown
|
||||||
In this case there are two identical statements: one for each type of
|
Bay BSP.
|
||||||
Crown Bay machine.
|
In this case there are two identical statements: one
|
||||||
|
for each type of Crown Bay machine.
|
||||||
</para>
|
</para>
|
||||||
</glossdef>
|
</glossdef>
|
||||||
</glossentry>
|
</glossentry>
|
||||||
|
|||||||
Reference in New Issue
Block a user