Skip to content
Snippets Groups Projects
Commit 61f19f55 authored by Florian Fainelli's avatar Florian Fainelli
Browse files

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: default avatarFlorian Fainelli <florian@openwrt.org>

SVN-Revision: 34598
parent 629ba45a
No related branches found
No related tags found
No related merge requests found
......@@ -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))
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment