summaryrefslogtreecommitdiff
path: root/toolchain/uClibc
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-03-01 09:18:14 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2014-03-01 09:18:14 +0100
commit0ff9736b2be7a518724dcb0b061639cf8e7391ab (patch)
tree0c1984883aa8f346d0e5ff1087a5e67778d65b31 /toolchain/uClibc
parent1db3e456a4965d23759947f80379260f509603c8 (diff)
parentd7af52ccd4cab1fcffaec5706a8a6eba96502b89 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'toolchain/uClibc')
-rw-r--r--toolchain/uClibc/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/toolchain/uClibc/Makefile b/toolchain/uClibc/Makefile
index 47084994e..232c3944e 100644
--- a/toolchain/uClibc/Makefile
+++ b/toolchain/uClibc/Makefile
@@ -118,6 +118,10 @@ endif
all install_runtime
rm -rf $(STAGING_TARGET_DIR)/lib/libc.so
ln -s libc.so.0 $(STAGING_TARGET_DIR)/lib/libc.so
+ # cleanup toolchain
+ -find $(STAGING_TARGET_DIR) $(STAGING_HOST_DIR) -name \*.la -delete
+ 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