From 870b84633c69d4702aae408a577eb7ab8574b3a2 Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Thu, 29 May 2014 15:45:11 +0300 Subject: ref-manual: Edits to PACKAGE_ARCH variable. (From yocto-docs rev: 73ac04daf74bdca069e427b1069fa6075e5c30bd) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- documentation/ref-manual/ref-variables.xml | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) (limited to 'documentation/ref-manual') diff --git a/documentation/ref-manual/ref-variables.xml b/documentation/ref-manual/ref-variables.xml index 4846d3c834..5c1be64369 100644 --- a/documentation/ref-manual/ref-variables.xml +++ b/documentation/ref-manual/ref-variables.xml @@ -5449,7 +5449,27 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3" PACKAGE_ARCH - The architecture of the resulting package or packages. + + The architecture of the resulting package or packages. + + + + By default, the value of this variable is set to + TUNE_PKGARCH + when building for the target, + BUILD_ARCH + when building for the build host and + "${SDK_ARCH}-${SDKPKGSUFFIX}" when building for the SDK. + However, if your recipe's output packages are built + specific to the target machine rather than general for + the architecture of the machine, you should set + PACKAGE_ARCH to the value of + MACHINE_ARCH + in the recipe as follows: + + PACKAGE_ARCH = "${MACHINE_ARCH}" + + -- cgit v1.2.3-54-g00ecf