From 376a8201d18f5eb8e06d15d11a6e30f96e8eb43d Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Thu, 21 Jul 2016 12:08:53 -0700 Subject: 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 Signed-off-by: Richard Purdie --- documentation/ref-manual/ref-variables.xml | 39 +++++++++++++++++++----------- 1 file changed, 25 insertions(+), 14 deletions(-) (limited to 'documentation') 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" STAGING_DIR_HOST - 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." - Specifies the path to the primary sysroot directory for - which the target is being built. - Depending on the type of recipe and the build target, the - recipe's value is as follows: + Specifies the path to the sysroot directory for the system + that the component is built to run on (the system that hosts + the component). + This sysroot is the one that the recipe's + do_populate_sysroot + task copies files into. + Depending on the type of recipe and the build target, + STAGING_DIR_HOST can have the + following values: For recipes building for the target - machine, the value is "${STAGING_DIR}/${MACHINE}". + machine, the value is + "${STAGING_DIR}/${MACHINE}". For native recipes building 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" STAGING_DIR_NATIVE - 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." - Specifies the path to the sysroot directory for the - build host. + Specifies the path to the sysroot directory used when + building components that run on the build host itself. STAGING_DIR_TARGET - 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." - Specifies the path to the sysroot directory for the - target for which the current recipe is being built. + Specifies the path to the sysroot used for the "HOST" + system. In most cases, this path is the STAGING_DIR_HOST. @@ -12334,8 +12340,13 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3" referred to as the "TARGET". Thus, the binaries run on the "HOST" system and and generate binaries for the "TARGET" system. - STAGING_DIR_TARGET points to the - sysroot used for the "TARGET" system. + The STAGING_DIR_HOST variable points + 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. -- cgit v1.2.3-54-g00ecf