summaryrefslogtreecommitdiffstats
path: root/documentation/ref-manual/ref-variables.xml
diff options
context:
space:
mode:
authorScott Rifenbark <scott.m.rifenbark@intel.com>2014-05-29 15:45:11 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-05-30 16:32:18 +0100
commit870b84633c69d4702aae408a577eb7ab8574b3a2 (patch)
tree40af17ab3f58d9410152cc33aff29d22a012996a /documentation/ref-manual/ref-variables.xml
parent98b42bca0dcddf87ab98fbb88d43b8e73f046631 (diff)
downloadpoky-870b84633c69d4702aae408a577eb7ab8574b3a2.tar.gz
ref-manual: Edits to PACKAGE_ARCH variable.
(From yocto-docs rev: 73ac04daf74bdca069e427b1069fa6075e5c30bd) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/ref-manual/ref-variables.xml')
-rw-r--r--documentation/ref-manual/ref-variables.xml22
1 files changed, 21 insertions, 1 deletions
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"
5449 5449
5450 <glossentry id='var-PACKAGE_ARCH'><glossterm>PACKAGE_ARCH</glossterm> 5450 <glossentry id='var-PACKAGE_ARCH'><glossterm>PACKAGE_ARCH</glossterm>
5451 <glossdef> 5451 <glossdef>
5452 <para>The architecture of the resulting package or packages.</para> 5452 <para>
5453 The architecture of the resulting package or packages.
5454 </para>
5455
5456 <para>
5457 By default, the value of this variable is set to
5458 <link linkend='var-TUNE_PKGARCH'><filename>TUNE_PKGARCH</filename></link>
5459 when building for the target,
5460 <link linkend='var-BUILD_ARCH'><filename>BUILD_ARCH</filename></link>
5461 when building for the build host and
5462 "${SDK_ARCH}-${SDKPKGSUFFIX}" when building for the SDK.
5463 However, if your recipe's output packages are built
5464 specific to the target machine rather than general for
5465 the architecture of the machine, you should set
5466 <filename>PACKAGE_ARCH</filename> to the value of
5467 <link linkend='var-MACHINE_ARCH'><filename>MACHINE_ARCH</filename></link>
5468 in the recipe as follows:
5469 <literallayout class='monospaced'>
5470 PACKAGE_ARCH = "${MACHINE_ARCH}"
5471 </literallayout>
5472 </para>
5453 </glossdef> 5473 </glossdef>
5454 </glossentry> 5474 </glossentry>
5455 5475