Changeset de819f6e in rtems for scripts/gdb/gdb.add


Ignore:
Timestamp:
Feb 10, 2003, 4:32:27 PM (19 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
6ca07328
Parents:
1dc7164
Message:

2003-02-10 Joel Sherrill <joel@…>

  • gdb/gdb.add, gdb/mkspec.in, gdb/target-gdb.add: Use RPM logic to determine which targets have simulators, configure with appropriate arguments, and package the correct files.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • scripts/gdb/gdb.add

    r1dc7164 rde819f6e  
    3131NoSource:      0
    3232
     33#  Account as best possible for targets without simulators
     34#  and targets which require extra arguments.
     35%define _sim    1
     36
     37%if "@target_alias@" == "m68k-rtems"
     38%define _sim    0
     39%endif
     40%if "@target_alias@" == "i386-rtems"
     41%define _sim    0
     42%endif
     43
    3344
    3445%description
     
    4758
    4859%build
     60%if "%_sim" == "1"
     61 simargs="--enable-sim"
     62%endif
     63
     64%if "@target_alias@" == "powerpc-rtems"
     65 simargs="$simargs --enable-sim-timebase --enable-sim-hardware"
     66 #  Enabling this causes the program image to be huge and causes
     67 #  some gcc/hosts combinations to run out of memory.
     68 # simargs="$simargs --enable-sim-inline"
     69%endif
     70
    4971test -d build || mkdir build
    5072  cd build
     
    5274    --build=%_build --host=%_host \
    5375    --target=@target_alias@ \
    54     --verbose --prefix=%{_prefix} @extra_configure_arguments@ \
     76    --verbose --prefix=%{_prefix} $simargs \
    5577    --disable-nls
    5678
Note: See TracChangeset for help on using the changeset viewer.