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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [rtems/] [scripts/] [gdb/] [base-gdb.add] - Blame information for rev 466

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 30 unneback
# =====================================================================
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
%doc /opt/rtems/info/readline.info*
22
 
23
%dir /opt/rtems/man
24
%dir /opt/rtems/man/man1
25
 
26
%dir /opt/rtems/include
27
# We install libbfd from binutils
28
# /opt/rtems/include/bfd.h
29
# /opt/rtems/include/bfdlink.h
30
 
31
%dir /opt/rtems/lib
32
# We install libbfd from binutils
33
# /opt/rtems/lib/libbfd*
34
# We use libiberty from gcc
35
# /opt/rtems/lib/libiberty*
36
 
37
%post -n rtems-base-gdb
38
  if test -d $RPM_INSTALL_PREFIX/rtems/info;
39
  then
40
    rm -f $RPM_INSTALL_PREFIX/rtems/info/dir
41
    f=`find $RPM_INSTALL_PREFIX/rtems/info -name '*.info.gz'`
42
    test -n "$f" && for i in $f; do
43
      install-info $i $RPM_INSTALL_PREFIX/rtems/info/dir
44
    done
45
  fi
46
 
47
%postun -n rtems-base-gdb
48
  if test -d $RPM_INSTALL_PREFIX/rtems/info;
49
  then
50
    rm -f $RPM_INSTALL_PREFIX/rtems/info/dir
51
    f=`find $RPM_INSTALL_PREFIX/rtems/info -name '*.info.gz'`
52
    test -n "$f" && for i in $f; do
53
      install-info $i $RPM_INSTALL_PREFIX/rtems/info/dir
54
    done
55
  fi

powered by: WebSVN 2.1.0

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