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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [rtems/] [scripts/] [gdb/] [base-gdb.add] - Diff between revs 158 and 1765

Only display areas with differences | Details | Blame | View Log

Rev 158 Rev 1765
# =====================================================================
# =====================================================================
# rtems-base-gdb
# rtems-base-gdb
# =====================================================================
# =====================================================================
%package -n rtems-base-gdb
%package -n rtems-base-gdb
Provides:       rtems-base-gdb
Provides:       rtems-base-gdb
Summary:      base package for rtems gdb
Summary:      base package for rtems gdb
Group: rtems
Group: rtems
%description -n rtems-base-gdb
%description -n rtems-base-gdb
RTEMS is an open source operating system for embedded systems.
RTEMS is an open source operating system for embedded systems.
This is the base for gdb regardless of target CPU.
This is the base for gdb regardless of target CPU.
%files -n rtems-base-gdb
%files -n rtems-base-gdb
%dir /opt/rtems/info
%dir /opt/rtems/info
%doc /opt/rtems/info/gdb.info*
%doc /opt/rtems/info/gdb.info*
%doc /opt/rtems/info/mmalloc.info*
%doc /opt/rtems/info/mmalloc.info*
%doc /opt/rtems/info/readline.info*
%doc /opt/rtems/info/readline.info*
%dir /opt/rtems/man
%dir /opt/rtems/man
%dir /opt/rtems/man/man1
%dir /opt/rtems/man/man1
%dir /opt/rtems/include
%dir /opt/rtems/include
# We install libbfd from binutils
# We install libbfd from binutils
# /opt/rtems/include/bfd.h
# /opt/rtems/include/bfd.h
# /opt/rtems/include/bfdlink.h
# /opt/rtems/include/bfdlink.h
%dir /opt/rtems/lib
%dir /opt/rtems/lib
# We install libbfd from binutils
# We install libbfd from binutils
# /opt/rtems/lib/libbfd*
# /opt/rtems/lib/libbfd*
# We use libiberty from gcc
# We use libiberty from gcc
# /opt/rtems/lib/libiberty*
# /opt/rtems/lib/libiberty*
%post -n rtems-base-gdb
%post -n rtems-base-gdb
  if test -d $RPM_INSTALL_PREFIX/rtems/info;
  if test -d $RPM_INSTALL_PREFIX/rtems/info;
  then
  then
    rm -f $RPM_INSTALL_PREFIX/rtems/info/dir
    rm -f $RPM_INSTALL_PREFIX/rtems/info/dir
    f=`find $RPM_INSTALL_PREFIX/rtems/info -name '*.info.gz'`
    f=`find $RPM_INSTALL_PREFIX/rtems/info -name '*.info.gz'`
    test -n "$f" && for i in $f; do
    test -n "$f" && for i in $f; do
      install-info $i $RPM_INSTALL_PREFIX/rtems/info/dir
      install-info $i $RPM_INSTALL_PREFIX/rtems/info/dir
    done
    done
  fi
  fi
%postun -n rtems-base-gdb
%postun -n rtems-base-gdb
  if test -d $RPM_INSTALL_PREFIX/rtems/info;
  if test -d $RPM_INSTALL_PREFIX/rtems/info;
  then
  then
    rm -f $RPM_INSTALL_PREFIX/rtems/info/dir
    rm -f $RPM_INSTALL_PREFIX/rtems/info/dir
    f=`find $RPM_INSTALL_PREFIX/rtems/info -name '*.info.gz'`
    f=`find $RPM_INSTALL_PREFIX/rtems/info -name '*.info.gz'`
    test -n "$f" && for i in $f; do
    test -n "$f" && for i in $f; do
      install-info $i $RPM_INSTALL_PREFIX/rtems/info/dir
      install-info $i $RPM_INSTALL_PREFIX/rtems/info/dir
    done
    done
  fi
  fi
 
 

powered by: WebSVN 2.1.0

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