1
0
mirror of https://git.yoctoproject.org/poky synced 2026-06-02 01:19:52 +00:00

ref-manual: Augmented some STAGING_DIR_* variable descriptions:

* Updated the STAGING_DIR_HOST description
 * Updated the STAGING_DIR_NATIVE description
 * Updated the STAGING_DIR_TARGET description

Fixes [YOCTO #9988]

(From yocto-docs rev: cc2c3d849f0919199d1b7960e30ed152f3f0474e)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Scott Rifenbark
2016-07-21 12:08:53 -07:00
committed by Richard Purdie
parent 599be67eef
commit 376a8201d1
+25 -14
View File
@@ -12271,18 +12271,24 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3"
<glossentry id='var-STAGING_DIR_HOST'><glossterm>STAGING_DIR_HOST</glossterm> <glossentry id='var-STAGING_DIR_HOST'><glossterm>STAGING_DIR_HOST</glossterm>
<info> <info>
STAGING_DIR_HOST[doc] = "Specifies the path to the primary sysroot directory for which the target is being built." STAGING_DIR_HOST[doc] = "Specifies the path to the sysroot directory for the system that the component is built to run on."
</info> </info>
<glossdef> <glossdef>
<para role="glossdeffirst"> <para role="glossdeffirst">
<!-- <para role="glossdeffirst"><imagedata fileref="figures/define-generic.png" /> --> <!-- <para role="glossdeffirst"><imagedata fileref="figures/define-generic.png" /> -->
Specifies the path to the primary sysroot directory for Specifies the path to the sysroot directory for the system
which the target is being built. that the component is built to run on (the system that hosts
Depending on the type of recipe and the build target, the the component).
recipe's value is as follows: This sysroot is the one that the recipe's
<link linkend='ref-tasks-populate_sysroot'><filename>do_populate_sysroot</filename></link>
task copies files into.
Depending on the type of recipe and the build target,
<filename>STAGING_DIR_HOST</filename> can have the
following values:
<itemizedlist> <itemizedlist>
<listitem><para>For recipes building for the target <listitem><para>For recipes building for the target
machine, the value is "${STAGING_DIR}/${MACHINE}". machine, the value is
"${<link linkend='var-STAGING_DIR'>STAGING_DIR</link>}/${<link linkend='var-MACHINE'>MACHINE</link>}".
</para></listitem> </para></listitem>
<listitem><para>For native recipes building <listitem><para>For native recipes building
for the build host, the value is empty given the for the build host, the value is empty given the
@@ -12301,26 +12307,26 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3"
<glossentry id='var-STAGING_DIR_NATIVE'><glossterm>STAGING_DIR_NATIVE</glossterm> <glossentry id='var-STAGING_DIR_NATIVE'><glossterm>STAGING_DIR_NATIVE</glossterm>
<info> <info>
STAGING_DIR_NATIVE[doc] = "Specifies the path to the sysroot directory for the build host." STAGING_DIR_NATIVE[doc] = "Specifies the path to the sysroot directory used when building components that run on the build host itself."
</info> </info>
<glossdef> <glossdef>
<para role="glossdeffirst"> <para role="glossdeffirst">
<!-- <para role="glossdeffirst"><imagedata fileref="figures/define-generic.png" /> --> <!-- <para role="glossdeffirst"><imagedata fileref="figures/define-generic.png" /> -->
Specifies the path to the sysroot directory for the Specifies the path to the sysroot directory used when
build host. building components that run on the build host itself.
</para> </para>
</glossdef> </glossdef>
</glossentry> </glossentry>
<glossentry id='var-STAGING_DIR_TARGET'><glossterm>STAGING_DIR_TARGET</glossterm> <glossentry id='var-STAGING_DIR_TARGET'><glossterm>STAGING_DIR_TARGET</glossterm>
<info> <info>
STAGING_DIR_TARGET[doc] = "Specifies the path to the sysroot directory for the target for which the current recipe is being built." STAGING_DIR_TARGET[doc] = "Specifies the path to the sysroot used for the "HOST" system."
</info> </info>
<glossdef> <glossdef>
<para role="glossdeffirst"> <para role="glossdeffirst">
<!-- <para role="glossdeffirst"><imagedata fileref="figures/define-generic.png" /> --> <!-- <para role="glossdeffirst"><imagedata fileref="figures/define-generic.png" /> -->
Specifies the path to the sysroot directory for the Specifies the path to the sysroot used for the "HOST"
target for which the current recipe is being built. system.
In most cases, this path is the In most cases, this path is the
<link linkend='var-STAGING_DIR_HOST'><filename>STAGING_DIR_HOST</filename></link>. <link linkend='var-STAGING_DIR_HOST'><filename>STAGING_DIR_HOST</filename></link>.
</para> </para>
@@ -12334,8 +12340,13 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3"
referred to as the "TARGET". referred to as the "TARGET".
Thus, the binaries run on the "HOST" system and Thus, the binaries run on the "HOST" system and
and generate binaries for the "TARGET" system. and generate binaries for the "TARGET" system.
<filename>STAGING_DIR_TARGET</filename> points to the The <filename>STAGING_DIR_HOST</filename> variable points
sysroot used for the "TARGET" system. to the sysroot used for the "HOST" system, while
<filename>STAGING_DIR_TARGET</filename>
points to the sysroot used for the "TARGET" system.
For recipes where <filename>STAGING_DIR_TARGET</filename>
makes no sense, it is set to match
<filename>STAGING_DIR_HOST</filename>.
</para> </para>
</glossdef> </glossdef>
</glossentry> </glossentry>