From 4396ffb3c9faace1791ef921e75955a45f27a8ab Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Thu, 21 Jul 2016 14:59:52 -0700 Subject: [PATCH] ref-manual: Updated STAGING_DIR_TARGET and MULTIMACH* variables. Fixes [YOCTO #9988] Updated the STAGING_DIR_TARGET variable with a better introductory sentence. Updated the MULTIMACH_TARGET_SYS variable with a more expanded explanation. Added a new glossary entry for the MULTIMACH_HOST_SYS variable. (From yocto-docs rev: d17873d695772b62325de35dd0e5b9ccc7f12f1a) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- documentation/ref-manual/ref-variables.xml | 69 ++++++++++++++++++---- 1 file changed, 58 insertions(+), 11 deletions(-) diff --git a/documentation/ref-manual/ref-variables.xml b/documentation/ref-manual/ref-variables.xml index d31c94c9e3..f829a6a7bd 100644 --- a/documentation/ref-manual/ref-variables.xml +++ b/documentation/ref-manual/ref-variables.xml @@ -8035,6 +8035,31 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3" + MULTIMACH_HOST_SYS + + MULTIMACH_HOST_SYS[doc] = "Separates files for different machines such that you can build for multiple host machines using the same output directories." + + + + + Serves the same purpose as + MULTIMACH_TARGET_SYS, + but for the "HOST" system, in situations that involve a + "HOST" and a "TARGET" system. + See the + STAGING_DIR_TARGET + variable for more information. + + + + The default value of this variable is: + + ${PACKAGE_ARCH}${HOST_VENDOR}-${HOST_OS} + + + + + MULTIMACH_TARGET_SYS MULTIMACH_TARGET_SYS[doc] = "Separates files for different machines such that you can build for multiple target machines using the same output directories." @@ -8042,10 +8067,33 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3" - Separates files for different machines such that you can build - for multiple target machines using the same output directories. - See the STAMP variable - for an example. + Uniquely identifies the type of the target system for + which packages are being built. + This variable allows output for different types of target + systems to be put into different subdirectories of the same + output directory. + + + + The default value of this variable is: + + ${PACKAGE_ARCH}${TARGET_VENDOR}-${TARGET_OS} + + Some classes (e.g. + cross-canadian) + modify the MULTIMACH_TARGET_SYS value. + + + + See the + STAMP + variable for an example. + MULTIMACH_HOST_SYS + is the corresponding variable for the host system in + situations that involve a "HOST" and a "TARGET" system. + See the + STAGING_DIR_TARGET + variable for more information. @@ -12320,14 +12368,16 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3" STAGING_DIR_TARGET - STAGING_DIR_TARGET[doc] = "Specifies the path to the sysroot used for the "HOST" system." + STAGING_DIR_TARGET[doc] = "Specifies the path to the sysroot used for the system for which the component generates code." - Specifies the path to the sysroot used for the "HOST" - system. - In most cases, this path is the + Specifies the path to the sysroot used for the system for + which the component generates code. + For components that do not generate code, which is the + majority), STAGING_DIR_TARGET is set + to match STAGING_DIR_HOST. @@ -12344,9 +12394,6 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3" to the sysroot used for the "HOST" system, while STAGING_DIR_TARGET points to the sysroot used for the "TARGET" system. - For recipes where STAGING_DIR_TARGET - makes no sense, it is set to match - STAGING_DIR_HOST.