diff options
author | Scott Rifenbark <srifenbark@gmail.com> | 2017-04-13 10:18:33 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-04-18 15:51:44 +0100 |
commit | 3db33448592f737515289edef6ed25d407fd8039 (patch) | |
tree | b1d5e4cc2ca19d4827210f304c244506bfc74853 /documentation/ref-manual/ref-variables.xml | |
parent | 1fa1a7f174593e41b8bcf6c2f19565d6da44e991 (diff) | |
download | poky-3db33448592f737515289edef6ed25d407fd8039.tar.gz |
ref-manual, dev-manual: Updates to support recipe-specific sysroots
Changes covered several areas. Version 2.3 of the YP now supports
recipe-specific sysroots and is not limited to machine-specific
as was prior releases. Manual changes were as follows:
dev-manual: "Sharing Files Between Recipes" - Wordings were changed
to support the new functionality.
ref-manual: do_prepare_recipe_sysroot task added to the list of
tasks described in "Configuration and Compilation".
ref-manual: Extensive re-write of the "staging.bbclass" section.
ref-manual: Added a section to the build structure for
build/tmp/work/tunearch/recipename/version/. This section breaks
down the recipe-specific subdirectories used to create (stage)
the sysroot.
ref-manual: New section (entry) for the do_prepare_recipe_sysroot
task in the task chapter.
ref-manual: Added a variable glossary description for the
SSTATE_SCAN_FILES variable.
In addition to these changes, I sprinkled in a liberal amount
of cross-referencing for the readers pleasure.
(From yocto-docs rev: 3a8ca96861f4c5d3badb91d0cdc5a3df513d4e59)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/ref-manual/ref-variables.xml')
-rw-r--r-- | documentation/ref-manual/ref-variables.xml | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/documentation/ref-manual/ref-variables.xml b/documentation/ref-manual/ref-variables.xml index 55f7a28c21..3699ae75bc 100644 --- a/documentation/ref-manual/ref-variables.xml +++ b/documentation/ref-manual/ref-variables.xml | |||
@@ -12776,6 +12776,35 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3" | |||
12776 | </glossdef> | 12776 | </glossdef> |
12777 | </glossentry> | 12777 | </glossentry> |
12778 | 12778 | ||
12779 | <glossentry id='var-SSTATE_SCAN_FILES'><glossterm>SSTATE_SCAN_FILES</glossterm> | ||
12780 | <info> | ||
12781 | SSTATE_SCAN_FILES[doc] = "Controls the list of files the OpenEmbedded build system scans for hardcoded installation paths." | ||
12782 | </info> | ||
12783 | <glossdef> | ||
12784 | <para role="glossdeffirst"> | ||
12785 | <!-- <para role="glossdeffirst"><imagedata fileref="figures/define-generic.png" /> --> | ||
12786 | Controls the list of files the OpenEmbedded build system | ||
12787 | scans for hardcoded installation paths. | ||
12788 | </para> | ||
12789 | |||
12790 | <para> | ||
12791 | During a build, the OpenEmbedded build system creates a | ||
12792 | shared state (sstate) object during the first stage of | ||
12793 | preparing the sysroots. | ||
12794 | During the build, the object is scanned for hardcoded paths | ||
12795 | for original installation locations. | ||
12796 | The list of files that are scanned for paths is controlled | ||
12797 | by the <filename>SSTATE_SCAN_FILES</filename> variable. | ||
12798 | </para> | ||
12799 | |||
12800 | <para> | ||
12801 | For details on the process, see the | ||
12802 | <link linkend='ref-classes-staging'><filename>staging</filename></link> | ||
12803 | class. | ||
12804 | </para> | ||
12805 | </glossdef> | ||
12806 | </glossentry> | ||
12807 | |||
12779 | <glossentry id='var-STAGING_BASE_LIBDIR_NATIVE'><glossterm>STAGING_BASE_LIBDIR_NATIVE</glossterm> | 12808 | <glossentry id='var-STAGING_BASE_LIBDIR_NATIVE'><glossterm>STAGING_BASE_LIBDIR_NATIVE</glossterm> |
12780 | <info> | 12809 | <info> |
12781 | STAGING_BASE_LIBDIR_NATIVE[doc] = "Specifies the path to the /lib subdirectory of the sysroot directory for the build host." | 12810 | STAGING_BASE_LIBDIR_NATIVE[doc] = "Specifies the path to the /lib subdirectory of the sysroot directory for the build host." |