Changeset 257d1e4 in rtems-source-builder


Ignore:
Timestamp:
Aug 21, 2014, 12:40:47 PM (6 years ago)
Author:
Chris Johns <chrisj@…>
Branches:
4.10, 4.11, 4.9, 5, master
Children:
cd93d89
Parents:
05cea12
Message:

rtems-4.11: Fix building the SPARC simulator.

Add support for simulator options to enable special features of
some gdb simulators.

Files:
5 edited

Legend:

Unmodified
Added
Removed
  • rtems/config/4.11/rtems-mips.bset

    r05cea12 r257d1e4  
    1111#
    1212%include rtems-4.11-base.bset
     13
     14#
     15# Simulator options.
     16#
     17%define gdb-sim-options --enable-sim-hardware
    1318
    1419#
  • rtems/config/4.11/rtems-powerpc.bset

    r05cea12 r257d1e4  
    1111#
    1212%include rtems-4.11-base.bset
     13
     14#
     15# Simulator options.
     16#
     17%define gdb-sim-options --enable-sim-hardware --enable-timebase --enable-sim-trace
    1318
    1419#
  • rtems/config/4.11/rtems-sparc.bset

    r05cea12 r257d1e4  
    2121# If Windows (MinGW) do not build the simulator.
    2222#
    23 %if %{_build_os} == win32
    24  %define gdb-disable-sim
    25 %endif
     23%define win32-gdb-disable-sim
    2624
    2725#
  • source-builder/config/gdb-7-1.cfg

    r05cea12 r257d1e4  
    1919%ifn %{defined gdb-disable-sim}
    2020 %define gdb-disable-sim 0
     21%else
     22 %undefine gdb-sim-options
    2123%endif
    2224
     
    9193    --disable-werror \
    9294    %{!?gdb-disable-sim:--enable-sim}%{?gdb-disable-sim:--disable-sim} \
     95    %{?gdb-sim-options:%{gdb-sim-options}} \
    9396    --without-zlib \
    9497    --with-expat \
  • source-builder/sb/config.py

    r05cea12 r257d1e4  
    532532                    else:
    533533                        e = self._expand(m[colon + 1:-1].strip())
    534                         s = s.replace(m, e)
     534                        s = s.replace(m, self._label(e))
    535535                        expanded = True
    536536                        mn = None
Note: See TracChangeset for help on using the changeset viewer.