From b34a14014c929b5672f6ff9f5b22a0720f5dcdc3 Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Mon, 14 Jan 2013 11:52:28 -0800 Subject: kernel-dev: Edits to the "Working with your Own Sources" section. Final tweaks to this list of variables. (From yocto-docs rev: d494c8b06a623ef4930e206dd8e5689c8a9d4923) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- documentation/kernel-dev/kernel-dev-common.xml | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) (limited to 'documentation') diff --git a/documentation/kernel-dev/kernel-dev-common.xml b/documentation/kernel-dev/kernel-dev-common.xml index 3645a5acdd..96c7933805 100644 --- a/documentation/kernel-dev/kernel-dev-common.xml +++ b/documentation/kernel-dev/kernel-dev-common.xml @@ -449,9 +449,10 @@ To help you use your own sources, the Yocto Project provides a linux-yocto custom recipe - linux-yocto-custom.bb that uses + (linux-yocto-custom.bb) that uses kernel.org sources - and the Yocto Project Linux kernel tools for managing Metadata. + and the Yocto Project Linux kernel tools for managing + kernel Metadata. You can find this recipe in the poky Git repository of the Yocto Project Source Repository @@ -469,7 +470,7 @@ The name should include the version of the Linux kernel you are using (e.g. linux-yocto-myproject_3.5.bb, where "3.5" is the base version of the Linux kernel - with which you would be working. + with which you would be working). In the same directory inside your layer, create a matching directory to store your patches and configuration files (e.g. @@ -489,7 +490,7 @@ LINUX_VERSION: The Linux kernel version you are using (e.g. - "3.6.3"). + "3.4"). LINUX_VERSION_EXTENSION: The Linux kernel CONFIG_LOCALVERSION that is compiled into the resulting kernel and visible @@ -508,8 +509,11 @@ The default PV assignment is typically adequate. It combines the LINUX_VERSION - with the SCM revision (from the SRCPV variable) - and results in a string using the following form: + with the Source Control Manager (SCM) revision + as derived from the SRCPV + variable. + The combined results are a string with + the following form: 3.4.11+git1+68a635bf8dfb64b02263c1ac80c948647cc76d5f_1+218bd8d2022b9852c60d32f0d770931e3cf343e2 @@ -522,7 +526,8 @@ This variable in the example recipe is set by default to a regular expression that matches only the empty string, "(^$)". - This default setting triggers an explicit build failure. + This default setting triggers an explicit build + failure. You must change it to match a list of the machines that your new recipe supports. For example, to support the qemux86 -- cgit v1.2.3-54-g00ecf