From a8f21965ebe043a6a86b62a3f56d8424a4894946 Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Mon, 2 Mar 2015 11:10:19 -0800 Subject: kernel-dev, ref-manual: Edits to KBRANCH. Applied some edits to the areas where KBRANCH is discussed. Clarified that setting it is not optional any longer. (From yocto-docs rev: 4d0b2d92140d066048d9ff36453c7ea589eebe55) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- documentation/kernel-dev/kernel-dev-advanced.xml | 28 ++++++++++++++---------- 1 file changed, 17 insertions(+), 11 deletions(-) (limited to 'documentation/kernel-dev') diff --git a/documentation/kernel-dev/kernel-dev-advanced.xml b/documentation/kernel-dev/kernel-dev-advanced.xml index 785076026d..9b35a422db 100644 --- a/documentation/kernel-dev/kernel-dev-advanced.xml +++ b/documentation/kernel-dev/kernel-dev-advanced.xml @@ -24,9 +24,9 @@ Using Kernel Metadata in a Recipe - The kernel sources in the Yocto Project contain kernel Metadata, which is - located in the meta branches of the kernel source - Git repositories. + The kernel sources in the Yocto Project contain kernel Metadata, which + is located in the meta branches of the kernel + source Git repositories. This Metadata defines Board Support Packages (BSPs) that correspond to definitions in linux-yocto recipes for the same BSPs. A BSP consists of an aggregation of kernel policy and hardware-specific @@ -60,21 +60,27 @@ for more information. + + Every linux-yocto style recipe must also indicate the Linux kernel + source repository branch used to build the Linux kernel. + The KBRANCH + variable must be set to indicate the branch. + + You can use the KBRANCH value to define an + alternate branch typically with a machine override as follows: + + KBRANCH_fri2 ?= "standard/fri2" + + + + The linux-yocto style recipes can optionally define the following variables: - KBRANCH KERNEL_FEATURES LINUX_KERNEL_TYPE - KBRANCH defines the Linux kernel source - repository's branch to use to build the Linux kernel. - You can use the value to define an alternate branch typically with a - machine override as follows: - - KBRANCH_fri2 ?= "standard/fri2" - -- cgit v1.2.3-54-g00ecf