patches/binutils/2.20.1/250-arm-eabi-conf.patch
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Tue Aug 02 18:28:10 2011 +0200 (2011-08-02)
changeset 2590 b64cfb67944e
parent 1700 eccc37dd1a25
permissions -rw-r--r--
scripts/functions: svn retrieval first tries the mirror for tarballs

The svn download helper looks for the local tarballs dir to see if it
can find a pre-downloaded tarball, and if it does not find it, does
the actual fetch to upstream via svn.

In the process, it does not even try to get a tarball from the local
mirror, which can be useful if the mirror has been pre-populated
manually (or with a previously downloaded tree).

Fake a tarball get with the standard tarball-download helper, but
without specifying any upstream URL, which makes the helper directly
try the LAN mirror.

Of course, if no mirror is specified, no URL wil be available, and
the standard svn retrieval will kick in.

Reported-by: ANDY KENNEDY <ANDY.KENNEDY@adtran.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
jocke@1700
     1
diff -u binutils-2.20.orig/configure binutils-2.20/configure
yann@2088
     2
yann@2088
     3
diff -durN binutils-2.20.1.orig/configure binutils-2.20.1/configure
yann@2088
     4
--- binutils-2.20.1.orig/configure	2010-08-17 19:32:07.000000000 +0200
yann@2088
     5
+++ binutils-2.20.1/configure	2010-08-17 19:32:22.000000000 +0200
jocke@1700
     6
@@ -3086,7 +3086,7 @@
jocke@1700
     7
     noconfigdirs="$noconfigdirs target-libffi target-qthreads"
jocke@1700
     8
     libgloss_dir=arm
jocke@1700
     9
     ;;
jocke@1700
    10
-  arm*-*-linux-gnueabi)
jocke@1700
    11
+  arm*-*-linux-*gnueabi)
jocke@1700
    12
     noconfigdirs="$noconfigdirs target-qthreads"
jocke@1700
    13
     case ${with_newlib} in
jocke@1700
    14
       no) noconfigdirs="$noconfigdirs target-newlib target-libgloss"
yann@2088
    15
diff -durN binutils-2.20.1.orig/configure.ac binutils-2.20.1/configure.ac
yann@2088
    16
--- binutils-2.20.1.orig/configure.ac	2010-08-17 19:32:07.000000000 +0200
yann@2088
    17
+++ binutils-2.20.1/configure.ac	2010-08-17 19:32:22.000000000 +0200
jocke@1700
    18
@@ -573,7 +573,7 @@
jocke@1700
    19
     noconfigdirs="$noconfigdirs target-libffi target-qthreads"
jocke@1700
    20
     libgloss_dir=arm
jocke@1700
    21
     ;;
jocke@1700
    22
-  arm*-*-linux-gnueabi)
jocke@1700
    23
+  arm*-*-linux-*gnueabi)
jocke@1700
    24
     noconfigdirs="$noconfigdirs target-qthreads"
jocke@1700
    25
     case ${with_newlib} in
jocke@1700
    26
       no) noconfigdirs="$noconfigdirs target-newlib target-libgloss"