patches/binutils/2.21.1a/120-sh-conf.patch
author Johannes Stezenbach <js@sig21.net>
Tue Oct 30 00:36:20 2012 +0000 (2012-10-30)
changeset 3096 d1766c2273d1
permissions -rw-r--r--
scripts/functions: use patch -i instead of IO redirection

This makes the patch name show up on the command line
logged by CT_DoExecLog so it's easier to see
what is going on. The -i for patch is specified
by Posix and supported by GNU patch and busybox patch.

Signed-off-by: Johannes Stezenbach <js@sig21.net>
[yann.morin.1998@free.fr: remove now-useless debug message]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Message-Id: <20121030103620.GB8303@sig21.net>
Patchwork-Id: 195418
     1 diff -durN binutils-2.21.1.orig/configure binutils-2.21.1/configure
     2 --- binutils-2.21.1.orig/configure	2011-09-12 13:39:06.292251293 +0200
     3 +++ binutils-2.21.1/configure	2011-09-12 13:39:07.135581381 +0200
     4 @@ -3148,7 +3148,7 @@
     5    am33_2.0-*-linux*)
     6      noconfigdirs="$noconfigdirs ${libgcj} target-newlib target-libgloss"
     7      ;;
     8 -  sh-*-linux*)
     9 +  sh*-*-linux*)
    10      noconfigdirs="$noconfigdirs ${libgcj} target-newlib target-libgloss"
    11      ;;
    12    sh*-*-pe|mips*-*-pe|*arm-wince-pe)
    13 @@ -3487,7 +3487,7 @@
    14    romp-*-*)
    15      noconfigdirs="$noconfigdirs bfd binutils ld gas opcodes target-libgloss ${libgcj}"
    16      ;;
    17 -  sh-*-* | sh64-*-*)
    18 +  sh*-*-* | sh64-*-*)
    19      case "${host}" in
    20        i[3456789]86-*-vsta) ;; # don't add gprof back in
    21        i[3456789]86-*-go32*) ;; # don't add gprof back in
    22 diff -durN binutils-2.21.1.orig/configure.ac binutils-2.21.1/configure.ac
    23 --- binutils-2.21.1.orig/configure.ac	2011-09-12 13:39:06.308917895 +0200
    24 +++ binutils-2.21.1/configure.ac	2011-09-12 13:39:07.145581342 +0200
    25 @@ -620,7 +620,7 @@
    26    am33_2.0-*-linux*)
    27      noconfigdirs="$noconfigdirs ${libgcj} target-newlib target-libgloss"
    28      ;;
    29 -  sh-*-linux*)
    30 +  sh*-*-linux*)
    31      noconfigdirs="$noconfigdirs ${libgcj} target-newlib target-libgloss"
    32      ;;    
    33    sh*-*-pe|mips*-*-pe|*arm-wince-pe)
    34 @@ -959,7 +959,7 @@
    35    romp-*-*)
    36      noconfigdirs="$noconfigdirs bfd binutils ld gas opcodes target-libgloss ${libgcj}"
    37      ;;
    38 -  sh-*-* | sh64-*-*)
    39 +  sh*-*-* | sh64-*-*)
    40      case "${host}" in
    41        i[[3456789]]86-*-vsta) ;; # don't add gprof back in
    42        i[[3456789]]86-*-go32*) ;; # don't add gprof back in