ref-manual: Updated PACKAGE_ARCH variable description.

I added a link to the BUILD_ARCH variable.  The variable is part
of the glossary but for some reason there was no link to it.
I also added a note for a link to the SDK_ARCH variable, which
was described inline.  By convention, I do not like to link to
variables inline as the underlining used to indicate a link messes
with with underscore characters that are usually a part of a
varible's name.

(From yocto-docs rev: a2f487141375ee7ce226eece85424e709ddc67a3)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Scott Rifenbark
2018-05-02 08:15:04 -07:00
committed by Richard Purdie
parent 5ecdd8ef46
commit 083353b73b

View File

@@ -9388,11 +9388,17 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3"
By default, the value of this variable is set to
<link linkend='var-TUNE_PKGARCH'><filename>TUNE_PKGARCH</filename></link>
when building for the target,
<filename>BUILD_ARCH</filename> when building for the
build host and "${SDK_ARCH}-${SDKPKGSUFFIX}" when building
<link linkend='var-BUILD_ARCH'><filename>BUILD_ARCH</filename></link>
when building for the
build host, and "${SDK_ARCH}-${SDKPKGSUFFIX}" when building
for the SDK.
<note>
See
<link linkend='var-SDK_ARCH'><filename>SDK_ARCH</filename></link>
for more information.
</note>
However, if your recipe's output packages are built
specific to the target machine rather than general for
specific to the target machine rather than generally for
the architecture of the machine, you should set
<filename>PACKAGE_ARCH</filename> to the value of
<link linkend='var-MACHINE_ARCH'><filename>MACHINE_ARCH</filename></link>