diff options
| -rw-r--r-- | documentation/ref-manual/ref-variables.xml | 22 |
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 | ||
