summaryrefslogtreecommitdiffstats
path: root/documentation/ref-manual/structure.rst
diff options
context:
space:
mode:
Diffstat (limited to 'documentation/ref-manual/structure.rst')
-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``