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.