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