patches/binutils/2.22/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
benoit@2810
     1
r10231 | lethal | 2005-05-02 09:58:00 -0400 (Mon, 02 May 2005) | 13 lines
benoit@2810
     2
benoit@2810
     3
Likewise, binutils has no idea about any of these new targets either, so we 
benoit@2810
     4
fix that up too.. now we're able to actually build a real toolchain for 
benoit@2810
     5
sh2a_nofpu- and other more ineptly named toolchains (and yes, there are more 
benoit@2810
     6
inept targets than that one, really. Go look, I promise).
benoit@2810
     7
benoit@2810
     8
diff -durN binutils-2.22.orig/configure binutils-2.22/configure
benoit@2810
     9
--- binutils-2.22.orig/configure	2011-08-14 14:28:15.000000000 +0200
benoit@2810
    10
+++ binutils-2.22/configure	2011-12-14 19:49:40.284777434 +0100
benoit@2810
    11
@@ -3570,7 +3570,7 @@
benoit@2810
    12
   mips*-*-*)
benoit@2810
    13
     noconfigdirs="$noconfigdirs gprof"
benoit@2810
    14
     ;;
benoit@2810
    15
-  sh-*-* | sh64-*-*)
benoit@2810
    16
+  sh*-*-* | sh64-*-*)
benoit@2810
    17
     case "${target}" in
benoit@2810
    18
       sh*-*-elf)
benoit@2810
    19
          ;;
benoit@2810
    20
diff -durN binutils-2.22.orig/configure.ac binutils-2.22/configure.ac
benoit@2810
    21
--- binutils-2.22.orig/configure.ac	2011-11-21 12:58:27.000000000 +0100
benoit@2810
    22
+++ binutils-2.22/configure.ac	2011-12-14 19:49:40.316777436 +0100
benoit@2810
    23
@@ -1006,7 +1006,7 @@
benoit@2810
    24
   mips*-*-*)
benoit@2810
    25
     noconfigdirs="$noconfigdirs gprof"
benoit@2810
    26
     ;;
benoit@2810
    27
-  sh-*-* | sh64-*-*)
benoit@2810
    28
+  sh*-*-* | sh64-*-*)
benoit@2810
    29
     case "${target}" in
benoit@2810
    30
       sh*-*-elf)
benoit@2810
    31
          ;;