OpenCores
URL https://opencores.org/ocsvn/or1k_old/or1k_old/trunk

Subversion Repositories or1k_old

[/] [or1k_old/] [trunk/] [rtems-20020807/] [scripts/] [gdb/] [base-gdb.add] - Blame information for rev 1782

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1026 ivang
# =====================================================================
2
# rtems-base-gdb
3
# =====================================================================
4
 
5
%package -n rtems-base-gdb
6
Provides:       rtems-base-gdb
7
Summary:      base package for rtems gdb
8
Group: rtems
9
 
10
%description -n rtems-base-gdb
11
 
12
RTEMS is an open source operating system for embedded systems.
13
 
14
This is the base for gdb regardless of target CPU.
15
 
16
%files -n rtems-base-gdb
17
 
18
%dir /opt/rtems/info
19
%doc /opt/rtems/info/gdb.info*
20
%doc /opt/rtems/info/mmalloc.info*
21
# gdb 4.18 installed this, gdb 5.0 does not
22
# %doc /opt/rtems/info/readline.info*
23
 
24
%dir /opt/rtems/man
25
%dir /opt/rtems/man/man1
26
 
27
%dir /opt/rtems/include
28
# We install libbfd from binutils
29
# /opt/rtems/include/bfd.h
30
# /opt/rtems/include/bfdlink.h
31
 
32
%dir /opt/rtems/lib
33
# We install libbfd from binutils
34
# /opt/rtems/lib/libbfd*
35
# We use libiberty from gcc
36
# /opt/rtems/lib/libiberty*
37
 
38
%post -n rtems-base-gdb
39
  if test -d $RPM_INSTALL_PREFIX/rtems/info;
40
  then
41
    rm -f $RPM_INSTALL_PREFIX/rtems/info/dir
42
    f=`find $RPM_INSTALL_PREFIX/rtems/info -name '*.info.gz'`
43
    test -n "$f" && for i in $f; do
44
      install-info $i $RPM_INSTALL_PREFIX/rtems/info/dir
45
    done
46
  fi
47
 
48
%postun -n rtems-base-gdb
49
  if test -d $RPM_INSTALL_PREFIX/rtems/info;
50
  then
51
    rm -f $RPM_INSTALL_PREFIX/rtems/info/dir
52
    f=`find $RPM_INSTALL_PREFIX/rtems/info -name '*.info.gz'`
53
    test -n "$f" && for i in $f; do
54
      install-info $i $RPM_INSTALL_PREFIX/rtems/info/dir
55
    done
56
  fi

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.