diff options
author | Scott Rifenbark <srifenbark@gmail.com> | 2016-11-18 14:34:46 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-12-08 16:36:47 +0000 |
commit | 2a6bba43786bd36ecb629b35e50f5b1221292678 (patch) | |
tree | 22b48815df0bf66b27f6c4611465fae215b382e4 /documentation/ref-manual | |
parent | e56cd9d7d0cdc249554b3ac9bb5bb6ee67d22a5f (diff) | |
download | poky-2a6bba43786bd36ecb629b35e50f5b1221292678.tar.gz |
ref-manual, dev-manual: Added references to SYSROOT_DIRS
Fixes [YOCTO #10692]
I updated the STAGING_DIR variable description to have a reference
to the SYSROOT_DIRS variable as well as the "Sharing Files
Between Recipes" section of the dev-manual.
I also updated the "Sharing Files Between Recipes" section so
that the role of SYSROOT_DIRS is explained and actually used
in an example to add another directory.
(From yocto-docs rev: 23114b4bc708398bae8c4559793dd36bc53c96a2)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/ref-manual')
-rw-r--r-- | documentation/ref-manual/ref-variables.xml | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/documentation/ref-manual/ref-variables.xml b/documentation/ref-manual/ref-variables.xml index 9d6fab0c94..af1ed8408b 100644 --- a/documentation/ref-manual/ref-variables.xml +++ b/documentation/ref-manual/ref-variables.xml | |||
@@ -12692,9 +12692,22 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3" | |||
12692 | Specifies the path to the top-level sysroots directory | 12692 | Specifies the path to the top-level sysroots directory |
12693 | (i.e. | 12693 | (i.e. |
12694 | <filename>${</filename><link linkend='var-TMPDIR'><filename>TMPDIR</filename></link><filename>}/sysroots</filename>). | 12694 | <filename>${</filename><link linkend='var-TMPDIR'><filename>TMPDIR</filename></link><filename>}/sysroots</filename>). |
12695 | </para> | ||
12696 | |||
12697 | <para> | ||
12698 | <filename>STAGING_DIR</filename> contains the directories | ||
12699 | that are staged into the sysroot by the | ||
12700 | <link linkend='ref-tasks-populate_sysroot'><filename>do_populate_sysroot</filename></link> | ||
12701 | task. | ||
12702 | See the | ||
12703 | <link linkend='var-SYSROOT_DIRS'><filename>SYSROOT_DIRS</filename></link> | ||
12704 | variable and the | ||
12705 | "<ulink url='&YOCTO_DOCS_DEV_URL;#new-sharing-files-between-recipes'>Sharing Files Between Recipes</ulink>" | ||
12706 | section for more information. | ||
12695 | <note> | 12707 | <note> |
12696 | Recipes should never write files directly under | 12708 | Recipes should never write files directly under |
12697 | this directory because the OpenEmbedded build system | 12709 | the <filename>STAGING_DIR</filename> directory because |
12710 | the OpenEmbedded build system | ||
12698 | manages the directory automatically. | 12711 | manages the directory automatically. |
12699 | Instead, files should be installed to | 12712 | Instead, files should be installed to |
12700 | <filename>${</filename><link linkend='var-D'><filename>D</filename></link><filename>}</filename> | 12713 | <filename>${</filename><link linkend='var-D'><filename>D</filename></link><filename>}</filename> |