From 7eae0282bc59b25d31328a2fbf88bea97a61927a Mon Sep 17 00:00:00 2001 From: Victor Martinez Date: Sat, 14 May 2016 02:43:38 +0000 Subject: [PATCH] Updates: - Removed verbosity - libgmp -> 6.1.0 - libmpfr -> 3.1.4 - gcc -> 5.3.0 --- Makefile | 47 +++++++++++++++++++++++------------------------ vars.mk | 6 +++--- 2 files changed, 26 insertions(+), 27 deletions(-) diff --git a/Makefile b/Makefile index b1bd46f..dd08e3c 100644 --- a/Makefile +++ b/Makefile @@ -9,7 +9,7 @@ include vars.mk 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 test-clean - rm -rvf $(CROSSTOOLS) $(CLFS) + rm -rf $(CROSSTOOLS) $(CLFS) distclean: clean linux-headers-distclean libgmp-distclean libmpfr-distclean libmpc-distclean binutils-distclean gcc-static-distclean glibc-distclean gcc-final-distclean test-distclean @@ -19,7 +19,7 @@ $(WORK)/linux-$(KERNEL_HEADERS_VERSION).tar.xz: wget -P $(WORK) -c ftp://ftp.kernel.org/pub/linux/kernel/v4.x/linux-$(KERNEL_HEADERS_VERSION).tar.xz $(WORK)/linux-$(KERNEL_HEADERS_VERSION): $(WORK)/linux-$(KERNEL_HEADERS_VERSION).tar.xz - tar -C $(WORK) -xvf $(WORK)/linux-$(KERNEL_HEADERS_VERSION).tar.xz + tar -C $(WORK) -xf $(WORK)/linux-$(KERNEL_HEADERS_VERSION).tar.xz touch $(WORK)/linux-$(KERNEL_HEADERS_VERSION) $(CLFS)/usr/include/asm: $(WORK)/linux-$(KERNEL_HEADERS_VERSION) @@ -33,10 +33,10 @@ $(CLFS)/usr/include/asm: $(WORK)/linux-$(KERNEL_HEADERS_VERSION) linux-headers: $(CLFS)/usr/include/asm linux-headers-clean: - rm -vrf $(WORK)/linux-$(KERNEL_HEADERS_VERSION) + rm -rf $(WORK)/linux-$(KERNEL_HEADERS_VERSION) linux-headers-distclean: linux-headers-clean - rm -vf $(WORK)/linux-$(KERNEL_HEADERS_VERSION).tar.xz + rm -f $(WORK)/linux-$(KERNEL_HEADERS_VERSION).tar.xz # LIBGMP @@ -44,8 +44,7 @@ $(WORK)/gmp-$(LIBGMP_VERSION).tar.bz2: wget -P $(WORK) -c ftp://ftp.gnu.org/gnu/gmp/gmp-$(LIBGMP_VERSION).tar.bz2 $(WORK)/gmp-$(LIBGMP_VERSION): $(WORK)/gmp-$(LIBGMP_VERSION).tar.bz2 - tar -C $(WORK) -xvjf $(WORK)/gmp-$(LIBGMP_VERSION).tar.bz2 - mv `find $(WORK) -type d -name 'gmp-*'` $(WORK)/gmp-$(LIBGMP_VERSION) + tar -C $(WORK) -xjf $(WORK)/gmp-$(LIBGMP_VERSION).tar.bz2 touch $(WORK)/gmp-$(LIBGMP_VERSION) $(WORK)/build-libgmp: $(WORK)/gmp-$(LIBGMP_VERSION) @@ -63,10 +62,10 @@ $(CROSSTOOLS)/lib/libgmp.so: $(WORK)/build-libgmp libgmp: $(CROSSTOOLS)/lib/libgmp.so libgmp-clean: - rm -vrf $(WORK)/build-libgmp $(WORK)/gmp-$(LIBGMP_VERSION) + rm -rf $(WORK)/build-libgmp $(WORK)/gmp-$(LIBGMP_VERSION) libgmp-distclean: libgmp-clean - rm -vrf $(WORK)/gmp-$(LIBGMP_VERSION).tar.bz2 + rm -rf $(WORK)/gmp-$(LIBGMP_VERSION).tar.bz2 # LIBMPFR @@ -74,7 +73,7 @@ $(WORK)/mpfr-$(LIBMPFR_VERSION).tar.bz2: wget -P $(WORK) -c http://ftp.gnu.org/gnu/mpfr/mpfr-$(LIBMPFR_VERSION).tar.bz2 $(WORK)/mpfr-$(LIBMPFR_VERSION): $(WORK)/mpfr-$(LIBMPFR_VERSION).tar.bz2 - tar -C $(WORK) -xvjf $(WORK)/mpfr-$(LIBMPFR_VERSION).tar.bz2 + tar -C $(WORK) -xjf $(WORK)/mpfr-$(LIBMPFR_VERSION).tar.bz2 touch $(WORK)/mpfr-$(LIBMPFR_VERSION) $(WORK)/build-libmpfr: $(WORK)/mpfr-$(LIBMPFR_VERSION) @@ -92,10 +91,10 @@ $(CROSSTOOLS)/lib/libmpfr.so: $(WORK)/build-libmpfr libmpfr: $(CROSSTOOLS)/lib/libmpfr.so libmpfr-clean: - rm -vrf $(WORK)/build-libmpfr $(WORK)/mpfr-$(LIBMPFR_VERSION) + rm -rf $(WORK)/build-libmpfr $(WORK)/mpfr-$(LIBMPFR_VERSION) libmpfr-distclean: libmpfr-clean - rm -vrf $(WORK)/mpfr-$(LIBMPFR_VERSION).tar.bz2 + rm -rf $(WORK)/mpfr-$(LIBMPFR_VERSION).tar.bz2 # LIBMPC @@ -103,7 +102,7 @@ $(WORK)/mpc-$(LIBMPC_VERSION).tar.gz: wget -P $(WORK) -c http://www.multiprecision.org/mpc/download/mpc-$(LIBMPC_VERSION).tar.gz $(WORK)/mpc-$(LIBMPC_VERSION): $(WORK)/mpc-$(LIBMPC_VERSION).tar.gz - tar -C $(WORK) -xvzf $(WORK)/mpc-$(LIBMPC_VERSION).tar.gz + tar -C $(WORK) -xzf $(WORK)/mpc-$(LIBMPC_VERSION).tar.gz touch $(WORK)/mpc-$(LIBMPC_VERSION) $(WORK)/build-libmpc: $(WORK)/mpc-$(LIBMPC_VERSION) @@ -122,10 +121,10 @@ $(CROSSTOOLS)/lib/libmpc.so: $(WORK)/build-libmpc libmpc: $(CROSSTOOLS)/lib/libmpc.so libmpc-clean: - rm -vrf $(WORK)/build-libmpc $(WORK)/mpc-$(LIBMPC_VERSION) + rm -rf $(WORK)/build-libmpc $(WORK)/mpc-$(LIBMPC_VERSION) libmpc-distclean: libmpc-clean - rm -vrf $(WORK)/mpc-$(LIBMPC_VERSION).tar.bz2 + rm -rf $(WORK)/mpc-$(LIBMPC_VERSION).tar.bz2 # BINUTILS @@ -133,7 +132,7 @@ $(WORK)/binutils-$(BINUTILS_VERSION).tar.bz2: wget -P $(WORK) -c ftp://ftp.gnu.org/gnu/binutils/binutils-$(BINUTILS_VERSION).tar.bz2 $(WORK)/binutils-$(BINUTILS_VERSION): $(WORK)/binutils-$(BINUTILS_VERSION).tar.bz2 - tar -C $(WORK) -xvf $(WORK)/binutils-$(BINUTILS_VERSION).tar.bz2 + tar -C $(WORK) -xf $(WORK)/binutils-$(BINUTILS_VERSION).tar.bz2 sed -i '/^SUBDIRS/s/doc//' $(WORK)/binutils-$(BINUTILS_VERSION)/*/Makefile.in touch $(WORK)/binutils-$(BINUTILS_VERSION) @@ -155,7 +154,7 @@ $(CLFS)/usr/include/libiberty.h: $(WORK)/build-binutils binutils: linux-headers $(CLFS)/usr/include/libiberty.h binutils-clean: - rm -vrf $(WORK)/build-binutils $(WORK)/binutils-$(BINUTILS_VERSION) + rm -rf $(WORK)/build-binutils $(WORK)/binutils-$(BINUTILS_VERSION) binutils-distclean: binutils-clean rm -f $(WORK)/binutils-$(BINUTILS_VERSION).tar.bz2 @@ -166,7 +165,7 @@ $(WORK)/gcc-$(GCC_VERSION).tar.bz2: wget -P $(WORK) -c ftp://gcc.gnu.org/pub/gcc/releases/gcc-$(GCC_VERSION)/gcc-$(GCC_VERSION).tar.bz2 $(WORK)/gcc-$(GCC_VERSION): $(WORK)/gcc-$(GCC_VERSION).tar.bz2 - tar -C $(WORK) -xvjf $(WORK)/gcc-$(GCC_VERSION).tar.bz2 + tar -C $(WORK) -xjf $(WORK)/gcc-$(GCC_VERSION).tar.bz2 touch $(WORK)/gcc-$(GCC_VERSION) $(WORK)/build-gcc-static: $(WORK)/gcc-$(GCC_VERSION) @@ -191,10 +190,10 @@ $(CROSSTOOLS)/lib/gcc: $(WORK)/build-gcc-static $(WORK)/gcc-$(GCC_VERSION) gcc-static: linux-headers libgmp libmpfr binutils $(CROSSTOOLS)/lib/gcc gcc-static-clean: - rm -vrf $(WORK)/build-gcc-static $(WORK)/gcc-$(GCC_VERSION) + rm -rf $(WORK)/build-gcc-static $(WORK)/gcc-$(GCC_VERSION) gcc-static-distclean: gcc-static-clean - rm -vf $(WORK)/gcc-$(GCC_VERSION).tar.bz2 + rm -f $(WORK)/gcc-$(GCC_VERSION).tar.bz2 # GLIBC @@ -228,10 +227,10 @@ $(CLFS)/usr/lib/libc.so: $(WORK)/build-glibc $(WORK)/glibc-$(GLIBC_VERSION) glibc: binutils gcc-static $(CLFS)/usr/lib/libc.so glibc-clean: - rm -vrf $(WORK)/build-glibc $(WORK)/glibc-$(GLIBC_VERSION) + rm -rf $(WORK)/build-glibc $(WORK)/glibc-$(GLIBC_VERSION) glibc-distclean: glibc-clean - rm -vf $(WORK)/glibc-$(GLIBC_VERSION).tar.bz2 $(WORK)/glibc-ports-$(GLIBC_VERSION).tar.bz2 + rm -f $(WORK)/glibc-$(GLIBC_VERSION).tar.bz2 $(WORK)/glibc-ports-$(GLIBC_VERSION).tar.bz2 # GCC-FINAL @@ -262,10 +261,10 @@ $(CLFS)/lib/gcc: $(WORK)/build-gcc-final $(WORK)/gcc-$(GCC_VERSION) gcc-final: libgmp libmpfr glibc $(CLFS)/lib/gcc gcc-final-clean: - rm -vrf $(WORK)/build-gcc-final $(WORK)/gcc-$(GCC_VERSION) + rm -rf $(WORK)/build-gcc-final $(WORK)/gcc-$(GCC_VERSION) gcc-final-distclean: gcc-final-clean - rm -vf $(WORK)/gcc-$(GCC_VERSION).tar.bz2 + rm -f $(WORK)/gcc-$(GCC_VERSION).tar.bz2 # SETUP FOR PKGUTILS-CROSS @@ -288,7 +287,7 @@ $(WORK)/test: $(WORK)/test.c test: gcc-final $(WORK)/test test-clean: - rm -vrf $(WORK)/test + rm -rf $(WORK)/test test-distclean: test-clean diff --git a/vars.mk b/vars.mk index b32384e..298bf94 100644 --- a/vars.mk +++ b/vars.mk @@ -11,11 +11,11 @@ CROSSTOOLS = $(TOPDIR)/crosstools WORK = $(TOPDIR)/work KERNEL_HEADERS_VERSION = 4.1.1 -LIBGMP_VERSION = 6.0.0a -LIBMPFR_VERSION = 3.1.3 +LIBGMP_VERSION = 6.1.0 +LIBMPFR_VERSION = 3.1.4 LIBMPC_VERSION = 1.0.3 BINUTILS_VERSION = 2.25.1 -GCC_VERSION = 5.2.0 +GCC_VERSION = 5.3.0 GLIBC_VERSION = 2.22 ABI = aapcs-linux -- 2.26.2