summaryrefslogtreecommitdiff
path: root/patches/binutils/2.24/120-sh-conf.patch
blob: d5913e84126e651242fa3c8061a9d2cb22429f69 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
r10231 | lethal | 2005-05-02 09:58:00 -0400 (Mon, 02 May 2005) | 13 lines

Likewise, binutils has no idea about any of these new targets either, so we 
fix that up too.. now we're able to actually build a real toolchain for 
sh2a_nofpu- and other more ineptly named toolchains (and yes, there are more 
inept targets than that one, really. Go look, I promise).

diff -durN binutils-2.22.orig/configure binutils-2.22/configure
--- binutils-2.22.orig/configure	2011-08-14 14:28:15.000000000 +0200
+++ binutils-2.22/configure	2011-12-14 19:49:40.284777434 +0100
@@ -3570,7 +3570,7 @@
   mips*-*-*)
     noconfigdirs="$noconfigdirs gprof"
     ;;
-  sh-*-* | sh64-*-*)
+  sh*-*-* | sh64-*-*)
     case "${target}" in
       sh*-*-elf)
          ;;
diff -durN binutils-2.22.orig/configure.ac binutils-2.22/configure.ac
--- binutils-2.22.orig/configure.ac	2011-11-21 12:58:27.000000000 +0100
+++ binutils-2.22/configure.ac	2011-12-14 19:49:40.316777436 +0100
@@ -1006,7 +1006,7 @@
   mips*-*-*)
     noconfigdirs="$noconfigdirs gprof"
     ;;
-  sh-*-* | sh64-*-*)
+  sh*-*-* | sh64-*-*)
     case "${target}" in
       sh*-*-elf)
          ;;