From 554379870fab3552fad774c065c02fa295f02b08 Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Fri, 15 Feb 2019 10:24:34 -0800 Subject: ref-manual: Updates to FILESPATH and FILESOVERRIDES. Fixes [YOCTO #13112] Did some paragraph re-ordering based on reviewer feedback. Also, added a bit in the FILESOVERRIDES variable description about out it uses overrides to help with automatic overriding of the FILESPATH variable. Added some better links into the BitBake User Manual as well. (From yocto-docs rev: 6ad5c6f030501cda9bc8ea648d9d7c0e991f55cf) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- documentation/ref-manual/ref-variables.xml | 57 ++++++++++++++++-------------- 1 file changed, 31 insertions(+), 26 deletions(-) (limited to 'documentation/ref-manual/ref-variables.xml') diff --git a/documentation/ref-manual/ref-variables.xml b/documentation/ref-manual/ref-variables.xml index 84551cc23a..7b44685546 100644 --- a/documentation/ref-manual/ref-variables.xml +++ b/documentation/ref-manual/ref-variables.xml @@ -5012,9 +5012,14 @@ A subset of OVERRIDES used by the OpenEmbedded build system for creating FILESPATH. + The FILESOVERRIDES variable uses + overrides to automatically extend the + FILESPATH + variable. You can find more information on how overrides are handled in the - BitBake User Manual. + "Conditional Syntax (Overrides)" + section of the BitBake User Manual. @@ -5054,31 +5059,6 @@ statements. - - You can take advantage of this searching behavior in - useful ways. - For example, consider a case where the following - directory structure exists for general and machine-specific - configurations: - - files/defconfig - files/MACHINEA/defconfig - files/MACHINEB/defconfig - - Also in the example, the SRC_URI - statement contains "file://defconfig". - Given this scenario, you can set - MACHINE - to "MACHINEA" and cause the build system to use files - from files/MACHINEA. - Set MACHINE to "MACHINEB" and the - build system uses files from - files/MACHINEB. - Finally, for any machine other than "MACHINEA" and - "MACHINEB", the build system uses files from - files/defconfig. - - The default value for the FILESPATH variable is defined in the base.bbclass @@ -5121,6 +5101,31 @@ + + You can take advantage of this searching behavior in + useful ways. + For example, consider a case where the following + directory structure exists for general and machine-specific + configurations: + + files/defconfig + files/MACHINEA/defconfig + files/MACHINEB/defconfig + + Also in the example, the SRC_URI + statement contains "file://defconfig". + Given this scenario, you can set + MACHINE + to "MACHINEA" and cause the build system to use files + from files/MACHINEA. + Set MACHINE to "MACHINEB" and the + build system uses files from + files/MACHINEB. + Finally, for any machine other than "MACHINEA" and + "MACHINEB", the build system uses files from + files/defconfig. + + You can find out more about the patching process in the "Patching" -- cgit v1.2.3-54-g00ecf