From e2f04f4ffc2c9ec227638bf644065af110fefc97 Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Thu, 19 Jun 2014 12:07:09 +0300 Subject: ref-manual: Added TUNE_LDARGS and TARGET_LD_ARCH variables. New glossary entries. (From yocto-docs rev: dbf566e1009d51ad8fce1ac8251249a70fb9270c) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- documentation/ref-manual/ref-variables.xml | 40 ++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) (limited to 'documentation/ref-manual/ref-variables.xml') 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" + TARGET_LD_ARCH + + + Specifies architecture-specific linker flags for the + target system. + TARGET_LD_ARCH is initialized from + TUNE_LDARGS + by default in the BitBake configuration file + (meta/conf/bitbake.conf): + + TARGET_LD_ARCH = "${TUNE_LDARGS}" + + + + + TARGET_LDFLAGS @@ -8913,6 +8929,30 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3" + TUNE_LDARGS + + + Specifies architecture-specific linker flags for + the target system. + The set of flags is based on the selected tune features. + TUNE_LDARGS is set using + the tune include files, which are typically under + meta/conf/machine/include/ and are + influenced through TUNE_FEATURES. + For example, the + meta/conf/machine/include/x86/arch-x86.inc + file defines the flags for the x86 architecture as follows: + + TUNE_LDARGS += "${@bb.utils.contains("TUNE_FEATURES", "mx32", "-m elf32_x86_64", "", d)}" + + + Board Support Packages (BSPs) can supply their own + set of flags. + + + + + TUNE_PKGARCH -- cgit v1.2.3-54-g00ecf