From 55323f53c0be84fa913e078bbaeea5ceb6fbd7a0 Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Wed, 17 Apr 2013 10:22:47 -0700 Subject: ref-manual: Updates to the FILESPATH variable. Added some more clarity about how this variable works and the implications for using the default setting from the base.bbclass file. Namely, if you are going to have the build system look for files in your layer and your layer uses an append file, then you need to also use the FILESEXTRAPATHS variable to extend FILESPATHS. (From yocto-docs rev: 2826fa6f9286efb1d5ca6cf85f65266a35bb8cfc) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- documentation/ref-manual/ref-variables.xml | 33 ++++++++++++++++++++---------- 1 file changed, 22 insertions(+), 11 deletions(-) (limited to 'documentation') diff --git a/documentation/ref-manual/ref-variables.xml b/documentation/ref-manual/ref-variables.xml index 1a751a9758..be15a447e6 100644 --- a/documentation/ref-manual/ref-variables.xml +++ b/documentation/ref-manual/ref-variables.xml @@ -1191,26 +1191,37 @@ Core layer for images cannot be removed FILESPATH - The default set of directories the OpenEmbedded build system uses - when searching for patches and files. + The default set of directories the OpenEmbedded build system + uses when searching for patches and files. During the build process, BitBake searches each directory in - FILESPATH in the specified order when looking for - files and patches specified by each file:// URI in a recipe. + FILESPATH in the specified order when + looking for files and patches specified by each + file:// URI in a recipe. - The default value for the FILESPATH variable is defined - in the base.bbclass class found in - meta/classes in the + The default value for the FILESPATH + variable is defined in the base.bbclass + class found in meta/classes in the Source Directory: FILESPATH = "${@base_set_filespath(["${FILE_DIRNAME}/${BP}", \ "${FILE_DIRNAME}/${BPN}", "${FILE_DIRNAME}/files"], d)}" - Do not hand-edit the FILESPATH variable. - If you want to extend the set of pathnames that BitBake uses when searching for - files and patches, use the - FILESEXTRAPATHS variable. + + Do not hand-edit the FILESPATH + variable. + + Be aware that the default FILESPATH + directories do not map to directories in custom layers + where append files (.bbappend) + are used. + If you want the build system to find patches or files + that reside with your append files, you need to extend + the FILESPATH variable by using + the + FILESEXTRAPATHS + variable. -- cgit v1.2.3-54-g00ecf