mirror of
https://git.rtems.org/rtems-source-builder
synced 2024-10-09 07:15:10 +08:00
rtems-4.11: Fix building the SPARC simulator.
Add support for simulator options to enable special features of some gdb simulators.
This commit is contained in:
@@ -18,6 +18,8 @@
|
||||
#
|
||||
%ifn %{defined gdb-disable-sim}
|
||||
%define gdb-disable-sim 0
|
||||
%else
|
||||
%undefine gdb-sim-options
|
||||
%endif
|
||||
|
||||
%include %{_configdir}/checks.cfg
|
||||
@@ -90,6 +92,7 @@ BuildRoot: %{_tmppath}/%{name}-root-%(%{__id_u} -n)
|
||||
--disable-win32-registry \
|
||||
--disable-werror \
|
||||
%{!?gdb-disable-sim:--enable-sim}%{?gdb-disable-sim:--disable-sim} \
|
||||
%{?gdb-sim-options:%{gdb-sim-options}} \
|
||||
--without-zlib \
|
||||
--with-expat \
|
||||
%{!?without_python:--with-python} \
|
||||
|
@@ -531,7 +531,7 @@ class file:
|
||||
log.warning('malformed expand macro, no colon found')
|
||||
else:
|
||||
e = self._expand(m[colon + 1:-1].strip())
|
||||
s = s.replace(m, e)
|
||||
s = s.replace(m, self._label(e))
|
||||
expanded = True
|
||||
mn = None
|
||||
elif m.startswith('%{with '):
|
||||
|
Reference in New Issue
Block a user