summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-03-20 00:17:07 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2014-03-20 00:17:07 +0100
commit5e8a2d036461a852d18d4586af7b5374cffc3e5b (patch)
tree8e55e414d9e209ebf6c2208fa8747559cdc55b7d
parent8d6de9990ea0098f0932f4bfe64c331b67a9a40e (diff)
parent7181de8c143de6ee39feb43ae37b11461e82ab69 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
-rw-r--r--toolchain/glibc/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/toolchain/glibc/Makefile b/toolchain/glibc/Makefile
index 996f9dd87..b117aadb0 100644
--- a/toolchain/glibc/Makefile
+++ b/toolchain/glibc/Makefile
@@ -75,8 +75,9 @@ $(WRKBUILD)/.fixup:
rm -rf $(STAGING_TARGET_DIR)/usr/lib/gconv
ifeq ($(ADK_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)
- debug='0' prefix=' ' ${BASH} ${SCRIPT_DIR}/rstrip.sh $(TOOLCHAIN_DIR)/usr
+ PATH="$(TARGET_PATH)" debug='0' prefix='${TARGET_CROSS}' ${BASH} ${SCRIPT_DIR}/rstrip.sh \
+ $(STAGING_TARGET_DIR) $(TOOLCHAIN_DIR)/usr/lib/gcc/$(GNU_TARGET_NAME)
+ debug='0' prefix=' ' ${BASH} ${SCRIPT_DIR}/rstrip.sh $(TOOLCHAIN_DIR)/usr/bin
endif
touch $@