summaryrefslogtreecommitdiffstats
path: root/documentation/ref-manual/ref-variables.xml
diff options
context:
space:
mode:
authorScott Rifenbark <scott.m.rifenbark@intel.com>2014-06-19 12:07:09 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-07-03 13:57:08 +0100
commite2f04f4ffc2c9ec227638bf644065af110fefc97 (patch)
treed433737b77c633a4ba4314bb4ce44b549edd776e /documentation/ref-manual/ref-variables.xml
parent590b6cfb0b22e57a9b2342af9f74c55bc19213f8 (diff)
downloadpoky-e2f04f4ffc2c9ec227638bf644065af110fefc97.tar.gz
ref-manual: Added TUNE_LDARGS and TARGET_LD_ARCH variables.
New glossary entries. (From yocto-docs rev: dbf566e1009d51ad8fce1ac8251249a70fb9270c) 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 a555ace396..ae61d29d29 100644
--- a/documentation/ref-manual/ref-variables.xml
+++ b/documentation/ref-manual/ref-variables.xml
@@ -8320,6 +8320,22 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3"
8320 </glossdef> 8320 </glossdef>
8321 </glossentry> 8321 </glossentry>
8322 8322
8323 <glossentry id='var-TARGET_LD_ARCH'><glossterm>TARGET_LD_ARCH</glossterm>
8324 <glossdef>
8325 <para>
8326 Specifies architecture-specific linker flags for the
8327 target system.
8328 <filename>TARGET_LD_ARCH</filename> is initialized from
8329 <link linkend='var-TUNE_LDARGS'><filename>TUNE_LDARGS</filename></link>
8330 by default in the BitBake configuration file
8331 (<filename>meta/conf/bitbake.conf</filename>):
8332 <literallayout class='monospaced'>
8333 TARGET_LD_ARCH = "${TUNE_LDARGS}"
8334 </literallayout>
8335 </para>
8336 </glossdef>
8337 </glossentry>
8338
8323 <glossentry id='var-TARGET_LDFLAGS'><glossterm>TARGET_LDFLAGS</glossterm> 8339 <glossentry id='var-TARGET_LDFLAGS'><glossterm>TARGET_LDFLAGS</glossterm>
8324 <glossdef> 8340 <glossdef>
8325 <para> 8341 <para>
@@ -8913,6 +8929,30 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3"
8913 </glossdef> 8929 </glossdef>
8914 </glossentry> 8930 </glossentry>
8915 8931
8932 <glossentry id='var-TUNE_LDARGS'><glossterm>TUNE_LDARGS</glossterm>
8933 <glossdef>
8934 <para>
8935 Specifies architecture-specific linker flags for
8936 the target system.
8937 The set of flags is based on the selected tune features.
8938 <filename>TUNE_LDARGS</filename> is set using
8939 the tune include files, which are typically under
8940 <filename>meta/conf/machine/include/</filename> and are
8941 influenced through <filename>TUNE_FEATURES</filename>.
8942 For example, the
8943 <filename>meta/conf/machine/include/x86/arch-x86.inc</filename>
8944 file defines the flags for the x86 architecture as follows:
8945 <literallayout class='monospaced'>
8946 TUNE_LDARGS += "${@bb.utils.contains("TUNE_FEATURES", "mx32", "-m elf32_x86_64", "", d)}"
8947 </literallayout>
8948 <note>
8949 Board Support Packages (BSPs) can supply their own
8950 set of flags.
8951 </note>
8952 </para>
8953 </glossdef>
8954 </glossentry>
8955
8916 <glossentry id='var-TUNE_PKGARCH'><glossterm>TUNE_PKGARCH</glossterm> 8956 <glossentry id='var-TUNE_PKGARCH'><glossterm>TUNE_PKGARCH</glossterm>
8917 <glossdef> 8957 <glossdef>
8918 <para> 8958 <para>