From d6e89e7122c7d588cf3a505d4eb5f67fdb520a9d Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Thu, 16 Oct 2014 17:18:18 -0700 Subject: kernel-dev: Scrubbed and fixed all user-supplied input formatting. In the manual I was using angled brackets to denote user-supplied input values. This was confusing so I changed to using the tag pair. (From yocto-docs rev: dc73a78f11038a1ff04b16867e7513f31f02374b) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- documentation/kernel-dev/kernel-dev-advanced.xml | 35 +++++++++++----------- documentation/kernel-dev/kernel-dev-common.xml | 4 +-- documentation/kernel-dev/kernel-dev-maint-appx.xml | 6 ++-- 3 files changed, 23 insertions(+), 22 deletions(-) diff --git a/documentation/kernel-dev/kernel-dev-advanced.xml b/documentation/kernel-dev/kernel-dev-advanced.xml index 4a6aeb7..283f483 100644 --- a/documentation/kernel-dev/kernel-dev-advanced.xml +++ b/documentation/kernel-dev/kernel-dev-advanced.xml @@ -214,7 +214,7 @@ Here is an example that shows a trivial tree of kernel Metadata stored in recipe-space within a BSP layer: - meta-my_bsp_layer/ + meta-my_bsp_layer/ `-- recipes-kernel `-- linux `-- linux-yocto @@ -370,7 +370,7 @@ of Metadata. The following Metadata file hierarchy is recommended: - <base>/ + base/ bsp/ cfg/ features/ @@ -513,7 +513,7 @@ patch mypatch.patch patches/mypatch.patch: - <typical-patch> + typical-patch You can create the typical .patch file using diff -Nurp or @@ -968,37 +968,38 @@ hierarchical branching system similar to what the linux-yocto Linux kernel repositories use: - <common>/<kernel_type>/<machine> + common/kernel_type/machine If you had two kernel types, "standard" and "small" for - instance, and three machines, the branches in your + instance, three machines, and common + as mydir, the branches in your Git repository might look like this: - common/base - common/standard/base - common/standard/machine_a - common/standard/machine_b - common/standard/machine_c - common/small/base - common/small/machine_a + mydir/base + mydir/standard/base + mydir/standard/machine_a + mydir/standard/machine_b + mydir/standard/machine_c + mydir/small/base + mydir/small/machine_a This organization can help clarify the branch relationships. - In this case, common/standard/machine_a - includes everything in common/base and - common/standard/base. + In this case, mydir/standard/machine_a + includes everything in mydir/base and + mydir/standard/base. The "standard" and "small" branches add sources specific to those kernel types that for whatever reason are not appropriate for the other branches. The "base" branches are an artifact of the way Git manages its data internally on the filesystem: Git will not allow you - to use common/standard and - common/standard/machine_a because it + to use mydir/standard and + mydir/standard/machine_a because it would have to create a file and a directory named "standard". diff --git a/documentation/kernel-dev/kernel-dev-common.xml b/documentation/kernel-dev/kernel-dev-common.xml index 35e7d8b..58cc98d 100644 --- a/documentation/kernel-dev/kernel-dev-common.xml +++ b/documentation/kernel-dev/kernel-dev-common.xml @@ -88,7 +88,7 @@ recipe, the append file will typically be located as follows within your custom layer: - <your-layer>/recipes-kernel/linux/linux-yocto_3.4.bbappend + your-layer/recipes-kernel/linux/linux-yocto_3.4.bbappend The append file should initially extend the FILESPATH @@ -107,7 +107,7 @@ described above, you must place the files in your layer in the following area: - <your-layer>/recipes-kernel/linux/linux-yocto/ + your-layer/recipes-kernel/linux/linux-yocto/ If you are working on a new machine Board Support Package (BSP), be sure to refer to the diff --git a/documentation/kernel-dev/kernel-dev-maint-appx.xml b/documentation/kernel-dev/kernel-dev-maint-appx.xml index a7c144f..a72dcff 100644 --- a/documentation/kernel-dev/kernel-dev-maint-appx.xml +++ b/documentation/kernel-dev/kernel-dev-maint-appx.xml @@ -88,7 +88,7 @@ feature description in an .scc file whose name follows this format: - <bsp_name>-<kernel_type>.scc + bsp_name-kernel_type.scc Once located, the feature description is either compiled into a simple script @@ -157,7 +157,7 @@ A BSP build branch exists. This branch has the following form: - <kernel_type>/<bsp_name> + kernel_type/bsp_name @@ -194,7 +194,7 @@ ${MACHINE} is the metadata name of the machine (BSP) and "kernel_type" is one of the Yocto Project supported kernel types (e.g. "standard"): - linux-${MACHINE}-<kernel_type>-build + linux-${MACHINE}-kernel_type-build -- cgit v1.1