From 545f79bfdd85c98c4a5901334e77534b49ccc631 Mon Sep 17 00:00:00 2001 From: scott-lenovo Date: Tue, 8 Jan 2013 05:48:27 -0800 Subject: kernel-ref: Edits to Recipe-Space Metadata" section. This is the first serious re-write of the text from the original. Edits to make it more readable. (From yocto-docs rev: 21c77fdfc9ae1a02b1d02fb113324c96c6aecb5e) Signed-off-by: scott-lenovo Signed-off-by: Richard Purdie --- documentation/kernel-dev/kernel-dev-advanced.xml | 29 ++++++++++++------------ 1 file changed, 14 insertions(+), 15 deletions(-) (limited to 'documentation') diff --git a/documentation/kernel-dev/kernel-dev-advanced.xml b/documentation/kernel-dev/kernel-dev-advanced.xml index 18238c75c2..87819903bb 100644 --- a/documentation/kernel-dev/kernel-dev-advanced.xml +++ b/documentation/kernel-dev/kernel-dev-advanced.xml @@ -344,22 +344,24 @@ described in the following sections applies equally. Recipe-Space Metadata - When stored in recipe-space, the metadata files reside in a + When stored in recipe-space, the kernel Metadata files reside in a directory hierarchy below - FILESEXTRAPATHS, - which is typically set to - ${THISDIR}/${PN} - for a linux-yocto or linux-yocto-custom derived Linux kernel - recipe. + FILESEXTRAPATHS. + For a linux-yocto recipe or for a Linux kernel recipe derived + by copying and modifying + oe-core/meta-skeleton/recipes-kernel/linux/linux-yocto-custom.bb + to a recipe in your layer, FILESEXTRAPATHS + is typically set to + ${THISDIR}/${PN}. See the "Modifying an Existing Recipe" section for more information. - By way of example, a trivial tree of metadata stored in - recipe-space within a BSP layer might look like the following: + Here is an example that shows a trivial tree of kernel Metadata + stored in recipe-space within a BSP layer: - meta/ + meta-my_bsp_layer/ `-- recipes-kernel `-- linux `-- linux-yocto @@ -370,12 +372,9 @@ described in the following sections applies equally. - When the metadata is stored in recipe-space, you must take + When the Metadata is stored in recipe-space, you must take steps to ensure BitBake has the necessary information to decide - which files to fetch and when they need to be fetched again. - - - + what files to fetch and when they need to be fetched again. It is only necessary to specify the .scc files on the SRC_URI. @@ -385,7 +384,7 @@ described in the following sections applies equally. Because of this, it is necessary to bump the recipe PR value when changing the content of files not explicitly listed - in the SRC_URI. + in the SRC_URI. -- cgit v1.2.3-54-g00ecf