summaryrefslogtreecommitdiffstats
path: root/toolchain/binutils/2.18.50.0.9/120-sh-conf.patch
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2008-12-05 15:27:58 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2008-12-05 15:27:58 +0000
commit5469008f89476f5e69367855d2bae26b58d37a7c (patch)
tree0c3ad16de27113a106a234d4808061b4fe58d7d4 /toolchain/binutils/2.18.50.0.9/120-sh-conf.patch
parent01a7a8fef61ef8aae27f29a4125b90937b619c43 (diff)
downloadbuildroot-novena-5469008f89476f5e69367855d2bae26b58d37a7c.tar.gz
buildroot-novena-5469008f89476f5e69367855d2bae26b58d37a7c.zip
toolchain/binutils/2.18.50.0.9: accept sh?-*-*
Based on 3ed6c5b5 in Bernhard's tree.
Diffstat (limited to 'toolchain/binutils/2.18.50.0.9/120-sh-conf.patch')
-rw-r--r--toolchain/binutils/2.18.50.0.9/120-sh-conf.patch42
1 files changed, 42 insertions, 0 deletions
diff --git a/toolchain/binutils/2.18.50.0.9/120-sh-conf.patch b/toolchain/binutils/2.18.50.0.9/120-sh-conf.patch
new file mode 100644
index 000000000..071d15a41
--- /dev/null
+++ b/toolchain/binutils/2.18.50.0.9/120-sh-conf.patch
@@ -0,0 +1,42 @@
+diff -rdup binutils-2.18.50.0.9.old/configure binutils-2.18.50.0.9/configure
+--- binutils-2.18.50.0.9.old/configure 2008-08-23 17:36:13.000000000 +0200
++++ binutils-2.18.50.0.9/configure 2008-10-14 14:25:22.000000000 +0200
+@@ -2281,7 +2281,7 @@ case "${target}" in
+ am33_2.0-*-linux*)
+ noconfigdirs="$noconfigdirs ${libgcj} target-newlib target-libgloss"
+ ;;
+- sh-*-linux*)
++ sh*-*-linux*)
+ noconfigdirs="$noconfigdirs ${libgcj} target-newlib target-libgloss"
+ ;;
+ sh*-*-pe|mips*-*-pe|*arm-wince-pe)
+@@ -2606,7 +2606,7 @@ case "${target}" in
+ romp-*-*)
+ noconfigdirs="$noconfigdirs bfd binutils ld gas opcodes target-libgloss ${libgcj}"
+ ;;
+- sh-*-* | sh64-*-*)
++ sh*-*-* | sh64-*-*)
+ case "${host}" in
+ i[3456789]86-*-vsta) ;; # don't add gprof back in
+ i[3456789]86-*-go32*) ;; # don't add gprof back in
+diff -rdup binutils-2.18.50.0.9.old/configure.ac binutils-2.18.50.0.9/configure.ac
+--- binutils-2.18.50.0.9.old/configure.ac 2008-08-23 17:36:13.000000000 +0200
++++ binutils-2.18.50.0.9/configure.ac 2008-10-14 14:25:11.000000000 +0200
+@@ -530,7 +530,7 @@ case "${target}" in
+ am33_2.0-*-linux*)
+ noconfigdirs="$noconfigdirs ${libgcj} target-newlib target-libgloss"
+ ;;
+- sh-*-linux*)
++ sh*-*-linux*)
+ noconfigdirs="$noconfigdirs ${libgcj} target-newlib target-libgloss"
+ ;;
+ sh*-*-pe|mips*-*-pe|*arm-wince-pe)
+@@ -855,7 +855,7 @@ case "${target}" in
+ romp-*-*)
+ noconfigdirs="$noconfigdirs bfd binutils ld gas opcodes target-libgloss ${libgcj}"
+ ;;
+- sh-*-* | sh64-*-*)
++ sh*-*-* | sh64-*-*)
+ case "${host}" in
+ i[[3456789]]86-*-vsta) ;; # don't add gprof back in
+ i[[3456789]]86-*-go32*) ;; # don't add gprof back in