From eb576addf539e75295c34352ad73a27242156978 Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Wed, 23 Jan 2013 13:36:00 -0800 Subject: kernel-dev: Links and edits to the Common Tasks chapter. (From yocto-docs rev: 46cd5eabe2343897eb9b4822064735bf335beb47) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- documentation/kernel-dev/kernel-dev-common.xml | 28 ++++++++++++++++---------- 1 file changed, 17 insertions(+), 11 deletions(-) (limited to 'documentation') diff --git a/documentation/kernel-dev/kernel-dev-common.xml b/documentation/kernel-dev/kernel-dev-common.xml index 475149368b..f6c027e7c5 100644 --- a/documentation/kernel-dev/kernel-dev-common.xml +++ b/documentation/kernel-dev/kernel-dev-common.xml @@ -7,7 +7,7 @@ Common Tasks - This chapter presents several common tasks that are performed when you + This chapter presents several common tasks you perform when you work with the Yocto Project Linux kernel. These tasks include preparing a layer, modifying an existing recipe, iterative development, working with your own sources, and incorporating @@ -29,7 +29,7 @@ sections in the Yocto Project Development Manual: "Understanding and Creating Layers" for - general information on layers and how to create them. + general information on layers and how to create layers. "Get Your Layer Setup for the Build" for specific instructions on setting up a layer for kernel development. @@ -238,7 +238,7 @@ The resulting .config file is located in ${WORKDIR} under the - linux-${MACHINE}-${KTYPE}-build directory. + linux-${MACHINE}-${KTYPE}-build directory. You can use the entire .config file as the defconfig file as described in the "Changing the Configuration" section. @@ -612,11 +612,14 @@ The important point to note here is the - KERNEL_SRC variable. - The module bbclass sets this variable, - as well as the KERNEL_PATH variable - to ${STAGING_KERNEL_DIR} with the - necessary Linux kernel build information to build modules. + KERNEL_SRC + variable. + The class module.bbclass sets this variable, + as well as the + KERNEL_PATH + variable to + ${STAGING_KERNEL_DIR} + with the necessary Linux kernel build information to build modules. If your module Makefile uses a different variable, you might want to override the do_compile() step, or create a patch to @@ -656,9 +659,12 @@ - Because the variable is RRECOMMENDS and not - a RDEPENDS variable, the build will not fail - if this module is not available to include in the image. + Because the variable is + RRECOMMENDS + and not a + RDEPENDS + variable, the build will not fail if this module is not available + to include in the image. -- cgit v1.2.3-54-g00ecf