From 68deb6c14f4f0fb04020a773bca2e88f4dcf0c2d Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Mon, 13 May 2013 15:07:05 +0300 Subject: kernel-dev: Updates to "Creating the Append File" section. Pointed out by Robert P. J. Day that I was using the wrong FILESEXTRAPATHS example for an append file. I failed to include the "_prepend" part of the variable. Also, the wording based on the example made some assumptions and was not entirely accurate. The changes I put in made the section very specific. Reported-by: Robert P. J. Day (From yocto-docs rev: 659c5a9c41a92f469ea0ea3630e11b4ba2df8f56) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- documentation/kernel-dev/kernel-dev-common.xml | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 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 6f39a70dff..e18eb31923 100644 --- a/documentation/kernel-dev/kernel-dev-common.xml +++ b/documentation/kernel-dev/kernel-dev-common.xml @@ -88,14 +88,21 @@ <your-layer>/recipes-kernel/linux/linux-yocto_3.4.bbappend - The append file should initially contain the following text: + The append file should initially extend the + FILESPATH + search path by prepending the directory that contains your + files to the + FILESEXTRAPATHS + variable as follows: - FILESEXTRAPATHS := "${THISDIR}/${PN}" + FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}" The path ${THISDIR}/${PN} expands to "linux-yocto" in the current directory for this example. - If you add any new files that modify the kernel recipe, - you need to place them in your layer in the following area: + If you add any new files that modify the kernel recipe and you + have extended FILESPATH as + described above, you must place the files in your layer in the + following area: <your-layer>/recipes-kernel/linux/linux-yocto/ -- cgit v1.2.3-54-g00ecf