summaryrefslogtreecommitdiffstats
path: root/contrib/crossrpms/rtems4.10/powerpc
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2009-01-26 07:36:15 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2009-01-26 07:36:15 +0000
commit147257d49270e8ff1f3391d2ef27d5062dc437ec (patch)
tree7300b37a77f752871972ea89e44db6e96a42085b /contrib/crossrpms/rtems4.10/powerpc
parentBump GDB_RPMREL. (diff)
downloadrtems-147257d49270e8ff1f3391d2ef27d5062dc437ec.tar.bz2
Regenerate.
Diffstat (limited to 'contrib/crossrpms/rtems4.10/powerpc')
-rw-r--r--contrib/crossrpms/rtems4.10/powerpc/rtems-4.10-powerpc-rtems4.10-gdb.spec18
1 files changed, 10 insertions, 8 deletions
diff --git a/contrib/crossrpms/rtems4.10/powerpc/rtems-4.10-powerpc-rtems4.10-gdb.spec b/contrib/crossrpms/rtems4.10/powerpc/rtems-4.10-powerpc-rtems4.10-gdb.spec
index d2affa0f4e..b68ecffba6 100644
--- a/contrib/crossrpms/rtems4.10/powerpc/rtems-4.10-powerpc-rtems4.10-gdb.spec
+++ b/contrib/crossrpms/rtems4.10/powerpc/rtems-4.10-powerpc-rtems4.10-gdb.spec
@@ -52,7 +52,7 @@ Name: rtems-4.10-powerpc-rtems4.10-gdb
Summary: Gdb for target powerpc-rtems4.10
Group: Development/Tools
Version: %{gdb_rpmvers}
-Release: 7%{?dist}
+Release: 8%{?dist}
License: GPL/LGPL
URL: http://sources.redhat.com/gdb
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -60,10 +60,13 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: %{_host_rpmprefix}gcc
%define build_sim --enable-sim
+%if "%{_build}" != "%{_host}"
# psim doesn't support Cdn-X
-%if ("powerpc-rtems4.10" == "powerpc-rtems4.10") && ("%{_build}" != "%{_host}")
+%if "powerpc-rtems4.10" == "powerpc-rtems4.10"
%define build_sim --disable-sim
%endif
+%endif
+
%ifos mingw mingw32
# Mingw lacks functions required by the simulator
%if "powerpc-rtems4.10" == "sparc-rtems4.10"
@@ -72,18 +75,17 @@ BuildRequires: %{_host_rpmprefix}gcc
%if "powerpc-rtems4.10" == "h8300-rtems4.10"
%define build_sim --disable-sim
%endif
+%if "powerpc-rtems4.10" == "mipstx39-rtems4.10"
+%define build_sim --disable-sim
+%endif
%endif
%if "%{gdb_version}" >= "6.6"
# suse
-%if "%{?suse}"
-%if "%{?suse}" >= "10.3"
+%if 0%{?suse}
BuildRequires: libexpat-devel
%else
-BuildRequires: expat
-%endif
-%else
-# fedora/redhat/cygwin
+# Fedora/CentOS/Cygwin/MinGW
BuildRequires: %{_host_rpmprefix}expat-devel
%endif
%endif