diff options
Diffstat (limited to 'documentation/ref-manual/structure.rst')
-rw-r--r-- | documentation/ref-manual/structure.rst | 46 |
1 files changed, 43 insertions, 3 deletions
diff --git a/documentation/ref-manual/structure.rst b/documentation/ref-manual/structure.rst index e4d8b54bb9..d6dbb29401 100644 --- a/documentation/ref-manual/structure.rst +++ b/documentation/ref-manual/structure.rst | |||
@@ -335,6 +335,15 @@ Once the build process gets the sample file, it uses ``sed`` to substitute final | |||
335 | version of the ``bblayers.conf.sample`` file in the ``meta-poky/conf/templates/default`` | 335 | version of the ``bblayers.conf.sample`` file in the ``meta-poky/conf/templates/default`` |
336 | directory. | 336 | directory. |
337 | 337 | ||
338 | .. _structure-build-conf-bblock.conf: | ||
339 | |||
340 | ``build/conf/bblock.conf`` | ||
341 | -------------------------- | ||
342 | |||
343 | This configuration file is generated by :doc:`bblock </dev-manual/bblock>` and | ||
344 | contains the signatures locked by ``bblock``. By default, it does not exist | ||
345 | and will be created upon the first invocation of ``bblock``. | ||
346 | |||
338 | .. _structure-build-downloads: | 347 | .. _structure-build-downloads: |
339 | 348 | ||
340 | ``build/downloads/`` | 349 | ``build/downloads/`` |
@@ -484,6 +493,30 @@ the ":ref:`sdk-manual/appendix-obtain:building an sdk installer`" | |||
484 | section in the Yocto Project Application Development and the Extensible | 493 | section in the Yocto Project Application Development and the Extensible |
485 | Software Development Kit (eSDK) manual. | 494 | Software Development Kit (eSDK) manual. |
486 | 495 | ||
496 | .. _structure-build-tmp-hosttools: | ||
497 | |||
498 | ``build/tmp/hosttools/`` | ||
499 | ~~~~~~~~~~~~~~~~~~~~~~~~ | ||
500 | |||
501 | The OpenEmbedded build system uses this directory to create symbolic links to | ||
502 | some of the host components that are allowed to be called within tasks. These | ||
503 | are basic components listed in the :ref:`ref-manual/system-requirements:required | ||
504 | packages for the build host` section. These components are also listed in the | ||
505 | :term:`HOSTTOOLS` variable and are limited to this list to prevent host | ||
506 | contamination. | ||
507 | |||
508 | .. _structure-build-tmp-pkgdata: | ||
509 | |||
510 | ``build/tmp/pkgdata/`` | ||
511 | ~~~~~~~~~~~~~~~~~~~~~~ | ||
512 | |||
513 | The OpenEmbedded build system uses this directory to store package metadata | ||
514 | generated during the :ref:`ref-tasks-packagedata` task. The files stored in this | ||
515 | directory contain information about each output package produced by the | ||
516 | OpenEmbedded build system, and are used in different ways by the build system | ||
517 | such as ":ref:`dev-manual/debugging:viewing package information with | ||
518 | ``oe-pkgdata-util```". | ||
519 | |||
487 | .. _structure-build-tmp-sstate-control: | 520 | .. _structure-build-tmp-sstate-control: |
488 | 521 | ||
489 | ``build/tmp/sstate-control/`` | 522 | ``build/tmp/sstate-control/`` |
@@ -578,7 +611,7 @@ example, consider ``linux-yocto-kernel-3.0`` on the machine ``qemux86`` | |||
578 | built within the Yocto Project. For this package, a work directory of | 611 | built within the Yocto Project. For this package, a work directory of |
579 | ``tmp/work/qemux86-poky-linux/linux-yocto/3.0+git1+<.....>``, referred | 612 | ``tmp/work/qemux86-poky-linux/linux-yocto/3.0+git1+<.....>``, referred |
580 | to as the :term:`WORKDIR`, is created. Within this directory, the source is | 613 | to as the :term:`WORKDIR`, is created. Within this directory, the source is |
581 | unpacked to ``linux-qemux86-standard-build`` and then patched by Quilt. | 614 | unpacked to ``sources/linux-qemux86-standard-build`` and then patched by Quilt. |
582 | (See the ":ref:`dev-manual/quilt:using quilt in your workflow`" section in | 615 | (See the ":ref:`dev-manual/quilt:using quilt in your workflow`" section in |
583 | the Yocto Project Development Tasks Manual for more information.) Within | 616 | the Yocto Project Development Tasks Manual for more information.) Within |
584 | the ``linux-qemux86-standard-build`` directory, standard Quilt | 617 | the ``linux-qemux86-standard-build`` directory, standard Quilt |
@@ -657,8 +690,15 @@ Here are key subdirectories within each recipe work directory: | |||
657 | 690 | ||
658 | For efficiency, the OpenEmbedded build system creates and uses this | 691 | For efficiency, the OpenEmbedded build system creates and uses this |
659 | directory to hold recipes that share a work directory with other | 692 | directory to hold recipes that share a work directory with other |
660 | recipes. In practice, this is only used for ``gcc`` and its variants | 693 | recipes. This is for example used for ``gcc`` and its variants (e.g. |
661 | (e.g. ``gcc-cross``, ``libgcc``, ``gcc-runtime``, and so forth). | 694 | ``gcc-cross``, ``libgcc``, ``gcc-runtime``, and so forth), or by the |
695 | :ref:`ref-classes-kernel` class to make the kernel source code and kernel build | ||
696 | artifacts available to out-of-tree kernel modules or other kernel-dependent | ||
697 | recipes. | ||
698 | |||
699 | In practice, only a few recipes make use of the ``work-shared`` directory. This | ||
700 | directory is especially useful for recipes that would induce a lot of storage | ||
701 | space if they were to be shared with the standard :term:`Sysroot` mechanism. | ||
662 | 702 | ||
663 | .. _structure-meta: | 703 | .. _structure-meta: |
664 | 704 | ||