diff options
author | Nathan Rossi <nathan.rossi@xilinx.com> | 2014-06-19 15:29:20 +1000 |
---|---|---|
committer | Nathan Rossi <nathan.rossi@xilinx.com> | 2014-06-19 15:29:20 +1000 |
commit | e3294bbd5561666f900d9aec204a5460e032f25d (patch) | |
tree | 7bff9dd13fb374815aed624ba7aed517527e6c78 | |
parent | 63330ee31df62743aa6a74e54320566da320dda1 (diff) | |
download | meta-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.inc | 2 |
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" | |||
36 | ENABLE_BINARY_LOCALE_GENERATION = "" | 36 | ENABLE_BINARY_LOCALE_GENERATION = "" |
37 | 37 | ||
38 | TOOLCHAIN_OPTIONS = " --sysroot=${STAGING_DIR_HOST}" | 38 | TOOLCHAIN_OPTIONS = " --sysroot=${STAGING_DIR_HOST}" |
39 | # Fix up default hash, enforce it in for CC_ARCH for packages that ignore LDFLAGS. | ||
40 | TARGET_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) |
41 | EXTERNAL_TOOLCHAIN_SYSROOT_armv7a ??= "${EXTERNAL_TOOLCHAIN}/${CSL_TARGET_SYS}/libc" | 43 | EXTERNAL_TOOLCHAIN_SYSROOT_armv7a ??= "${EXTERNAL_TOOLCHAIN}/${CSL_TARGET_SYS}/libc" |