diff options
author | Nils Wallménius <nils@rockbox.org> | 2011-01-10 19:13:33 +0000 |
---|---|---|
committer | Nils Wallménius <nils@rockbox.org> | 2011-01-10 19:13:33 +0000 |
commit | a335afadaa726310a927907cfd42745bd93abd64 (patch) | |
tree | 7de4e039bb9b6bf022b93343ae4dd7efa0bcbd68 /tools | |
parent | 91d8fe08488cd325c0bff12d60d25654f49d5b3e (diff) | |
download | rockbox-a335afadaa726310a927907cfd42745bd93abd64.tar.gz rockbox-a335afadaa726310a927907cfd42745bd93abd64.zip |
rockboxdev.sh: switch back to using the kernel.org mirrors as the gnu.org mirrors were unreliable and inconsistent. Hardcode the mpc url as mpc is not on the kernel.org mirrors. Sorry for the noise.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29024 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/rockboxdev.sh | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tools/rockboxdev.sh b/tools/rockboxdev.sh index ce3e193e57..3dde02b1da 100755 --- a/tools/rockboxdev.sh +++ b/tools/rockboxdev.sh @@ -30,7 +30,7 @@ else fi if [ -z $GNU_MIRROR ] ; then - GNU_MIRROR=ftp://gcc.gnu.org/pub + GNU_MIRROR=http://mirrors.kernel.org/gnu fi # These are the tools this script requires and depends upon. @@ -102,12 +102,12 @@ build() { case $toolname in gcc) file="gcc-core-$version.tar.bz2" - url="$GNU_MIRROR/gcc/releases/gcc-$version" + url="$GNU_MIRROR/gcc/gcc-$version" ;; binutils) file="binutils-$version.tar.bz2" - url="$GNU_MIRROR/binutils/releases" + url="$GNU_MIRROR/binutils" ;; *) @@ -163,7 +163,7 @@ build() { if (echo $needs_libs | grep -q gmp && test ! -d gmp); then echo "ROCKBOXDEV: Getting GMP" if test ! -f $dlwhere/gmp-4.3.2.tar.bz2; then - getfile "gmp-4.3.2.tar.bz2" "$GNU_MIRROR/gcc/infrastructure" + getfile "gmp-4.3.2.tar.bz2" "$GNU_MIRROR/gmp" fi tar xjf $dlwhere/gmp-4.3.2.tar.bz2 ln -s gmp-4.3.2 gmp @@ -172,7 +172,7 @@ build() { if (echo $needs_libs | grep -q mpfr && test ! -d mpfr); then echo "ROCKBOXDEV: Getting MPFR" if test ! -f $dlwhere/mpfr-2.4.2.tar.bz2; then - getfile "mpfr-2.4.2.tar.bz2" "$GNU_MIRROR/gcc/infrastructure" + getfile "mpfr-2.4.2.tar.bz2" "$GNU_MIRROR/mpfr" fi tar xjf $dlwhere/mpfr-2.4.2.tar.bz2 ln -s mpfr-2.4.2 mpfr @@ -181,7 +181,7 @@ build() { if (echo $needs_libs | grep -q mpc && test ! -d mpc); then echo "ROCKBOXDEV: Getting MPC" if test ! -f $dlwhere/mpc-0.8.1.tar.gz; then - getfile "mpc-0.8.1.tar.gz" "$GNU_MIRROR/gcc/infrastructure" + getfile "mpc-0.8.1.tar.gz" "http://www.multiprecision.org/mpc/download" fi tar xzf $dlwhere/mpc-0.8.1.tar.gz ln -s mpc-0.8.1 mpc |