summaryrefslogtreecommitdiffstats
path: root/documentation/ref-manual
diff options
context:
space:
mode:
authorMichael Opdenacker <michael.opdenacker@bootlin.com>2023-06-07 17:49:52 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-06-24 12:23:01 +0100
commit00016cecc43437415e0414d4f87cd1b90d1a637d (patch)
treef23825e99c96fceac2e9bd767774d017e63070f3 /documentation/ref-manual
parent2aa3af4de3a0d0a9c98c0e9c853ce2cdd03e9c8c (diff)
downloadpoky-00016cecc43437415e0414d4f87cd1b90d1a637d.tar.gz
ref-manual: variables.rst: explicit variables accepting colon separated lists
[YOCTO 15128] (From yocto-docs rev: af5f4bfd213d2678c0f0463ddff321980d6c9669) Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Reviewed-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Reported-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Reviewed-by: Quentin Schulz <foss+yocto@0leil.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/ref-manual')
-rw-r--r--documentation/ref-manual/variables.rst39
1 files changed, 22 insertions, 17 deletions
diff --git a/documentation/ref-manual/variables.rst b/documentation/ref-manual/variables.rst
index cba3cf5d07..8ac46f9e73 100644
--- a/documentation/ref-manual/variables.rst
+++ b/documentation/ref-manual/variables.rst
@@ -2200,6 +2200,11 @@ system and gives an overview of their function and contents.
2200 is included in the default value of 2200 is included in the default value of
2201 :term:`OVERRIDES`. 2201 :term:`OVERRIDES`.
2202 2202
2203 Here is an example from :yocto_git:`meta-poky/conf/distro/poky-tiny.conf
2204 </poky/tree/meta-poky/conf/distro/poky-tiny.conf>`::
2205
2206 DISTROOVERRIDES = "poky:poky-tiny"
2207
2203 :term:`DL_DIR` 2208 :term:`DL_DIR`
2204 The central download directory used by the build process to store 2209 The central download directory used by the build process to store
2205 downloads. By default, :term:`DL_DIR` gets files suitable for mirroring 2210 downloads. By default, :term:`DL_DIR` gets files suitable for mirroring
@@ -2756,12 +2761,11 @@ system and gives an overview of their function and contents.
2756 FILES_SOLIBSDEV ?= "${base_libdir}/lib*${SOLIBSDEV} ${libdir}/lib*${SOLIBSDEV}" 2761 FILES_SOLIBSDEV ?= "${base_libdir}/lib*${SOLIBSDEV} ${libdir}/lib*${SOLIBSDEV}"
2757 2762
2758 :term:`FILESEXTRAPATHS` 2763 :term:`FILESEXTRAPATHS`
2759 Extends the search path the OpenEmbedded build system uses when 2764 A colon-separated list to extend the search path the OpenEmbedded build
2760 looking for files and patches as it processes recipes and append 2765 system uses when looking for files and patches as it processes recipes
2761 files. The default directories BitBake uses when it processes recipes 2766 and append files. The default directories BitBake uses when it processes
2762 are initially defined by the :term:`FILESPATH` 2767 recipes are initially defined by the :term:`FILESPATH` variable. You can
2763 variable. You can extend :term:`FILESPATH` variable by using 2768 extend :term:`FILESPATH` variable by using :term:`FILESEXTRAPATHS`.
2764 :term:`FILESEXTRAPATHS`.
2765 2769
2766 Best practices dictate that you accomplish this by using 2770 Best practices dictate that you accomplish this by using
2767 :term:`FILESEXTRAPATHS` from within a ``.bbappend`` file and that you 2771 :term:`FILESEXTRAPATHS` from within a ``.bbappend`` file and that you
@@ -2822,12 +2826,12 @@ system and gives an overview of their function and contents.
2822 recipe to correctly extend the path. 2826 recipe to correctly extend the path.
2823 2827
2824 :term:`FILESOVERRIDES` 2828 :term:`FILESOVERRIDES`
2825 A subset of :term:`OVERRIDES` used by the OpenEmbedded build system for 2829 A colon-separated list to specify a subset of :term:`OVERRIDES` used by
2826 creating :term:`FILESPATH`. The :term:`FILESOVERRIDES` variable uses 2830 the OpenEmbedded build system for creating :term:`FILESPATH`. The
2827 overrides to automatically extend the :term:`FILESPATH` variable. For an 2831 :term:`FILESOVERRIDES` variable uses overrides to automatically extend
2828 example of how that works, see the :term:`FILESPATH` variable 2832 the :term:`FILESPATH` variable. For an example of how that works, see the
2829 description. Additionally, you find more information on how overrides 2833 :term:`FILESPATH` variable description. Additionally, you find more
2830 are handled in the 2834 information on how overrides are handled in the
2831 ":ref:`bitbake-user-manual/bitbake-user-manual-metadata:conditional syntax (overrides)`" 2835 ":ref:`bitbake-user-manual/bitbake-user-manual-metadata:conditional syntax (overrides)`"
2832 section of the BitBake User Manual. 2836 section of the BitBake User Manual.
2833 2837
@@ -2842,8 +2846,8 @@ system and gives an overview of their function and contents.
2842 build system. 2846 build system.
2843 2847
2844 :term:`FILESPATH` 2848 :term:`FILESPATH`
2845 The default set of directories the OpenEmbedded build system uses 2849 A colon-separated list specifying the default set of directories the
2846 when searching for patches and files. 2850 OpenEmbedded build system uses when searching for patches and files.
2847 2851
2848 During the build process, BitBake searches each directory in 2852 During the build process, BitBake searches each directory in
2849 :term:`FILESPATH` in the specified order when looking for files and 2853 :term:`FILESPATH` in the specified order when looking for files and
@@ -7577,9 +7581,10 @@ system and gives an overview of their function and contents.
7577 SKIP_RECIPE[myrecipe] = "Not supported by our organization." 7581 SKIP_RECIPE[myrecipe] = "Not supported by our organization."
7578 7582
7579 :term:`SOC_FAMILY` 7583 :term:`SOC_FAMILY`
7580 Groups together machines based upon the same family of SOC (System On 7584 A colon-separated list grouping together machines based upon the same
7581 Chip). You typically set this variable in a common ``.inc`` file that 7585 family of SoC (System On Chip). You typically set this variable in a
7582 you include in the configuration files of all the machines. 7586 common ``.inc`` file that you include in the configuration files of all
7587 the machines.
7583 7588
7584 .. note:: 7589 .. note::
7585 7590