diff options
| -rw-r--r-- | documentation/ref-manual/ref-variables.xml | 39 |
1 files changed, 25 insertions, 14 deletions
diff --git a/documentation/ref-manual/ref-variables.xml b/documentation/ref-manual/ref-variables.xml index 3e715ff699..2fa7209d47 100644 --- a/documentation/ref-manual/ref-variables.xml +++ b/documentation/ref-manual/ref-variables.xml | |||
| @@ -12271,18 +12271,24 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3" | |||
| 12271 | 12271 | ||
| 12272 | <glossentry id='var-STAGING_DIR_HOST'><glossterm>STAGING_DIR_HOST</glossterm> | 12272 | <glossentry id='var-STAGING_DIR_HOST'><glossterm>STAGING_DIR_HOST</glossterm> |
| 12273 | <info> | 12273 | <info> |
| 12274 | STAGING_DIR_HOST[doc] = "Specifies the path to the primary sysroot directory for which the target is being built." | 12274 | STAGING_DIR_HOST[doc] = "Specifies the path to the sysroot directory for the system that the component is built to run on." |
| 12275 | </info> | 12275 | </info> |
| 12276 | <glossdef> | 12276 | <glossdef> |
| 12277 | <para role="glossdeffirst"> | 12277 | <para role="glossdeffirst"> |
| 12278 | <!-- <para role="glossdeffirst"><imagedata fileref="figures/define-generic.png" /> --> | 12278 | <!-- <para role="glossdeffirst"><imagedata fileref="figures/define-generic.png" /> --> |
| 12279 | Specifies the path to the primary sysroot directory for | 12279 | Specifies the path to the sysroot directory for the system |
| 12280 | which the target is being built. | 12280 | that the component is built to run on (the system that hosts |
| 12281 | Depending on the type of recipe and the build target, the | 12281 | the component). |
| 12282 | recipe's value is as follows: | 12282 | This sysroot is the one that the recipe's |
| 12283 | <link linkend='ref-tasks-populate_sysroot'><filename>do_populate_sysroot</filename></link> | ||
| 12284 | task copies files into. | ||
| 12285 | Depending on the type of recipe and the build target, | ||
| 12286 | <filename>STAGING_DIR_HOST</filename> can have the | ||
| 12287 | following values: | ||
| 12283 | <itemizedlist> | 12288 | <itemizedlist> |
| 12284 | <listitem><para>For recipes building for the target | 12289 | <listitem><para>For recipes building for the target |
| 12285 | machine, the value is "${STAGING_DIR}/${MACHINE}". | 12290 | machine, the value is |
| 12291 | "${<link linkend='var-STAGING_DIR'>STAGING_DIR</link>}/${<link linkend='var-MACHINE'>MACHINE</link>}". | ||
| 12286 | </para></listitem> | 12292 | </para></listitem> |
| 12287 | <listitem><para>For native recipes building | 12293 | <listitem><para>For native recipes building |
| 12288 | for the build host, the value is empty given the | 12294 | 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" | |||
| 12301 | 12307 | ||
| 12302 | <glossentry id='var-STAGING_DIR_NATIVE'><glossterm>STAGING_DIR_NATIVE</glossterm> | 12308 | <glossentry id='var-STAGING_DIR_NATIVE'><glossterm>STAGING_DIR_NATIVE</glossterm> |
| 12303 | <info> | 12309 | <info> |
| 12304 | STAGING_DIR_NATIVE[doc] = "Specifies the path to the sysroot directory for the build host." | 12310 | STAGING_DIR_NATIVE[doc] = "Specifies the path to the sysroot directory used when building components that run on the build host itself." |
| 12305 | </info> | 12311 | </info> |
| 12306 | <glossdef> | 12312 | <glossdef> |
| 12307 | <para role="glossdeffirst"> | 12313 | <para role="glossdeffirst"> |
| 12308 | <!-- <para role="glossdeffirst"><imagedata fileref="figures/define-generic.png" /> --> | 12314 | <!-- <para role="glossdeffirst"><imagedata fileref="figures/define-generic.png" /> --> |
| 12309 | Specifies the path to the sysroot directory for the | 12315 | Specifies the path to the sysroot directory used when |
| 12310 | build host. | 12316 | building components that run on the build host itself. |
| 12311 | </para> | 12317 | </para> |
| 12312 | </glossdef> | 12318 | </glossdef> |
| 12313 | </glossentry> | 12319 | </glossentry> |
| 12314 | 12320 | ||
| 12315 | <glossentry id='var-STAGING_DIR_TARGET'><glossterm>STAGING_DIR_TARGET</glossterm> | 12321 | <glossentry id='var-STAGING_DIR_TARGET'><glossterm>STAGING_DIR_TARGET</glossterm> |
| 12316 | <info> | 12322 | <info> |
| 12317 | STAGING_DIR_TARGET[doc] = "Specifies the path to the sysroot directory for the target for which the current recipe is being built." | 12323 | STAGING_DIR_TARGET[doc] = "Specifies the path to the sysroot used for the "HOST" system." |
| 12318 | </info> | 12324 | </info> |
| 12319 | <glossdef> | 12325 | <glossdef> |
| 12320 | <para role="glossdeffirst"> | 12326 | <para role="glossdeffirst"> |
| 12321 | <!-- <para role="glossdeffirst"><imagedata fileref="figures/define-generic.png" /> --> | 12327 | <!-- <para role="glossdeffirst"><imagedata fileref="figures/define-generic.png" /> --> |
| 12322 | Specifies the path to the sysroot directory for the | 12328 | Specifies the path to the sysroot used for the "HOST" |
| 12323 | target for which the current recipe is being built. | 12329 | system. |
| 12324 | In most cases, this path is the | 12330 | In most cases, this path is the |
| 12325 | <link linkend='var-STAGING_DIR_HOST'><filename>STAGING_DIR_HOST</filename></link>. | 12331 | <link linkend='var-STAGING_DIR_HOST'><filename>STAGING_DIR_HOST</filename></link>. |
| 12326 | </para> | 12332 | </para> |
| @@ -12334,8 +12340,13 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3" | |||
| 12334 | referred to as the "TARGET". | 12340 | referred to as the "TARGET". |
| 12335 | Thus, the binaries run on the "HOST" system and | 12341 | Thus, the binaries run on the "HOST" system and |
| 12336 | and generate binaries for the "TARGET" system. | 12342 | and generate binaries for the "TARGET" system. |
| 12337 | <filename>STAGING_DIR_TARGET</filename> points to the | 12343 | The <filename>STAGING_DIR_HOST</filename> variable points |
| 12338 | sysroot used for the "TARGET" system. | 12344 | to the sysroot used for the "HOST" system, while |
| 12345 | <filename>STAGING_DIR_TARGET</filename> | ||
| 12346 | points to the sysroot used for the "TARGET" system. | ||
| 12347 | For recipes where <filename>STAGING_DIR_TARGET</filename> | ||
| 12348 | makes no sense, it is set to match | ||
| 12349 | <filename>STAGING_DIR_HOST</filename>. | ||
| 12339 | </para> | 12350 | </para> |
| 12340 | </glossdef> | 12351 | </glossdef> |
| 12341 | </glossentry> | 12352 | </glossentry> |
