toolchain/musl: simplify musl install steps
authorFlorian Fainelli <florian@openwrt.org>
Mon, 10 Dec 2012 14:24:24 +0000 (14:24 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Mon, 10 Dec 2012 14:24:24 +0000 (14:24 +0000)
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

toolchain/musl/Makefile

index 79ea175a466d4c48daecf997b94d7f8d578b6c92..f95bb05ce29eede0ce34a804e451bc7f1c8bb46d 100644 (file)
@@ -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))