summaryrefslogtreecommitdiff
path: root/toolchain/glibc/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-03-01 09:07:37 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2014-03-01 09:07:37 +0100
commit36b959a9b9a450f0789ecc6d10292efbc1f1eccd (patch)
tree7ba439de3f1ea0a6c3f39253ed17d9a910dc28cc /toolchain/glibc/Makefile
parentf059dbadc9ba64b475511622166db0719ec91193 (diff)
remove armeb, no hardware, no emulator to test, add armhf instead. fix some toolchain archive creation issues, remove unneeded files before packaging.
Diffstat (limited to 'toolchain/glibc/Makefile')
-rw-r--r--toolchain/glibc/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/toolchain/glibc/Makefile b/toolchain/glibc/Makefile
index 2fc0015d7..7f304330c 100644
--- a/toolchain/glibc/Makefile
+++ b/toolchain/glibc/Makefile
@@ -69,6 +69,12 @@ $(WRKBUILD)/.installed:
touch $@
$(WRKBUILD)/.fixup:
+ -find $(STAGING_TARGET_DIR) $(STAGING_HOST_DIR) -name \*.la -delete
+ -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)
touch $@
include ${TOPDIR}/mk/toolchain.mk