mirror of
https://git.rtems.org/rtems-source-builder
synced 2024-10-09 07:15:10 +08:00
rtems-4.11: Do not build GDB sim on MinGW32 for some targets.
They are: m32c microblaze mips moxie powerpc sparc v850
This commit is contained in:
@@ -30,6 +30,11 @@
|
|||||||
%define _targetcflags -g -O0
|
%define _targetcflags -g -O0
|
||||||
%define _targetcxxflags -g -O0
|
%define _targetcxxflags -g -O0
|
||||||
|
|
||||||
|
#
|
||||||
|
# If Windows (MinGW) do not build the simulator.
|
||||||
|
#
|
||||||
|
%define win32-gdb-disable-sim
|
||||||
|
|
||||||
#
|
#
|
||||||
# Tools configuration.
|
# Tools configuration.
|
||||||
#
|
#
|
||||||
|
@@ -17,6 +17,11 @@
|
|||||||
%patch add gcc %{rtems_gcc_patches}/microblaze/gcc-4.7.2-microblaze-ldscript-2.diff
|
%patch add gcc %{rtems_gcc_patches}/microblaze/gcc-4.7.2-microblaze-ldscript-2.diff
|
||||||
%hash md5 gcc-4.7.2-microblaze-ldscript-2.diff a34f87dfa792193ade7f95e0b084a262
|
%hash md5 gcc-4.7.2-microblaze-ldscript-2.diff a34f87dfa792193ade7f95e0b084a262
|
||||||
|
|
||||||
|
#
|
||||||
|
# If Windows (MinGW) do not build the simulator.
|
||||||
|
#
|
||||||
|
%define win32-gdb-disable-sim
|
||||||
|
|
||||||
#
|
#
|
||||||
# Tools configuration.
|
# Tools configuration.
|
||||||
#
|
#
|
||||||
|
@@ -11,6 +11,11 @@
|
|||||||
#
|
#
|
||||||
%include rtems-4.11-base.bset
|
%include rtems-4.11-base.bset
|
||||||
|
|
||||||
|
#
|
||||||
|
# If Windows (MinGW) do not build the simulator.
|
||||||
|
#
|
||||||
|
%define win32-gdb-disable-sim
|
||||||
|
|
||||||
#
|
#
|
||||||
# Tools configuration.
|
# Tools configuration.
|
||||||
#
|
#
|
||||||
|
@@ -11,6 +11,11 @@
|
|||||||
#
|
#
|
||||||
%include rtems-4.11-base.bset
|
%include rtems-4.11-base.bset
|
||||||
|
|
||||||
|
#
|
||||||
|
# If Windows (MinGW) do not build the simulator.
|
||||||
|
#
|
||||||
|
%define win32-gdb-disable-sim
|
||||||
|
|
||||||
#
|
#
|
||||||
# Tools configuration.
|
# Tools configuration.
|
||||||
#
|
#
|
||||||
|
@@ -11,6 +11,11 @@
|
|||||||
#
|
#
|
||||||
%include rtems-4.11-base.bset
|
%include rtems-4.11-base.bset
|
||||||
|
|
||||||
|
#
|
||||||
|
# If Windows (MinGW) do not build the simulator.
|
||||||
|
#
|
||||||
|
%define win32-gdb-disable-sim
|
||||||
|
|
||||||
#
|
#
|
||||||
# Tools configuration.
|
# Tools configuration.
|
||||||
#
|
#
|
||||||
|
@@ -17,6 +17,13 @@
|
|||||||
%patch add gdb %{rtems_gdb_patches}/sparc/gdb-7.7-sis-output-nouartrx.diff
|
%patch add gdb %{rtems_gdb_patches}/sparc/gdb-7.7-sis-output-nouartrx.diff
|
||||||
%hash md5 gdb-7.7-sis-output-nouartrx.diff bc35b15de1325f3c4461ac3cda027bea
|
%hash md5 gdb-7.7-sis-output-nouartrx.diff bc35b15de1325f3c4461ac3cda027bea
|
||||||
|
|
||||||
|
#
|
||||||
|
# If Windows (MinGW) do not build the simulator.
|
||||||
|
#
|
||||||
|
%if %{_build_os} == win32
|
||||||
|
%define gdb-disable-sim
|
||||||
|
%endif
|
||||||
|
|
||||||
#
|
#
|
||||||
# Tools configuration.
|
# Tools configuration.
|
||||||
#
|
#
|
||||||
|
@@ -11,6 +11,11 @@
|
|||||||
#
|
#
|
||||||
%include rtems-4.11-base.bset
|
%include rtems-4.11-base.bset
|
||||||
|
|
||||||
|
#
|
||||||
|
# If Windows (MinGW) do not build the simulator.
|
||||||
|
#
|
||||||
|
%define win32-gdb-disable-sim
|
||||||
|
|
||||||
#
|
#
|
||||||
# Tools configuration.
|
# Tools configuration.
|
||||||
#
|
#
|
||||||
|
@@ -4,11 +4,20 @@
|
|||||||
# This configuration file configure's, make's and install's gdb.
|
# This configuration file configure's, make's and install's gdb.
|
||||||
#
|
#
|
||||||
|
|
||||||
|
#
|
||||||
|
# See if the simulator has been disabled for Windows.
|
||||||
|
#
|
||||||
|
%if %{_host_os} == mingw32
|
||||||
|
%if %{defined win32-gdb-disable-sim}
|
||||||
|
%define gdb-disable-sim 1
|
||||||
|
%endif
|
||||||
|
%endif
|
||||||
|
|
||||||
#
|
#
|
||||||
# Default to building simulators.
|
# Default to building simulators.
|
||||||
#
|
#
|
||||||
%ifn %{defined gdb-disable-sim}
|
%ifn %{defined gdb-disable-sim}
|
||||||
%define gdb-disable-sim 0
|
%define gdb-disable-sim 0
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%include %{_configdir}/checks.cfg
|
%include %{_configdir}/checks.cfg
|
||||||
|
Reference in New Issue
Block a user