[PATCH 6/6] sim: m32r: merge with common configure script

Mike Frysinger vapier@gentoo.org
Thu Jul 1 04:55:18 GMT 2021


Now that the traps code has been unified, the configure script has no
unique logic in it, so it can be merged into the single common one.
---
 sim/Makefile.in       |    4 +-
 sim/configure         |   24 +-
 sim/configure.ac      |    2 +-
 sim/m32r/aclocal.m4   |   15 -
 sim/m32r/configure    | 2876 -----------------------------------------
 sim/m32r/configure.ac |    5 -
 6 files changed, 24 insertions(+), 2902 deletions(-)
 delete mode 100644 sim/m32r/aclocal.m4
 delete mode 100755 sim/m32r/configure
 delete mode 100644 sim/m32r/configure.ac

diff --git a/sim/configure.ac b/sim/configure.ac
index 9d0c9f5dd445..febedfc7a0e8 100644
--- a/sim/configure.ac
+++ b/sim/configure.ac
@@ -125,7 +125,7 @@ if test "${enable_sim}" != no; then
     SIM_TARGET([iq2000-*-*], [iq2000])
     SIM_TARGET([lm32-*-*], [lm32])
     SIM_TARGET([m32c-*-*], [m32c])
-    SIM_TARGET([m32r-*-*], [m32r], [true])
+    SIM_TARGET([m32r-*-*], [m32r])
     SIM_TARGET([m68hc11-*-*|m6811-*-*], [m68hc11])
     SIM_TARGET([mcore-*-*], [mcore])
     SIM_TARGET([microblaze-*-*], [microblaze])
diff --git a/sim/m32r/configure.ac b/sim/m32r/configure.ac
deleted file mode 100644
index 99370b3a5770..000000000000
--- a/sim/m32r/configure.ac
+++ /dev/null
@@ -1,5 +0,0 @@
-dnl Process this file with autoconf to produce a configure script.
-AC_INIT(Makefile.in)
-AC_CONFIG_MACRO_DIRS([../m4 ../.. ../../config])
-
-SIM_AC_OUTPUT
-- 
2.31.1



More information about the Gdb-patches mailing list