summaryrefslogtreecommitdiffstats
path: root/scripts/gdb/target-gdb.add
blob: 76b3724634bc22c8078877f20e493a5f89ff07be (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# =====================================================================
# @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