patches/binutils/2.18.50.0.8/100-arm-uclibcgnueabi.patch
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Tue Dec 23 22:20:25 2008 +0000 (2008-12-23)
changeset 1106 2051ee3d1b75
permissions -rw-r--r--
Further enhance the check for needed tools:
- update the tool_pattern to use ' || ' as a pattern separator
- which allows using | in regexp
- add checks for cut and xargs
- manually check for grep and sed because they are needed when checking for tools
- print why a test failed, with each tested tool and regexp
- move tools checks before options parsing
- apply conttibutions before computing the version string
- inform user to run make && make install

/trunk/configure | 173 111 62 0 ++++++++++++++++++++++++++++++++++++++++----------------------
1 file changed, 111 insertions(+), 62 deletions(-)
yann@652
     1
diff -durN binutils-2.18.50.0.8.orig/configure binutils-2.18.50.0.8/configure
yann@652
     2
--- binutils-2.18.50.0.8.orig/configure	2008-07-10 17:32:56.000000000 +0200
yann@652
     3
+++ binutils-2.18.50.0.8/configure	2008-07-13 23:08:13.000000000 +0200
yann@652
     4
@@ -2313,7 +2313,7 @@
yann@652
     5
     noconfigdirs="$noconfigdirs target-libffi target-qthreads"
yann@652
     6
     libgloss_dir=arm
yann@652
     7
     ;;
yann@652
     8
-  arm*-*-linux-gnueabi)
yann@652
     9
+  arm*-*-linux-gnueabi | arm*-*-linux-uclibcgnueabi)
yann@652
    10
     noconfigdirs="$noconfigdirs target-qthreads"
yann@652
    11
     case ${with_newlib} in
yann@652
    12
       no) noconfigdirs="$noconfigdirs target-newlib target-libgloss"
yann@652
    13
diff -durN binutils-2.18.50.0.8.orig/configure.ac binutils-2.18.50.0.8/configure.ac
yann@652
    14
--- binutils-2.18.50.0.8.orig/configure.ac	2008-07-10 17:32:56.000000000 +0200
yann@652
    15
+++ binutils-2.18.50.0.8/configure.ac	2008-07-13 23:08:13.000000000 +0200
yann@652
    16
@@ -562,7 +562,7 @@
yann@652
    17
     noconfigdirs="$noconfigdirs target-libffi target-qthreads"
yann@652
    18
     libgloss_dir=arm
yann@652
    19
     ;;
yann@652
    20
-  arm*-*-linux-gnueabi)
yann@652
    21
+  arm*-*-linux-gnueabi | arm*-*-linux-uclibcgnueabi)
yann@652
    22
     noconfigdirs="$noconfigdirs target-qthreads"
yann@652
    23
     case ${with_newlib} in
yann@652
    24
       no) noconfigdirs="$noconfigdirs target-newlib target-libgloss"