mirror of
https://git.yoctoproject.org/poky
synced 2026-04-27 03:32:12 +02:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
e56cd9d7d0
commit
2a6bba4378
@@ -12692,9 +12692,22 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3"
|
||||
Specifies the path to the top-level sysroots directory
|
||||
(i.e.
|
||||
<filename>${</filename><link linkend='var-TMPDIR'><filename>TMPDIR</filename></link><filename>}/sysroots</filename>).
|
||||
</para>
|
||||
|
||||
<para>
|
||||
<filename>STAGING_DIR</filename> contains the directories
|
||||
that are staged into the sysroot by the
|
||||
<link linkend='ref-tasks-populate_sysroot'><filename>do_populate_sysroot</filename></link>
|
||||
task.
|
||||
See the
|
||||
<link linkend='var-SYSROOT_DIRS'><filename>SYSROOT_DIRS</filename></link>
|
||||
variable and the
|
||||
"<ulink url='&YOCTO_DOCS_DEV_URL;#new-sharing-files-between-recipes'>Sharing Files Between Recipes</ulink>"
|
||||
section for more information.
|
||||
<note>
|
||||
Recipes should never write files directly under
|
||||
this directory because the OpenEmbedded build system
|
||||
the <filename>STAGING_DIR</filename> directory because
|
||||
the OpenEmbedded build system
|
||||
manages the directory automatically.
|
||||
Instead, files should be installed to
|
||||
<filename>${</filename><link linkend='var-D'><filename>D</filename></link><filename>}</filename>
|
||||
|
||||
Reference in New Issue
Block a user