diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2009-01-26 07:36:15 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2009-01-26 07:36:15 +0000 |
commit | 147257d49270e8ff1f3391d2ef27d5062dc437ec (patch) | |
tree | 7300b37a77f752871972ea89e44db6e96a42085b /contrib/crossrpms/rtems4.10/m32c | |
parent | Bump GDB_RPMREL. (diff) | |
download | rtems-147257d49270e8ff1f3391d2ef27d5062dc437ec.tar.bz2 |
Regenerate.
Diffstat (limited to 'contrib/crossrpms/rtems4.10/m32c')
-rw-r--r-- | contrib/crossrpms/rtems4.10/m32c/rtems-4.10-m32c-rtems4.10-gdb.spec | 18 |
1 files changed, 10 insertions, 8 deletions
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 5de2e84172..7570d07831 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: 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 ("m32c-rtems4.10" == "powerpc-rtems4.10") && ("%{_build}" != "%{_host}") +%if "m32c-rtems4.10" == "powerpc-rtems4.10" %define build_sim --disable-sim %endif +%endif + %ifos mingw mingw32 # Mingw lacks functions required by the simulator %if "m32c-rtems4.10" == "sparc-rtems4.10" @@ -72,18 +75,17 @@ BuildRequires: %{_host_rpmprefix}gcc %if "m32c-rtems4.10" == "h8300-rtems4.10" %define build_sim --disable-sim %endif +%if "m32c-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 |