summaryrefslogtreecommitdiffstats
path: root/contrib/crossrpms
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2009-03-10 10:56:03 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2009-03-10 10:56:03 +0000
commitaab8725e33923c4e4d477a9641d02825140461e7 (patch)
tree92c6bf0ef6476bde38a97edf22ac9d21222d5bdd /contrib/crossrpms
parentDisable m32c simulator. (diff)
downloadrtems-aab8725e33923c4e4d477a9641d02825140461e7.tar.bz2
Disable sim on mingw32.
Diffstat (limited to 'contrib/crossrpms')
-rw-r--r--contrib/crossrpms/rtems4.10/m32c/Makefile.am4
-rw-r--r--contrib/crossrpms/rtems4.10/m32c/rtems-4.10-m32c-rtems4.10-gdb.spec7
2 files changed, 8 insertions, 3 deletions
diff --git a/contrib/crossrpms/rtems4.10/m32c/Makefile.am b/contrib/crossrpms/rtems4.10/m32c/Makefile.am
index 1962a96af0..11edf9ef62 100644
--- a/contrib/crossrpms/rtems4.10/m32c/Makefile.am
+++ b/contrib/crossrpms/rtems4.10/m32c/Makefile.am
@@ -21,9 +21,9 @@ GCC_OPTS += --disable-infos
GDB_VERS = 6.8.50.20090224
GDB_PKGVERS = $(GDB_VERS)
-GDB_RPMREL = 3
+GDB_RPMREL = 4
include ../gdb.am
-GDB_OPTS += -disable-infos
+GDB_OPTS += --disable-infos
CPUKIT_VERS = 4.9.99.0
CPUKIT_PKGVERS = $(CPUKIT_VERS)-20090206-2
diff --git a/contrib/crossrpms/rtems4.10/m32c/rtems-4.10-m32c-rtems4.10-gdb.spec b/contrib/crossrpms/rtems4.10/m32c/rtems-4.10-m32c-rtems4.10-gdb.spec
index 2e68144f14..c7198e191d 100644
--- a/contrib/crossrpms/rtems4.10/m32c/rtems-4.10-m32c-rtems4.10-gdb.spec
+++ b/contrib/crossrpms/rtems4.10/m32c/rtems-4.10-m32c-rtems4.10-gdb.spec
@@ -52,7 +52,7 @@ Name: rtems-4.10-m32c-rtems4.10-gdb
Summary: Gdb for target m32c-rtems4.10
Group: Development/Tools
Version: %{gdb_rpmvers}
-Release: 3%{?dist}
+Release: 4%{?dist}
License: GPL/LGPL
URL: http://sources.redhat.com/gdb
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -75,6 +75,11 @@ BuildRequires: %{_host_rpmprefix}gcc
%if "m32c-rtems4.10" == "h8300-rtems4.10"
%define build_sim --disable-sim
%endif
+%if "%{gdb_version}" >= "6.8.50"
+%if "m32c-rtems4.10" == "m32c-rtems4.10"
+%define build_sim --disable-sim
+%endif
+%endif
%if "m32c-rtems4.10" == "lm32-rtems4.10"
%define build_sim --disable-sim
%endif