diff options
author | Scott Rifenbark <srifenbark@gmail.com> | 2016-11-18 14:34:46 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-11-23 11:10:35 +0000 |
commit | 479fbee8408d1b4d3829377b040f4f1e6457b418 (patch) | |
tree | 63866758598b2e3347db59687347fccf14731d20 /documentation/ref-manual | |
parent | 8028d253a078f3abeb9b6654a366accc06274e09 (diff) | |
download | poky-479fbee8408d1b4d3829377b040f4f1e6457b418.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: 6539fcf632cfa3f076f874535ee9fc7ac291fbce)
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> |