Changeset 56b864e in rtems


Ignore:
Timestamp:
Apr 13, 2005, 4:11:30 PM (15 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
0da7ecd2
Parents:
39e9ed0
Message:

Various changes and hacks

Location:
scripts/gdb
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • scripts/gdb/base-gdb.add

    r39e9ed0 r56b864e  
    1616%defattr(-,root,root)
    1717
    18 %dir %{_prefix}/info
    19 %doc %{_prefix}/info/gdb.info*
     18%dir %{_infodir}
     19%doc %{_infodir}/gdb.info*
    2020# FIXME: When had mmalloc.info been removed?
    2121%if "%{gdb_version}" < "6.3"
    22 %doc %{_prefix}/info/mmalloc.info*
     22%doc %{_infodir}/mmalloc.info*
    2323%endif
    2424# FIXME: When had gdbint and stabs been introduced?
    2525%if "%{gdb_version}" >= "5.0"
    26 %doc %{_prefix}/info/gdbint.info*
    27 %doc %{_prefix}/info/stabs.info*
     26%doc %{_infodir}/gdbint.info*
     27%doc %{_infodir}/stabs.info*
    2828%endif
    2929# gdb 4.18 installed this, gdb 5.0 does not
    3030%if "%{gdb_version}" < "5.0"
    31 %doc %{_prefix}/info/readline.info*
     31%doc %{_infodir}/readline.info*
    3232%endif
    3333
    3434%if "{gdb_version}" >= "6.0"
    35 %doc %{_prefix}/info/annotate.info*
     35%doc %{_infodir}/annotate.info*
    3636%endif
    3737
  • scripts/gdb/gdb.add

    r39e9ed0 r56b864e  
    5353%define _sim    0
    5454%endif
     55%if "%{gdb_target}" == "powerpc-rtems@osversion@"
     56%define _sim    0
     57%endif
     58%if "%{gdb_target}" == "sparc-rtems@osversion@"
     59%define _sim    0
     60%endif
    5561
    5662
     
    96102
    97103%install
     104  rm -rf $RPM_BUILD_ROOT
     105
    98106  cd build
    99   make prefix=$RPM_BUILD_ROOT%{_prefix} install
    100   make prefix=$RPM_BUILD_ROOT%{_prefix} install-info
     107  make prefix=$RPM_BUILD_ROOT%{_prefix} \
     108    bindir=$RPM_BUILD_ROOT%{_bindir} \
     109    infodir=$RPM_BUILD_ROOT%{_infodir} \
     110    mandir=$RPM_BUILD_ROOT%{_mandir} \
     111    install
     112  make prefix=$RPM_BUILD_ROOT%{_prefix} \
     113    bindir=$RPM_BUILD_ROOT%{_bindir} \
     114    infodir=$RPM_BUILD_ROOT%{_infodir} \
     115    mandir=$RPM_BUILD_ROOT%{_mandir} \
     116    install-info
    101117
    102118  # host files
  • scripts/gdb/target-gdb.add

    r39e9ed0 r56b864e  
    2828%{_bindir}/%{gdb_target}-run%{_exeext}
    2929%endif
     30%if "%_sim" == "1"
    3031%if "%{gdb_target}" == "sparc-rtems@osversion@"
    3132%{_bindir}/%{gdb_target}-sis%{_exeext}
     33%endif
    3234%endif
    3335%if "%{gdb_version}" >= "6.3"
Note: See TracChangeset for help on using the changeset viewer.