diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2009-01-26 07:29:50 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2009-01-26 07:29:50 +0000 |
commit | ddb4aaf3e8fb6f1dc18de7bcaee85a7282c41512 (patch) | |
tree | 11ddb10f3aaacaf4363a26f230dce46078bd5605 /contrib | |
parent | Regenerate. (diff) | |
download | rtems-ddb4aaf3e8fb6f1dc18de7bcaee85a7282c41512.tar.bz2 |
Add Cdn-X hacks.
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/crossrpms/gdb/gdb.add | 8 |
1 files changed, 7 insertions, 1 deletions
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" |