From 4db23d60007d06197b9387555efc503398655b19 Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Mon, 5 Mar 2012 11:19:15 -0600 Subject: documentation/poky-ref-manual/ref-variables.xml: New glossary entries Added glossary entries for FILESPATH and FILESEXTRAPATHS. Although the user is not supposed to manually edit FILESPATH, the entry is necessary I feel in order to better understand the FILESEXTRAPATHS variable. (From yocto-docs rev: 67357174148859ace6bf605c3ebc0bf49b761753) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- documentation/poky-ref-manual/ref-variables.xml | 65 +++++++++++++++++++++++++ 1 file changed, 65 insertions(+) (limited to 'documentation/poky-ref-manual') diff --git a/documentation/poky-ref-manual/ref-variables.xml b/documentation/poky-ref-manual/ref-variables.xml index fe1c63528c..8356cb4a5c 100644 --- a/documentation/poky-ref-manual/ref-variables.xml +++ b/documentation/poky-ref-manual/ref-variables.xml @@ -613,6 +613,71 @@ + FILESEXTRAPATHS + + + Extends the search path the Yocto Project build system uses when + looking for files and patches as it processes recipes. + The directories BitBake uses when it processes recipes is defined by the + FILESPATH variable. + You can add directories to the search path by defining the + FILESEXTRAPATHS variable. + + + + To add paths to the search order, provide a list of directories and separate + each path using a colon character as follows: + + FILESEXTRAPATHS_prepend := "path_1:path_2:path_3:" + + Typically, you want your directories search first. + To make sure that happens, use _prepend and + the immediate expansion (:=) operator as shown in the + previous example. + Finally, to maintain the integrity of the FILESPATH variable, + you must inclued the appropriate beginning or ending (as needed) colon character. + + + + The FILESEXTRAPATHS variable is intended for use in + .bbappend files to include any additional files provided in that layer. + You typically accomplish this with the following: + + FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" + + + + + + FILESPATH + + + The default set of directories the Yocto Project 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. + + + + The default value for the FILESPATH variable is defined + in the base.bbclass class found in + meta/classes in the + Yocto Project Files: + +FILESPATH = "${@base_set_filespath([ "${FILE_DIRNAME}/${PF}", \ + "${FILE_DIRNAME}/${P}", "${FILE_DIRNAME}/${PN}", \ + "${FILE_DIRNAME}/${BP}", "${FILE_DIRNAME}/${BPN}", \ + "${FILE_DIRNAME}/files", "${FILE_DIRNAME}" ], 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. + + + + FILESYSTEM_PERMS_TABLES Allows you to define your own file permissions settings table as part of -- cgit v1.2.3-54-g00ecf