summaryrefslogtreecommitdiff
path: root/toolchain
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2012-12-10 14:24:24 +0000
committerFlorian Fainelli <florian@openwrt.org>2012-12-10 14:24:24 +0000
commit61f19f555ff6dbc738a1455f61372081ce626c81 (patch)
tree05c0e58247fff50f15c7a4c797640f88a42cc612 /toolchain
parent629ba45a9be38e7682bfa28a845c4c3e9d75a1cb (diff)
downloadmtk-20170518-61f19f555ff6dbc738a1455f61372081ce626c81.zip
mtk-20170518-61f19f555ff6dbc738a1455f61372081ce626c81.tar.gz
mtk-20170518-61f19f555ff6dbc738a1455f61372081ce626c81.tar.bz2
toolchain/musl: simplify musl install steps
Some of these were copy/pasted from uClibc, but they are not necessary at all for musl-libc. Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 34598
Diffstat (limited to 'toolchain')
-rw-r--r--toolchain/musl/Makefile12
1 files changed, 0 insertions, 12 deletions
diff --git a/toolchain/musl/Makefile b/toolchain/musl/Makefile
index 79ea175..f95bb05 100644
--- a/toolchain/musl/Makefile
+++ b/toolchain/musl/Makefile
@@ -21,18 +21,6 @@ endef
define Host/Install
$(call Host/SetToolchainInfo)
$(MAKE) -C $(HOST_BUILD_DIR) DESTDIR="$(TOOLCHAIN_DIR)/" install
- ( cd $(TOOLCHAIN_DIR) ; \
- for d in lib usr/lib ; do \
- for f in libc.so libpthread.so libgcc_s.so ; do \
- if [ -f $$$$d/$$$$f -a ! -L $$$$d/$$$$f ] ; then \
- $(SED) 's,/usr/lib/,,g;s,/lib/,,g' $$$$d/$$$$f ; \
- fi \
- done \
- done \
- )
- rm -f \
- $(TOOLCHAIN_DIR)/lib/libresolv*.so* \
- $(TOOLCHAIN_DIR)/lib/libnsl*.so*
endef
$(eval $(call HostBuild))