Add Cdn-X hacks.

This commit is contained in:
Ralf Corsepius
2009-01-26 07:29:50 +00:00
parent 11feece90b
commit ddb4aaf3e8

View File

@@ -13,10 +13,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 ("@tool_target@" == "powerpc-rtems@rtems_api@") && ("%{_build}" != "%{_host}")
%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@"
@@ -25,6 +28,9 @@ BuildRequires: %{_host_rpmprefix}gcc
%if "@tool_target@" == "h8300-rtems@rtems_api@"
%define build_sim --disable-sim
%endif
%if "@tool_target@" == "mipstx39-rtems@rtems_api@"
%define build_sim --disable-sim
%endif
%endif
%if "%{gdb_version}" >= "6.6"