From b49a5ccc5b625abb97dd13bc43c6101eb13954dd Mon Sep 17 00:00:00 2001 From: "Robert P. J. Day" Date: Mon, 2 Mar 2015 08:27:29 -0800 Subject: kernel-dev: Clarify a couple minor things in kernel manual, ch 2. Some small changes to clarify how to change the configuration. (From yocto-docs rev: fce7c97abb69f15142dbadf90a90965a49ec3e0e) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- documentation/kernel-dev/kernel-dev-common.xml | 28 +++++++++++++++----------- 1 file changed, 16 insertions(+), 12 deletions(-) (limited to 'documentation/kernel-dev') diff --git a/documentation/kernel-dev/kernel-dev-common.xml b/documentation/kernel-dev/kernel-dev-common.xml index 56fa17d7d8..87cf2b3864 100644 --- a/documentation/kernel-dev/kernel-dev-common.xml +++ b/documentation/kernel-dev/kernel-dev-common.xml @@ -156,23 +156,27 @@ Changing the Configuration - You can make wholesale or incremental changes to the Linux - kernel .config file by including a - defconfig and by specifying + You can make wholesale or incremental changes to the final + .config file used for the eventual + Linux kernel configuration by including a + defconfig file and by specifying configuration fragments in the - SRC_URI. + SRC_URI + to be applied to that file. - If you have a final Linux kernel .config - file you want to use, copy it to a directory named - files, which must be in - your layer's recipes-kernel/linux - directory, and name the file "defconfig". - Then, add the following lines to your linux-yocto + If you have a complete, working Linux kernel + .config + file you want to use for the configuration, as before, copy + that file to the appropriate ${PN} + directory in your layer's + recipes-kernel/linux directory, + and rename the copied file to "defconfig". + Then, add the following lines to the linux-yocto .bbappend file in your layer: - FILESEXTRAPATHS_prepend := "${THISDIR}/files:" + FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" SRC_URI += "file://defconfig" The SRC_URI tells the build system how to @@ -181,7 +185,7 @@ extends the FILESPATH variable (search directories) to include the - files directory you created for the + ${PN} directory you created to hold the configuration changes. -- cgit v1.2.3-54-g00ecf