summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2010-03-20 06:56:01 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2010-03-20 06:56:01 +0000
commit01846b33c853a2e3f08c2a666bc99d6d195dae0a (patch)
treea021ac4028ffdff9cff951851cbce28874944fed /contrib
parentHard-code rtems_api. (diff)
downloadrtems-01846b33c853a2e3f08c2a666bc99d6d195dae0a.tar.bz2
Resort conditionals for better specstrip support.
Diffstat (limited to 'contrib')
-rw-r--r--contrib/crossrpms/gdb/gdb.add20
1 files changed, 15 insertions, 5 deletions
diff --git a/contrib/crossrpms/gdb/gdb.add b/contrib/crossrpms/gdb/gdb.add
index 5ab5043dca..633a458c59 100644
--- a/contrib/crossrpms/gdb/gdb.add
+++ b/contrib/crossrpms/gdb/gdb.add
@@ -13,30 +13,40 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: %{_host_rpmprefix}gcc
%define build_sim --enable-sim
+
+%if "@tool_target@" == "powerpc-rtems@rtems_api@"
%if "%{_build}" != "%{_host}"
# psim doesn't support Cdn-X
-%if "@tool_target@" == "powerpc-rtems@rtems_api@"
%define build_sim --disable-sim
%endif
%endif
-
-%ifos mingw mingw32
-# Mingw lacks functions required by the simulator
%if "@tool_target@" == "sparc-rtems@rtems_api@"
+%ifos mingw mingw32
+# Mingw lacks functions required by the sparc simulator
%define build_sim --disable-sim
%endif
+%endif
%if "@tool_target@" == "h8300-rtems@rtems_api@"
+%ifos mingw mingw32
+# Mingw lacks functions required by the h8300 simulator
%define build_sim --disable-sim
%endif
-%if "%{gdb_version}" >= "6.8.50"
+%endif
%if "@tool_target@" == "m32c-rtems@rtems_api@"
+%ifos mingw mingw32
+# Mingw lacks functions required by the m32c simulator
%define build_sim --disable-sim
%endif
%endif
%if "@tool_target@" == "lm32-rtems@rtems_api@"
+%ifos mingw mingw32
+# Mingw lacks functions required by the lm32 simulator
%define build_sim --disable-sim
%endif
+%endif
%if "@tool_target@" == "mipstx39-rtems@rtems_api@"
+%ifos mingw mingw32
+# Mingw lacks functions required by the mipstx39 simulator
%define build_sim --disable-sim
%endif
%endif