summaryrefslogtreecommitdiffstats
path: root/documentation
diff options
context:
space:
mode:
authorAntonin Godard <antonin.godard@bootlin.com>2025-10-30 15:18:18 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-11-07 13:15:33 +0000
commitcc9693d76ff3772735030a06023eb1f7b5501df1 (patch)
treef9ada5cefdd891fd12a74dd7cb6aafff85c133e0 /documentation
parent4a433280ab82c46ce2e9152ef392c3b06399d6f9 (diff)
downloadpoky-cc9693d76ff3772735030a06023eb1f7b5501df1.tar.gz
ref-manual/structure.rst: document the site.conf file
This was not documented and its usage is going to increase massively once users start using bitbake-setup. Add a description for this file as well as an example on how bitbake-setup shares it for multiple builds, to insist on the "site-wide" usage of this file. (From yocto-docs rev: 42f68f7de7f0cf74ebdd31fae3173dd3a80386ff) Signed-off-by: Antonin Godard <antonin.godard@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation')
-rw-r--r--documentation/ref-manual/structure.rst29
1 files changed, 29 insertions, 0 deletions
diff --git a/documentation/ref-manual/structure.rst b/documentation/ref-manual/structure.rst
index a2f2fd4507..f0205f0e5c 100644
--- a/documentation/ref-manual/structure.rst
+++ b/documentation/ref-manual/structure.rst
@@ -343,6 +343,35 @@ Once the build process gets the sample file, it uses ``sed`` to substitute final
343 version of the ``bblayers.conf.sample`` file in the ``meta-poky/conf/templates/default`` 343 version of the ``bblayers.conf.sample`` file in the ``meta-poky/conf/templates/default``
344 directory. 344 directory.
345 345
346.. _structure-build-conf-site.conf:
347
348``build/conf/site.conf``
349========================
350
351This configuration file contains the site specific configurations for your build
352environment.
353
354You could for example edit this file to limit the number of threads used by
355:term:`BitBake` (:term:`BB_NUMBER_THREADS`) or set the location from which you
356want to access downloaded files (:term:`DL_DIR`).
357
358This file can be shared for multiple build directories. For example,
359``bitbake-setup`` makes the :ref:`structure-build-conf-site.conf` file a
360symbolic link to a common ``site.conf`` file::
361
362 ├── poky-master-poky-distro_poky-machine_qemux86-64/
363 │   └── build/
364 │      └── conf/
365 │         └── site.conf -> ../../../site.conf
366 ├── poky-master-poky-with-sstate-distro_poky-machine_qemux86-64/
367 │   └── build/
368 │      └── conf/
369 │         └── site.conf -> ../../../site.conf
370 └── site.conf
371
372This way, site-specific settings can be shared for multiple build
373configurations.
374
346.. _structure-build-conf-bblock.conf: 375.. _structure-build-conf-bblock.conf:
347 376
348``build/conf/bblock.conf`` 377``build/conf/bblock.conf``