summaryrefslogtreecommitdiff
path: root/toolchain/uclibc
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-05-23 19:03:21 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-05-23 19:03:21 +0200
commit910ee3f081d229f4439aa2bdbb3553b61cc116cd (patch)
tree91382e19d3f519c34777cb6f6277beb8b0190149 /toolchain/uclibc
parent8cf892f141edd33a54b09a16f72650754f6032b5 (diff)
fix symbol renaming bugs
Diffstat (limited to 'toolchain/uclibc')
-rw-r--r--toolchain/uclibc/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/toolchain/uclibc/Makefile b/toolchain/uclibc/Makefile
index 94a81391d..90399ae39 100644
--- a/toolchain/uclibc/Makefile
+++ b/toolchain/uclibc/Makefile
@@ -57,7 +57,7 @@ endif
ifeq ($(ADK_LINUX_ARM_WITH_THUMB),y)
$(SED) 's/.*\(COMPILE_IN_THUMB_MODE\).*/\1=y/' ${WRKBUILD}/.config
endif
-ifeq ($(ADK_TOOLCHAIN_GCC_USE_SSP),y)
+ifeq ($(ADK_TARGET_USE_SSP),y)
$(SED) 's,.*UCLIBC_HAS_SSP,UCLIBC_HAS_SSP=y,' ${WRKBUILD}/.config
echo "UCLIBC_HAS_SSP_COMPAT=n" >> ${WRKBUILD}/.config
echo "SSP_QUICK_CANARY=n" >> ${WRKBUILD}/.config
@@ -118,7 +118,7 @@ endif
all install_runtime
# cleanup toolchain
-find $(STAGING_TARGET_DIR) $(STAGING_HOST_DIR) -name \*.la -delete
-ifeq ($(ADK_TOOLCHAIN),y)
+ifeq ($(ADK_TARGET_TOOLCHAIN),y)
# strip target libs and host tools for toolchain builds
PATH="$(TARGET_PATH)" debug='0' prefix='${TARGET_CROSS}' ${BASH} ${SCRIPT_DIR}/rstrip.sh \
$(STAGING_TARGET_DIR) $(TOOLCHAIN_DIR)/usr/lib/gcc/$(GNU_TARGET_NAME)