summaryrefslogtreecommitdiffstats
path: root/source-builder/config
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2014-08-05 22:54:33 +0000
committerChris Johns <chrisj@rtems.org>2014-08-05 22:59:43 +0000
commitaaa015eda065310123dccccb4632caf9d7c86086 (patch)
tree5d491f897042a2e7748114a7ac14a4de5be8fb3d /source-builder/config
parentsb: PR 2184 - Fix the subprocess use on Python < 2.7. (diff)
downloadrtems-source-builder-aaa015eda065310123dccccb4632caf9d7c86086.tar.bz2
rtems-4.11: Do not build GDB sim on MinGW32 for some targets.
They are: m32c microblaze mips moxie powerpc sparc v850
Diffstat (limited to 'source-builder/config')
-rw-r--r--source-builder/config/gdb-7-1.cfg11
1 files changed, 10 insertions, 1 deletions
diff --git a/source-builder/config/gdb-7-1.cfg b/source-builder/config/gdb-7-1.cfg
index 8e4343a..e013b08 100644
--- a/source-builder/config/gdb-7-1.cfg
+++ b/source-builder/config/gdb-7-1.cfg
@@ -5,10 +5,19 @@
#
#
+# 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.
#
%ifn %{defined gdb-disable-sim}
-%define gdb-disable-sim 0
+ %define gdb-disable-sim 0
%endif
%include %{_configdir}/checks.cfg