summaryrefslogtreecommitdiff
path: root/toolchain/musl
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/musl
parent1db3e456a4965d23759947f80379260f509603c8 (diff)
parentd7af52ccd4cab1fcffaec5706a8a6eba96502b89 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'toolchain/musl')
-rw-r--r--toolchain/musl/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/toolchain/musl/Makefile b/toolchain/musl/Makefile
index 7382b84da..726a036c3 100644
--- a/toolchain/musl/Makefile
+++ b/toolchain/musl/Makefile
@@ -57,6 +57,10 @@ $(WRKBUILD)/.fixup:
)
$(MAKE) CFLAGS='$(TARGET_CFLAGS)' -C $(WRKBUILD) all
$(MAKE) -C $(WRKBUILD) DESTDIR=$(STAGING_TARGET_DIR) install
+ # 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