summaryrefslogtreecommitdiff
path: root/package/gdb-microblaze/patches/patch-gdb_configure_host
diff options
context:
space:
mode:
Diffstat (limited to 'package/gdb-microblaze/patches/patch-gdb_configure_host')
-rw-r--r--package/gdb-microblaze/patches/patch-gdb_configure_host19
1 files changed, 19 insertions, 0 deletions
diff --git a/package/gdb-microblaze/patches/patch-gdb_configure_host b/package/gdb-microblaze/patches/patch-gdb_configure_host
new file mode 100644
index 000000000..fc5193794
--- /dev/null
+++ b/package/gdb-microblaze/patches/patch-gdb_configure_host
@@ -0,0 +1,19 @@
+--- gdb-7.8.2.orig/gdb/configure.host 2015-01-15 11:58:12.000000000 +0100
++++ gdb-7.8.2/gdb/configure.host 2016-09-21 10:34:30.025222164 +0200
+@@ -59,6 +59,7 @@ i[34567]86*) gdb_host_cpu=i386 ;;
+ m68*) gdb_host_cpu=m68k ;;
+ m88*) gdb_host_cpu=m88k ;;
+ mips*) gdb_host_cpu=mips ;;
++microblaze*) gdb_host_cpu=microblaze ;;
+ powerpc* | rs6000) gdb_host_cpu=powerpc ;;
+ sparcv9 | sparc64) gdb_host_cpu=sparc ;;
+ s390*) gdb_host_cpu=s390 ;;
+@@ -133,6 +134,8 @@ mips*-*-netbsd* | mips*-*-knetbsd*-gnu)
+ gdb_host=nbsd ;;
+ mips64*-*-openbsd*) gdb_host=obsd64 ;;
+
++microblaze*-*linux*) gdb_host=linux ;;
++
+ powerpc-*-aix* | rs6000-*-* | powerpc64-*-aix*)
+ gdb_host=aix ;;
+ powerpc*-*-freebsd*) gdb_host=fbsd ;;