aboutsummaryrefslogtreecommitdiffstats
path: root/documentation/ref-manual
diff options
context:
space:
mode:
authorScott Rifenbark <scott.m.rifenbark@intel.com>2014-06-19 11:51:57 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-07-03 13:57:08 +0100
commit590b6cfb0b22e57a9b2342af9f74c55bc19213f8 (patch)
treedbe9ead7f38630102c7e7f84659155e10e8030ff /documentation/ref-manual
parent1c0229ebc8c12f8214f92c898cd73793ebebf2d0 (diff)
downloadopenembedded-core-contrib-590b6cfb0b22e57a9b2342af9f74c55bc19213f8.tar.gz
ref-manual: Added TUNE_ASARGS and TARGET_AS_ARCH variables.
New variables added to the glossary. (From yocto-docs rev: 903ed6d26d7d32e4c1237fa9fd44b7471f1a41f2) 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')
-rw-r--r--documentation/ref-manual/ref-variables.xml40
1 files changed, 40 insertions, 0 deletions
diff --git a/documentation/ref-manual/ref-variables.xml b/documentation/ref-manual/ref-variables.xml
index a811a63cbd..a555ace396 100644
--- a/documentation/ref-manual/ref-variables.xml
+++ b/documentation/ref-manual/ref-variables.xml
@@ -8208,6 +8208,22 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3"
</glossdef>
</glossentry>
+ <glossentry id='var-TARGET_AS_ARCH'><glossterm>TARGET_AS_ARCH</glossterm>
+ <glossdef>
+ <para>
+ Specifies architecture-specific assembler flags for the
+ target system.
+ <filename>TARGET_AS_ARCH</filename> is initialized from
+ <link linkend='var-TUNE_ASARGS'><filename>TUNE_ASARGS</filename></link>
+ by default in the BitBake configuration file
+ (<filename>meta/conf/bitbake.conf</filename>):
+ <literallayout class='monospaced'>
+ TARGET_AS_ARCH = "${TUNE_ASARGS}"
+ </literallayout>
+ </para>
+ </glossdef>
+ </glossentry>
+
<glossentry id='var-TARGET_CC_ARCH'><glossterm>TARGET_CC_ARCH</glossterm>
<glossdef>
<para>
@@ -8855,6 +8871,30 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3"
</glossdef>
</glossentry>
+ <glossentry id='var-TUNE_ASARGS'><glossterm>TUNE_ASARGS</glossterm>
+ <glossdef>
+ <para>
+ Specifies architecture-specific assembler flags for
+ the target system.
+ The set of flags is based on the selected tune features.
+ <filename>TUNE_ASARGS</filename> is set using
+ the tune include files, which are typically under
+ <filename>meta/conf/machine/include/</filename> and are
+ influenced through <filename>TUNE_FEATURES</filename>.
+ For example, the
+ <filename>meta/conf/machine/include/x86/arch-x86.inc</filename>
+ file defines the flags for the x86 architecture as follows:
+ <literallayout class='monospaced'>
+ TUNE_ASARGS += "${@bb.utils.contains("TUNE_FEATURES", "mx32", "-x32", "", d)}"
+ </literallayout>
+ <note>
+ Board Support Packages (BSPs) can supply their own
+ set of flags.
+ </note>
+ </para>
+ </glossdef>
+ </glossentry>
+
<glossentry id='var-TUNE_CCARGS'><glossterm>TUNE_CCARGS</glossterm>
<glossdef>
<para>