diff options
| -rw-r--r-- | documentation/ref-manual/structure.rst | 35 |
1 files changed, 33 insertions, 2 deletions
diff --git a/documentation/ref-manual/structure.rst b/documentation/ref-manual/structure.rst index e4d8b54bb9..bbeda78c79 100644 --- a/documentation/ref-manual/structure.rst +++ b/documentation/ref-manual/structure.rst | |||
| @@ -484,6 +484,30 @@ the ":ref:`sdk-manual/appendix-obtain:building an sdk installer`" | |||
| 484 | section in the Yocto Project Application Development and the Extensible | 484 | section in the Yocto Project Application Development and the Extensible |
| 485 | Software Development Kit (eSDK) manual. | 485 | Software Development Kit (eSDK) manual. |
| 486 | 486 | ||
| 487 | .. _structure-build-tmp-hosttools: | ||
| 488 | |||
| 489 | ``build/tmp/hosttools/`` | ||
| 490 | ~~~~~~~~~~~~~~~~~~~~~~~~ | ||
| 491 | |||
| 492 | The OpenEmbedded build system uses this directory to create symbolic links to | ||
| 493 | some of the host components that are allowed to be called within tasks. These | ||
| 494 | are basic components listed in the :ref:`ref-manual/system-requirements:required | ||
| 495 | packages for the build host` section. These components are also listed in the | ||
| 496 | :term:`HOSTTOOLS` variable and are limited to this list to prevent host | ||
| 497 | contamination. | ||
| 498 | |||
| 499 | .. _structure-build-tmp-pkgdata: | ||
| 500 | |||
| 501 | ``build/tmp/pkgdata/`` | ||
| 502 | ~~~~~~~~~~~~~~~~~~~~~~ | ||
| 503 | |||
| 504 | The OpenEmbedded build system uses this directory to store package metadata | ||
| 505 | generated during the :ref:`ref-tasks-packagedata` task. The files stored in this | ||
| 506 | directory contain information about each output package produced by the | ||
| 507 | OpenEmbedded build system, and are used in different ways by the build system | ||
| 508 | such as ":ref:`dev-manual/debugging:viewing package information with | ||
| 509 | \`\`oe-pkgdata-util\`\``". | ||
| 510 | |||
| 487 | .. _structure-build-tmp-sstate-control: | 511 | .. _structure-build-tmp-sstate-control: |
| 488 | 512 | ||
| 489 | ``build/tmp/sstate-control/`` | 513 | ``build/tmp/sstate-control/`` |
| @@ -657,8 +681,15 @@ Here are key subdirectories within each recipe work directory: | |||
| 657 | 681 | ||
| 658 | For efficiency, the OpenEmbedded build system creates and uses this | 682 | For efficiency, the OpenEmbedded build system creates and uses this |
| 659 | directory to hold recipes that share a work directory with other | 683 | directory to hold recipes that share a work directory with other |
| 660 | recipes. In practice, this is only used for ``gcc`` and its variants | 684 | recipes. This is for example used for ``gcc`` and its variants (e.g. |
| 661 | (e.g. ``gcc-cross``, ``libgcc``, ``gcc-runtime``, and so forth). | 685 | ``gcc-cross``, ``libgcc``, ``gcc-runtime``, and so forth), or by the |
| 686 | :ref:`ref-classes-kernel` class to make the kernel source code and kernel build | ||
| 687 | artifacts available to out-of-tree kernel modules or other kernel-dependent | ||
| 688 | recipes. | ||
| 689 | |||
| 690 | In practice, only a few recipes make use of the ``work-shared`` directory. This | ||
| 691 | directory is especially useful for recipes that would induce a lot of storage | ||
| 692 | space if they were to be shared with the standard :term:`Sysroot` mechanism. | ||
| 662 | 693 | ||
| 663 | .. _structure-meta: | 694 | .. _structure-meta: |
| 664 | 695 | ||
