From ddb4aaf3e8fb6f1dc18de7bcaee85a7282c41512 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Mon, 26 Jan 2009 07:29:50 +0000 Subject: Add Cdn-X hacks. --- contrib/crossrpms/gdb/gdb.add | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/contrib/crossrpms/gdb/gdb.add b/contrib/crossrpms/gdb/gdb.add index a0108273ec..f3f225ee05 100644 --- a/contrib/crossrpms/gdb/gdb.add +++ b/contrib/crossrpms/gdb/gdb.add @@ -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" -- cgit v1.2.3