mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-05 15:15:44 +00:00
* 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.
32 lines
861 B
Plaintext
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
|