From: Peter Korsgaard Date: Tue, 11 Mar 2008 08:17:17 +0000 (-0000) Subject: buildroot: Use BR2_GNU_MIRROR everywhere X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=efa0423110835898ebb596813b7a499dbc3dace0;p=buildroot.git buildroot: Use BR2_GNU_MIRROR everywhere Patch by Nigel Kukard. --- diff --git a/package/autoconf/autoconf.mk b/package/autoconf/autoconf.mk index 221541a5db..0d73f7576d 100644 --- a/package/autoconf/autoconf.mk +++ b/package/autoconf/autoconf.mk @@ -5,7 +5,7 @@ ############################################################# AUTOCONF_VERSION:=2.61 AUTOCONF_SOURCE:=autoconf-$(AUTOCONF_VERSION).tar.bz2 -AUTOCONF_SITE:=http://ftp.gnu.org/pub/gnu/autoconf +AUTOCONF_SITE:=$(BR2_GNU_MIRROR)/gnu/autoconf AUTOCONF_CAT:=$(BZCAT) AUTOCONF_SRC_DIR:=$(TOOL_BUILD_DIR)/autoconf-$(AUTOCONF_VERSION) AUTOCONF_DIR:=$(BUILD_DIR)/autoconf-$(AUTOCONF_VERSION) diff --git a/package/automake/automake.mk b/package/automake/automake.mk index 548f2c5807..928a55b96b 100644 --- a/package/automake/automake.mk +++ b/package/automake/automake.mk @@ -5,7 +5,7 @@ ############################################################# AUTOMAKE_VERSION:=1.10 AUTOMAKE_SOURCE:=automake-$(AUTOMAKE_VERSION).tar.bz2 -AUTOMAKE_SITE:=http://ftp.gnu.org/pub/gnu/automake +AUTOMAKE_SITE:=$(BR2_GNU_MIRROR)/gnu/automake AUTOMAKE_CAT:=$(BZCAT) AUTOMAKE_SRC_DIR:=$(TOOL_BUILD_DIR)/automake-$(AUTOMAKE_VERSION) AUTOMAKE_DIR:=$(BUILD_DIR)/automake-$(AUTOMAKE_VERSION) diff --git a/package/bash/bash.mk b/package/bash/bash.mk index d35e3fe80a..29352f50f8 100644 --- a/package/bash/bash.mk +++ b/package/bash/bash.mk @@ -5,7 +5,7 @@ ############################################################# BASH_VERSION:=3.2 BASH_SOURCE:=bash-$(BASH_VERSION).tar.gz -BASH_SITE:=http://ftp.gnu.org/pub/gnu/bash +BASH_SITE:=$(BR2_GNU_MIRROR)/gnu/bash BASH_CAT:=$(ZCAT) BASH_DIR:=$(BUILD_DIR)/bash-$(BASH_VERSION) BASH_BINARY:=bash diff --git a/package/bison/bison.mk b/package/bison/bison.mk index 3eb9643fdf..edabc24a2d 100644 --- a/package/bison/bison.mk +++ b/package/bison/bison.mk @@ -5,7 +5,7 @@ ############################################################# BISON_VERSION:=2.3 BISON_SOURCE:=bison-$(BISON_VERSION).tar.bz2 -BISON_SITE:=http://ftp.gnu.org/pub/gnu/bison +BISON_SITE:=$(BR2_GNU_MIRROR)/gnu/bison BISON_DIR:=$(BUILD_DIR)/bison-$(BISON_VERSION) BISON_CAT:=$(BZCAT) BISON_BINARY:=src/bison diff --git a/package/coreutils/coreutils.mk b/package/coreutils/coreutils.mk index a3bc311b9a..541c697013 100644 --- a/package/coreutils/coreutils.mk +++ b/package/coreutils/coreutils.mk @@ -6,7 +6,7 @@ COREUTILS_VERSION:=6.9 COREUTILS_SOURCE:=coreutils-$(COREUTILS_VERSION).tar.bz2 #COREUTILS_SITE:=ftp://alpha.gnu.org/gnu/coreutils/ -COREUTILS_SITE:=http://ftp.gnu.org/pub/gnu/coreutils +COREUTILS_SITE:=$(BR2_GNU_MIRROR)/gnu/coreutils COREUTILS_CAT:=$(BZCAT) COREUTILS_DIR:=$(BUILD_DIR)/coreutils-$(COREUTILS_VERSION) COREUTILS_BINARY:=src/vdir diff --git a/package/diffutils/diffutils.mk b/package/diffutils/diffutils.mk index ff9c7e8cf1..5963bc62c1 100644 --- a/package/diffutils/diffutils.mk +++ b/package/diffutils/diffutils.mk @@ -6,7 +6,7 @@ DIFFUTILS_VERSION=2.8.7 DIFFUTILS_SOURCE:=diffutils-$(DIFFUTILS_VERSION).tar.gz #DIFFUTILS_SITE:=ftp://alpha.gnu.org/gnu/diffutils/ -DIFFUTILS_SITE:=http://mirrors.ircam.fr/pub/gnu/alpha/gnu/diffutils +DIFFUTILS_SITE:=$(BR2_GNU_MIRROR)/gnu/diffutils DIFFUTILS_CAT:=$(ZCAT) DIFFUTILS_DIR:=$(BUILD_DIR)/diffutils-$(DIFFUTILS_VERSION) DIFFUTILS_BINARY:=src/diff diff --git a/package/findutils/findutils.mk b/package/findutils/findutils.mk index 7ac093a1ad..15c0962d81 100644 --- a/package/findutils/findutils.mk +++ b/package/findutils/findutils.mk @@ -6,7 +6,7 @@ FINDUTILS_VERSION:=4.2.31 FINDUTILS_SOURCE:=findutils-$(FINDUTILS_VERSION).tar.gz #FINDUTILS_SITE:=ftp://alpha.gnu.org/gnu/findutils -FINDUTILS_SITE:=http://ftp.gnu.org/pub/gnu/findutils/ +FINDUTILS_SITE:=$(BR2_GNU_MIRROR)/gnu/findutils/ FINDUTILS_CAT:=$(ZCAT) FINDUTILS_DIR:=$(BUILD_DIR)/findutils-$(FINDUTILS_VERSION) FINDUTILS_BINARY:=find/find diff --git a/package/gawk/gawk.mk b/package/gawk/gawk.mk index 5ca3bcdd4a..87bce16806 100644 --- a/package/gawk/gawk.mk +++ b/package/gawk/gawk.mk @@ -5,7 +5,7 @@ ############################################################# GAWK_VERSION:=3.1.5 GAWK_SOURCE:=gawk-$(GAWK_VERSION).tar.bz2 -GAWK_SITE:=http://ftp.gnu.org/pub/gnu/gawk +GAWK_SITE:=$(BR2_GNU_MIRROR)/gnu/gawk GAWK_CAT:=$(BZCAT) GAWK_DIR:=$(BUILD_DIR)/gawk-$(GAWK_VERSION) GAWK_BINARY:=gawk diff --git a/package/gettext/gettext.mk b/package/gettext/gettext.mk index 56cc9582c0..46a99bf85c 100644 --- a/package/gettext/gettext.mk +++ b/package/gettext/gettext.mk @@ -5,7 +5,7 @@ ############################################################# GETTEXT_VERSION:=0.16.1 GETTEXT_SOURCE:=gettext-$(GETTEXT_VERSION).tar.gz -GETTEXT_SITE:=http://ftp.gnu.org/pub/gnu/gettext +GETTEXT_SITE:=$(BR2_GNU_MIRROR)/gnu/gettext GETTEXT_DIR:=$(BUILD_DIR)/gettext-$(GETTEXT_VERSION) GETTEXT_CAT:=$(ZCAT) GETTEXT_BINARY:=gettext-runtime/src/gettext diff --git a/package/gzip/gzip.mk b/package/gzip/gzip.mk index 4aae26aa0e..e65737291b 100644 --- a/package/gzip/gzip.mk +++ b/package/gzip/gzip.mk @@ -6,7 +6,7 @@ GZIP_VERSION:=1.3.5 GZIP_SOURCE:=gzip-$(GZIP_VERSION).tar.gz #GZIP_SITE:=ftp://alpha.gnu.org/gnu/gzip -GZIP_SITE:=http://mirrors.ircam.fr/pub/gnu/alpha/gnu/gzip +GZIP_SITE:=$(BR2_GNU_MIRROR)/gnu/gzip GZIP_DIR:=$(BUILD_DIR)/gzip-$(GZIP_VERSION) GZIP_CAT:=$(ZCAT) GZIP_BINARY:=$(GZIP_DIR)/gzip diff --git a/package/libtool/libtool.mk b/package/libtool/libtool.mk index fee88520a9..591a7a3e9a 100644 --- a/package/libtool/libtool.mk +++ b/package/libtool/libtool.mk @@ -5,7 +5,7 @@ ############################################################# LIBTOOL_VERSION:=1.5.24 LIBTOOL_SOURCE:=libtool-$(LIBTOOL_VERSION).tar.gz -LIBTOOL_SITE:=http://ftp.gnu.org/pub/gnu/libtool +LIBTOOL_SITE:=$(BR2_GNU_MIRROR)/gnu/libtool LIBTOOL_CAT:=$(ZCAT) LIBTOOL_SRC_DIR:=$(TOOL_BUILD_DIR)/libtool-$(LIBTOOL_VERSION) LIBTOOL_DIR:=$(BUILD_DIR)/libtool-$(LIBTOOL_VERSION) diff --git a/package/m4/m4.mk b/package/m4/m4.mk index 5bf1cbdb6a..d25a8a1686 100644 --- a/package/m4/m4.mk +++ b/package/m4/m4.mk @@ -6,7 +6,7 @@ M4_VERSION:=1.4.9 M4_SOURCE:=m4-$(M4_VERSION).tar.bz2 M4_CAT:=$(BZCAT) -M4_SITE:=http://ftp.gnu.org/pub/gnu/m4 +M4_SITE:=$(BR2_GNU_MIRROR)/gnu/m4 M4_DIR:=$(BUILD_DIR)/m4-$(M4_VERSION) M4_HOST_DIR:=$(TOOL_BUILD_DIR)/m4-$(M4_VERSION) M4_BINARY:=m4 diff --git a/package/make/make.mk b/package/make/make.mk index 109d83bf75..7f83293bb1 100644 --- a/package/make/make.mk +++ b/package/make/make.mk @@ -5,7 +5,7 @@ ############################################################# GNUMAKE_VERSION:=3.81 GNUMAKE_SOURCE:=make-$(GNUMAKE_VERSION).tar.bz2 -GNUMAKE_SITE:=http://ftp.gnu.org/pub/gnu/make +GNUMAKE_SITE:=$(BR2_GNU_MIRROR)/gnu/make GNUMAKE_DIR:=$(BUILD_DIR)/make-$(GNUMAKE_VERSION) GNUMAKE_CAT:=$(BZCAT) GNUMAKE_BINARY:=make diff --git a/package/ncurses/ncurses.mk b/package/ncurses/ncurses.mk index f1a425a9f5..009dc86b27 100644 --- a/package/ncurses/ncurses.mk +++ b/package/ncurses/ncurses.mk @@ -24,7 +24,7 @@ # TARGETS NCURSES_VERSION:=5.6 -NCURSES_SITE:=http://ftp.gnu.org/pub/gnu/ncurses +NCURSES_SITE:=$(BR2_GNU_MIRROR)/gnu/ncurses NCURSES_DIR:=$(BUILD_DIR)/ncurses-$(NCURSES_VERSION) NCURSES_SOURCE:=ncurses-$(NCURSES_VERSION).tar.gz NCURSES_CAT:=$(ZCAT) diff --git a/package/sed/sed.mk b/package/sed/sed.mk index a91d2f70a4..db38540463 100644 --- a/package/sed/sed.mk +++ b/package/sed/sed.mk @@ -5,7 +5,7 @@ ############################################################# SED_VERSION:=4.1.5 SED_SOURCE:=sed-$(SED_VERSION).tar.gz -SED_SITE:=http://ftp.gnu.org/pub/gnu/sed +SED_SITE:=$(BR2_GNU_MIRROR)/gnu/sed SED_CAT:=$(ZCAT) SED_DIR1:=$(TOOL_BUILD_DIR)/sed-$(SED_VERSION) SED_DIR2:=$(BUILD_DIR)/sed-$(SED_VERSION) diff --git a/package/tar/tar.mk b/package/tar/tar.mk index ff7ee3a224..5f4bd04566 100644 --- a/package/tar/tar.mk +++ b/package/tar/tar.mk @@ -5,7 +5,7 @@ ############################################################# GNUTAR_VERSION:=1.18 GNUTAR_SOURCE:=tar-$(GNUTAR_VERSION).tar.bz2 -GNUTAR_SITE:=$(BR2_GNU_MIRROR)/tar/ +GNUTAR_SITE:=$(BR2_GNU_MIRROR)/gnu/tar/ GNUTAR_DIR:=$(BUILD_DIR)/tar-$(GNUTAR_VERSION) GNUTAR_CAT:=$(BZCAT) GNUTAR_BINARY:=src/tar diff --git a/package/wget/wget.mk b/package/wget/wget.mk index a78b914ff1..5e22a5c58b 100644 --- a/package/wget/wget.mk +++ b/package/wget/wget.mk @@ -5,7 +5,7 @@ ############################################################# WGET_VERSION:=1.10.2 WGET_SOURCE:=wget-$(WGET_VERSION).tar.gz -WGET_SITE:=http://ftp.gnu.org/pub/gnu/wget +WGET_SITE:=$(BR2_GNU_MIRROR)/gnu/wget WGET_DIR:=$(BUILD_DIR)/wget-$(WGET_VERSION) WGET_CAT:=$(ZCAT) WGET_BINARY:=src/wget diff --git a/toolchain/binutils/binutils.mk b/toolchain/binutils/binutils.mk index bede4ef3d6..84d088adb2 100644 --- a/toolchain/binutils/binutils.mk +++ b/toolchain/binutils/binutils.mk @@ -10,29 +10,29 @@ EXTRA_BINUTILS_CONFIG_OPTIONS=$(strip $(subst ",, $(BR2_EXTRA_BINUTILS_CONFIG_OP #")) BINUTILS_SITE:=ftp://ftp.kernel.org/pub/linux/devel/binutils ifeq ($(BINUTILS_VERSION),2.18) -BINUTILS_SITE:=ftp://ftp.gnu.org/gnu/binutils/ +BINUTILS_SITE:=$(BR2_GNU_MIRROR)/gnu/binutils/ endif ifeq ($(BINUTILS_VERSION),2.17) -BINUTILS_SITE:=ftp://ftp.gnu.org/gnu/binutils/ +BINUTILS_SITE:=$(BR2_GNU_MIRROR)/gnu/binutils/ endif ifeq ($(BINUTILS_VERSION),2.16) -BINUTILS_SITE:=ftp://ftp.gnu.org/gnu/binutils/ +BINUTILS_SITE:=$(BR2_GNU_MIRROR)/gnu/binutils/ BINUTILS_NO_MPFR:=y endif ifeq ($(BINUTILS_VERSION),2.16.1) -BINUTILS_SITE:=ftp://ftp.gnu.org/gnu/binutils/ +BINUTILS_SITE:=$(BR2_GNU_MIRROR)/gnu/binutils/ BINUTILS_NO_MPFR:=y endif ifeq ($(BINUTILS_VERSION),2.15) -BINUTILS_SITE:=ftp://ftp.gnu.org/gnu/binutils/ +BINUTILS_SITE:=$(BR2_GNU_MIRROR)/gnu/binutils/ BINUTILS_NO_MPFR:=y endif ifeq ($(BINUTILS_VERSION),2.14) -BINUTILS_SITE:=ftp://ftp.gnu.org/gnu/binutils/ +BINUTILS_SITE:=$(BR2_GNU_MIRROR)/gnu/binutils/ BINUTILS_NO_MPFR:=y endif ifeq ($(BINUTILS_VERSION),2.13) -BINUTILS_SITE:=ftp://ftp.gnu.org/gnu/binutils/ +BINUTILS_SITE:=$(BR2_GNU_MIRROR)/gnu/binutils/ BINUTILS_NO_MPFR:=y endif ifeq ($(BINUTILS_VERSION),2.15.97)