From: Victor Martinez <pitillo@ono.com>
Date: Sat, 14 Sep 2013 10:02:00 +0000 (+0000)
Subject: Removed libtool test from toolchain
X-Git-Url: http://gitweb/?a=commitdiff_plain;h=a43bb1e23e00be959f97dbea1f897b2eeed85276;p=toolchain.git

Removed libtool test from toolchain
---

diff --git a/Makefile b/Makefile
index b7c1475..5b5feaf 100644
--- a/Makefile
+++ b/Makefile
@@ -6,12 +6,12 @@ include vars.mk
 
 .PHONY: all clean distclean
 
-all: linux-headers libgmp libmpfr libmpc binutils gcc-static glibc gcc-final libtool setup test
+all: linux-headers libgmp libmpfr libmpc binutils gcc-static glibc gcc-final setup test
 
-clean: linux-headers-clean libgmp-clean libmpfr-clean libmpc-clean binutils-clean gcc-static-clean glibc-clean gcc-final-clean libtool-clean test-clean
+clean: linux-headers-clean libgmp-clean libmpfr-clean libmpc-clean binutils-clean gcc-static-clean glibc-clean gcc-final-clean test-clean
 	rm -rvf $(CROSSTOOLS)/* $(CLFS)/*
 
-distclean: clean linux-headers-distclean libgmp-distclean libmpfr-distclean libmpc-distclean binutils-distclean gcc-static-distclean glibc-distclean gcc-final-distclean libtool-distclean test-distclean
+distclean: clean linux-headers-distclean libgmp-distclean libmpfr-distclean libmpc-distclean binutils-distclean gcc-static-distclean glibc-distclean gcc-final-distclean test-distclean
 
 
 # LINUX HEADERS
@@ -276,37 +276,6 @@ gcc-final-distclean: gcc-final-clean
 	rm -vf $(WORK)/gcc-$(GCC_VERSION).tar.bz2
 
 
-# LIBTOOL
-
-$(WORK)/libtool-$(LIBTOOL_VERSION).tar.xz:
-	wget -P $(WORK) -c http://ftp.gnu.org/gnu/libtool/libtool-$(LIBTOOL_VERSION).tar.xz
-
-$(WORK)/libtool-$(LIBTOOL_VERSION): $(WORK)/libtool-$(LIBTOOL_VERSION).tar.xz
-	tar -C $(WORK) -xvJf $(WORK)/libtool-$(LIBTOOL_VERSION).tar.xz
-	touch $(WORK)/libtool-$(LIBTOOL_VERSION)
-
-$(WORK)/build-libtool: $(WORK)/libtool-$(LIBTOOL_VERSION)
-	mkdir -p $(WORK)/build-libtool
-	touch $(WORK)/build-libtool
-
-$(CROSSTOOLS)/lib/libltdl.so: $(WORK)/build-libtool $(WORK)/libtool-$(LIBTOOL_VERSION)
-	cd $(WORK)/build-libtool && \
-		unset CFLAGS && unset CXXFLAGS && \
-		LDFLAGS="-Wl,-rpath,$(CROSSTOOLS)/lib" && \
-		$(WORK)/libtool-$(LIBTOOL_VERSION)/configure --prefix=$(CROSSTOOLS) \
-		--program-prefix=$(TARGET)- && \
-		make && make install || exit 1
-	touch $(CROSSTOOLS)/lib/libltdl.so
-
-libtool: gcc-final $(CROSSTOOLS)/lib/libltdl.so
-
-libtool-clean:
-	rm -vrf $(WORK)/build-libtool $(WORK)/libtool-$(LIBTOOL_VERSION)
-
-libtool-distclean:
-	rm -vf $(WORK)/libtool-$(LIBTOOL_VERSION).tar.xz
-
-
 # SETUP FOR PKGUTILS-CROSS
 $(CLFS)/var/lib/pkg/db:
 	install -d -m 0755 $(CLFS)/var/lib/pkg