summaryrefslogtreecommitdiff
path: root/toolchain/glibc/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-03-02 08:48:13 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2014-03-02 08:48:13 +0100
commit16fb2268394f00ab27e3582d02e03b6f5abbc72e (patch)
treeefe2a72be8461214a7c2e45d40add8b52daee034 /toolchain/glibc/Makefile
parent406ccf8df407e0292ee85d259a363c63e2be40a7 (diff)
strip toolchain components without copying debug data, clean toolchain after every target so no 300Gb are required to bulk build the toolchains
Diffstat (limited to 'toolchain/glibc/Makefile')
-rw-r--r--toolchain/glibc/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/toolchain/glibc/Makefile b/toolchain/glibc/Makefile
index 7f304330c..00bd67cbc 100644
--- a/toolchain/glibc/Makefile
+++ b/toolchain/glibc/Makefile
@@ -73,8 +73,8 @@ $(WRKBUILD)/.fixup:
-find $(STAGING_TARGET_DIR) -type f -name \*_pic\* -delete
rm -rf $(STAGING_TARGET_DIR)/usr/share/locale $(STAGING_TARGET_DIR)/usr/share/i18n
rm -rf $(STAGING_TARGET_DIR)/usr/lib/gconv
- PATH="$(TARGET_PATH)" prefix='${TARGET_CROSS}' ${BASH} ${SCRIPT_DIR}/rstrip.sh $(STAGING_TARGET_DIR)
- prefix=' ' ${BASH} ${SCRIPT_DIR}/rstrip.sh $(STAGING_HOST_DIR)
+ PATH="$(TARGET_PATH)" debug='' prefix='${TARGET_CROSS}' ${BASH} ${SCRIPT_DIR}/rstrip.sh $(STAGING_TARGET_DIR)
+ debug='' prefix=' ' ${BASH} ${SCRIPT_DIR}/rstrip.sh $(STAGING_HOST_DIR)/bin $(STAGING_HOST_DIR)/$(GNU_TARGET_NAME)/
touch $@
include ${TOPDIR}/mk/toolchain.mk