From 00557ab7d5792cfc72db8d7886234885d077d205 Mon Sep 17 00:00:00 2001 From: scott-lenovo Date: Wed, 2 Jan 2013 15:30:53 -0800 Subject: kernel-dev: General edits up to section 2.4. (From yocto-docs rev: 2df095c98a6fa034cb39f952db27d1ab55849000) Signed-off-by: scott-lenovo Signed-off-by: Richard Purdie --- documentation/kernel-dev/kernel-dev-common.xml | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) (limited to 'documentation') diff --git a/documentation/kernel-dev/kernel-dev-common.xml b/documentation/kernel-dev/kernel-dev-common.xml index ed513ea36d..31a7743c17 100644 --- a/documentation/kernel-dev/kernel-dev-common.xml +++ b/documentation/kernel-dev/kernel-dev-common.xml @@ -29,7 +29,7 @@ from within your custom layer that is independent from layers released with the Yocto Project. For details on how to create and work with layers, see the following - sections: + sections in the Yocto Project Development Manual: "Understanding and Creating Layers" for general information on layers and how to create them. @@ -40,13 +40,14 @@ + Original text: Customizing recipes is best done in a layer with bbappend files. Layers also provide a convenient mechanism to create your own recipes. This guide assumes you will be working from within a layer independent from those released with the Yocto Project. For details on how to create and work with layers, refer to section 5.1 Understanding and Creating Layers in the Yocto Project Development -Manual. +Manual. (Kernel specific directions in 5.7.4) @@ -88,7 +89,7 @@ Manual. The append file should initially contain the following text: - FILESEXTRAPATHS := "${THISDIR}/${PN}" + FILESEXTRAPATHS := "${THISDIR}/${PN}" The path ${THISDIR}/${PN} expands to "linux-yocto" in the current directory for this example. @@ -207,7 +208,7 @@ apply the patches before rebuilding the Linux kernel. Generally speaking, the preferred approach is to determine the incremental change you want to make and add that as a fragment. - For example, if you wanted to add support for a basic serial + For example, if you want to add support for a basic serial console, create a file named 8250.cfg in the ${FILES} directory with the following content (without indentation): @@ -277,8 +278,8 @@ apply the new configuration before rebuilding the Linux kernel. During an iterative workflow, running a previously completed BitBake task causes BitBake to invalidate the tasks that follow that task in the build sequence. - This invalidation causes the tasks to rebuild the next - time you invoke the build. + Invalidated tasks rebuild the next time you run the build using + BitBake. @@ -351,8 +352,8 @@ working with. $ bitbake linux-yocto -c menuconfig - Prepare a configuration fragment from - using the differences between the two files. + Prepare a configuration fragment based on + the differences between the two files. @@ -375,7 +376,7 @@ working with. You can also use this method to create configuration fragments for a BSP. See the "BSP Descriptions" - for more information. + section for more information. @@ -874,7 +875,7 @@ details. include the module in your images. To do this, see the documentation for the following variables in the Yocto Project Reference Manual and set one of them as - appropriate in your machine config file: + appropriate in your machine configuration file: MACHINE_ESSENTIAL_EXTRA_RDEPENDS -- cgit v1.2.3-54-g00ecf