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/