summaryrefslogtreecommitdiffstats
path: root/documentation/ref-manual/ref-variables.xml
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/ref-variables.xml
parent1c0229ebc8c12f8214f92c898cd73793ebebf2d0 (diff)
downloadpoky-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/ref-variables.xml')
-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"
8208 </glossdef> 8208 </glossdef>
8209 </glossentry> 8209 </glossentry>
8210 8210
8211 <glossentry id='var-TARGET_AS_ARCH'><glossterm>TARGET_AS_ARCH</glossterm>
8212 <glossdef>
8213 <para>
8214 Specifies architecture-specific assembler flags for the
8215 target system.
8216 <filename>TARGET_AS_ARCH</filename> is initialized from
8217 <link linkend='var-TUNE_ASARGS'><filename>TUNE_ASARGS</filename></link>
8218 by default in the BitBake configuration file
8219 (<filename>meta/conf/bitbake.conf</filename>):
8220 <literallayout class='monospaced'>
8221 TARGET_AS_ARCH = "${TUNE_ASARGS}"
8222 </literallayout>
8223 </para>
8224 </glossdef>
8225 </glossentry>
8226
8211 <glossentry id='var-TARGET_CC_ARCH'><glossterm>TARGET_CC_ARCH</glossterm> 8227 <glossentry id='var-TARGET_CC_ARCH'><glossterm>TARGET_CC_ARCH</glossterm>
8212 <glossdef> 8228 <glossdef>
8213 <para> 8229 <para>
@@ -8855,6 +8871,30 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3"
8855 </glossdef> 8871 </glossdef>
8856 </glossentry> 8872 </glossentry>
8857 8873
8874 <glossentry id='var-TUNE_ASARGS'><glossterm>TUNE_ASARGS</glossterm>
8875 <glossdef>
8876 <para>
8877 Specifies architecture-specific assembler flags for
8878 the target system.
8879 The set of flags is based on the selected tune features.
8880 <filename>TUNE_ASARGS</filename> is set using
8881 the tune include files, which are typically under
8882 <filename>meta/conf/machine/include/</filename> and are
8883 influenced through <filename>TUNE_FEATURES</filename>.
8884 For example, the
8885 <filename>meta/conf/machine/include/x86/arch-x86.inc</filename>
8886 file defines the flags for the x86 architecture as follows:
8887 <literallayout class='monospaced'>
8888 TUNE_ASARGS += "${@bb.utils.contains("TUNE_FEATURES", "mx32", "-x32", "", d)}"
8889 </literallayout>
8890 <note>
8891 Board Support Packages (BSPs) can supply their own
8892 set of flags.
8893 </note>
8894 </para>
8895 </glossdef>
8896 </glossentry>
8897
8858 <glossentry id='var-TUNE_CCARGS'><glossterm>TUNE_CCARGS</glossterm> 8898 <glossentry id='var-TUNE_CCARGS'><glossterm>TUNE_CCARGS</glossterm>
8859 <glossdef> 8899 <glossdef>
8860 <para> 8900 <para>