Files
rtems/scripts/gdb/target-gdb.add
Joel Sherrill de819f6e89 2003-02-10 Joel Sherrill <joel@OARcorp.com>
* gdb/gdb.add, gdb/mkspec.in, gdb/target-gdb.add: Use RPM logic to
	determine which targets have simulators, configure with appropriate
	arguments, and package the correct files.
2003-02-10 16:32:27 +00:00

32 lines
861 B
Plaintext

# =====================================================================
# @target_alias@-gdb
# =====================================================================
%package -n @target_alias@-gdb
Provides: @target_alias@-gdb
Summary: rtems gdb for @target_alias@
Group: rtems
Requires: rtems-base-gdb
%description -n @target_alias@-gdb
RTEMS is an open source operating system for embedded systems.
This is the GNU gdb for RTEMS targetting @target_alias@.
%files -n @target_alias@-gdb
%defattr(-,attr,attr)
%doc %{_prefix}/man/man1/@target_alias@-gdb.1*
%if "%_sim" == "1"
%doc %{_prefix}/man/man1/@target_alias@-run.1*
%endif
%dir %{_prefix}/bin
%{_prefix}/bin/@target_alias@-gdb%{_exeext}
%if "%_sim" == "1"
%{_prefix}/bin/@target_alias@-run%{_exeext}
%endif
%if "@target_alias@" == "sparc-rtems"
%{_prefix}/bin/@target_alias@-sis%{_exeext}
%endif