summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNathan Rossi <nathan.rossi@xilinx.com>2014-06-19 15:29:20 +1000
committerNathan Rossi <nathan.rossi@xilinx.com>2014-06-19 15:29:20 +1000
commite3294bbd5561666f900d9aec204a5460e032f25d (patch)
tree7bff9dd13fb374815aed624ba7aed517527e6c78
parent63330ee31df62743aa6a74e54320566da320dda1 (diff)
downloadmeta-xilinx-e3294bbd5561666f900d9aec204a5460e032f25d.tar.gz
external-xilinx-toolchain: Enforce default hash style
* Some packages do not correctly handle LDFLAGS, as such toolchains that do not by default use GNU_HASH for symbols generated are not built with the GNU_HASH which causes a QA issue. * Add the expected linker hash style to TARGET_CC_ARCH to enforce the specified hash style. Signed-off-by: Nathan Rossi <nathan.rossi@xilinx.com>
-rw-r--r--conf/distro/include/tcmode-external-xilinx.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/conf/distro/include/tcmode-external-xilinx.inc b/conf/distro/include/tcmode-external-xilinx.inc
index a4786e8b..6fb4f225 100644
--- a/conf/distro/include/tcmode-external-xilinx.inc
+++ b/conf/distro/include/tcmode-external-xilinx.inc
@@ -36,6 +36,8 @@ GLIBC_INTERNAL_USE_BINARY_LOCALE = "precompiled"
36ENABLE_BINARY_LOCALE_GENERATION = "" 36ENABLE_BINARY_LOCALE_GENERATION = ""
37 37
38TOOLCHAIN_OPTIONS = " --sysroot=${STAGING_DIR_HOST}" 38TOOLCHAIN_OPTIONS = " --sysroot=${STAGING_DIR_HOST}"
39# Fix up default hash, enforce it in for CC_ARCH for packages that ignore LDFLAGS.
40TARGET_CC_ARCH_append += "${TARGET_LINK_HASH_STYLE}"
39 41
40# Default sysroot is inside the Xilinx ARM v7-A toolchain in the '<CSL_TARGET_SYS>/libc' (no debug-root) 42# Default sysroot is inside the Xilinx ARM v7-A toolchain in the '<CSL_TARGET_SYS>/libc' (no debug-root)
41EXTERNAL_TOOLCHAIN_SYSROOT_armv7a ??= "${EXTERNAL_TOOLCHAIN}/${CSL_TARGET_SYS}/libc" 43EXTERNAL_TOOLCHAIN_SYSROOT_armv7a ??= "${EXTERNAL_TOOLCHAIN}/${CSL_TARGET_SYS}/libc"