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-20 15:32:47 +1000
commit4ad75674549fc0f206f967b7b287769080c3eba9 (patch)
tree7043204171e0237681a82312089cafb463ddbbc4
parent75849dd92dbde2e9bb1c1b1dd39f620bac88ad8c (diff)
downloadmeta-xilinx-4ad75674549fc0f206f967b7b287769080c3eba9.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"