summaryrefslogtreecommitdiff
path: root/toolchain/glibc
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-03-19 22:31:34 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2014-03-19 22:31:34 +0100
commit7181de8c143de6ee39feb43ae37b11461e82ab69 (patch)
tree2e677778bbde5afb2f21b67d0f8fb78c8231c40b /toolchain/glibc
parentbcd130f15376964f63bd9f88c24d30ae3cb14432 (diff)
fix stripping for toolchain, toolchain dir includes target libgcc
Diffstat (limited to 'toolchain/glibc')
-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 $@