sim: unify cgen maintainer settings
authorMike Frysinger <vapier@gentoo.org>
Sat, 19 Jun 2021 14:42:37 +0000 (10:42 -0400)
committerMike Frysinger <vapier@gentoo.org>
Sun, 20 Jun 2021 04:25:13 +0000 (00:25 -0400)
Move these options up to the common dir so we only test & export
them once across all ports.  It makes it available to targets that
aren't cgen-based, but those will just ignore the settings, so it
shouldn't be an issue.

43 files changed:
sim/ChangeLog
sim/Makefile.in
sim/aclocal.m4
sim/arch-subdir.mk.in
sim/bpf/ChangeLog
sim/bpf/Makefile.in
sim/bpf/aclocal.m4
sim/bpf/configure
sim/bpf/configure.ac
sim/common/ChangeLog
sim/common/Make-common.in
sim/configure
sim/configure.ac
sim/cris/ChangeLog
sim/cris/Makefile.in
sim/cris/aclocal.m4
sim/cris/configure
sim/cris/configure.ac
sim/frv/ChangeLog
sim/frv/Makefile.in
sim/frv/aclocal.m4
sim/frv/configure
sim/frv/configure.ac
sim/iq2000/ChangeLog
sim/iq2000/Makefile.in
sim/iq2000/aclocal.m4
sim/iq2000/configure
sim/iq2000/configure.ac
sim/lm32/ChangeLog
sim/lm32/Makefile.in
sim/lm32/aclocal.m4
sim/lm32/configure
sim/lm32/configure.ac
sim/m32r/ChangeLog
sim/m32r/Makefile.in
sim/m32r/aclocal.m4
sim/m32r/configure
sim/m32r/configure.ac
sim/or1k/ChangeLog
sim/or1k/Makefile.in
sim/or1k/aclocal.m4
sim/or1k/configure
sim/or1k/configure.ac

index 722d91e1b844679cda01c0784795d9dfe60f44cb..74ed77c199d256a69307f9eba4a7857fa43bba0c 100644 (file)
@@ -1,3 +1,9 @@
+2021-06-20  Mike Frysinger  <vapier@gentoo.org>
+
+       * arch-subdir.mk.in (CGEN_MAINT, CGENDIR): Define.
+       * configure.ac: Call SIM_AC_OPTION_CGEN_MAINT.
+       * aclocal.m4, configure, Makefile.in: Regenerate.
+
 2021-06-20  Mike Frysinger  <vapier@gentoo.org>
 
        * Makefile.am (AM_CPPFLAGS): Add $(SIM_INLINE).
index 925e767067367cf2fb18d4ace21ee434c4330244..2737e102d2b62c3ab20f91438f47957ef566584a 100644 (file)
@@ -205,6 +205,7 @@ am__aclocal_m4_deps = $(top_srcdir)/../config/acx.m4 \
        $(top_srcdir)/../ltversion.m4 $(top_srcdir)/../lt~obsolete.m4 \
        $(top_srcdir)/m4/sim_ac_option_alignment.m4 \
        $(top_srcdir)/m4/sim_ac_option_assert.m4 \
+       $(top_srcdir)/m4/sim_ac_option_cgen_maint.m4 \
        $(top_srcdir)/m4/sim_ac_option_debug.m4 \
        $(top_srcdir)/m4/sim_ac_option_endian.m4 \
        $(top_srcdir)/m4/sim_ac_option_environment.m4 \
@@ -638,6 +639,7 @@ CCDEPMODE = @CCDEPMODE@
 CC_FOR_BUILD = @CC_FOR_BUILD@
 CFLAGS = @CFLAGS@
 CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@
+CGEN_MAINT = @CGEN_MAINT@
 CPP = @CPP@
 CPPFLAGS = @CPPFLAGS@
 CYGPATH_W = @CYGPATH_W@
@@ -727,6 +729,8 @@ build_cpu = @build_cpu@
 build_os = @build_os@
 build_vendor = @build_vendor@
 builddir = @builddir@
+cgen = @cgen@
+cgendir = @cgendir@
 datadir = @datadir@
 datarootdir = @datarootdir@
 docdir = @docdir@
index 6513ae23fe920c4dfe84f743726911e75a89b315..400bc876b4c9b018475df50c2ac28eb0541e5c1d 100644 (file)
@@ -1181,6 +1181,7 @@ m4_include([../ltversion.m4])
 m4_include([../lt~obsolete.m4])
 m4_include([m4/sim_ac_option_alignment.m4])
 m4_include([m4/sim_ac_option_assert.m4])
+m4_include([m4/sim_ac_option_cgen_maint.m4])
 m4_include([m4/sim_ac_option_debug.m4])
 m4_include([m4/sim_ac_option_endian.m4])
 m4_include([m4/sim_ac_option_environment.m4])
index 4352f92c711506431d117deefdd7c76e8d0e2aa1..321366e09a875a0f4a1ed0471d880441558eb122 100644 (file)
@@ -54,4 +54,10 @@ COMMON_LIBS = @LIBS@
 WARN_CFLAGS = @WARN_CFLAGS@
 WERROR_CFLAGS = @WERROR_CFLAGS@
 
+# cgen support, enable with --enable-cgen-maint
+CGEN_MAINT = ; @true
+# The following line is commented in or out depending upon --enable-cgen-maint.
+@CGEN_MAINT@CGEN_MAINT =
+CGENDIR = @cgendir@
+
 SIM_INLINE = @SIM_INLINE@
index fa4346dec95cbbbccb3fc6e3c4fe2a9c187d26d7..e0f55f4a713d9251dbec9c75d265145037d89f17 100644 (file)
@@ -1,3 +1,9 @@
+2021-06-20  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (CGEN_MAINT): Delete.
+       * configure.ac: Delete SIM_AC_OPTION_CGEN_MAINT call.
+       * aclocal.m4, configure: Regenerate.
+
 2021-06-20  Mike Frysinger  <vapier@gentoo.org>
 
        * aclocal.m4: Regenerate.
index d165febdd34b0503bffe3c13b57c27952924f657..c48c37837e6e8f08f45dd047222ee67859ae89ec 100644 (file)
@@ -46,11 +46,6 @@ SIM_WERROR_CFLAGS =
 
 ## COMMON_POST_CONFIG_FRAG
 
-# cgen support, enable with --enable-cgen-maint
-CGEN_MAINT = ; @true
-# The following line is commented in or out depending upon --enable-cgen-maint.
-@CGEN_MAINT@CGEN_MAINT =
-
 # BPF headers
 
 BPF_INCLUDE_DEPS = \
index e511ab35eb5094b4494090fa8c9e38d4eca23106..7a14aebe891631e6c81a769b0cc4cffe3bf79eb9 100644 (file)
@@ -101,7 +101,6 @@ AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
 m4_include([../../config/override.m4])
 m4_include([../m4/sim_ac_common.m4])
 m4_include([../m4/sim_ac_option_bitsize.m4])
-m4_include([../m4/sim_ac_option_cgen_maint.m4])
 m4_include([../m4/sim_ac_option_default_model.m4])
 m4_include([../m4/sim_ac_option_hardware.m4])
 m4_include([../m4/sim_ac_option_scache.m4])
index 57c85c944d645fdd6890e91bbf2a60561d33f8b5..316189b6eb93b5f733716a2ca65772c23193001d 100755 (executable)
@@ -587,9 +587,6 @@ LIBOBJS
 sim_reserved_bits
 sim_float
 cgen_breaks
-cgen
-cgendir
-CGEN_MAINT
 MAINT
 MAINTAINER_MODE_FALSE
 MAINTAINER_MODE_TRUE
@@ -644,7 +641,6 @@ enable_maintainer_mode
 enable_sim_bitsize
 enable_sim_scache
 enable_sim_default_model
-enable_cgen_maint
 enable_sim_hardware
 '
       ac_precious_vars='build_alias
@@ -1265,7 +1261,6 @@ Optional Features:
                           Specify simulator execution cache size
   --enable-sim-default-model=model
                           Specify default model to simulate
-  --enable-cgen-maint=DIR build cgen generated files
   --enable-sim-hardware=LIST
                           Specify the hardware to be included in the build.
 
@@ -1822,39 +1817,6 @@ fi
 
 
 
-cgen_maint=no
-cgen=guile
-cgendir='$(srcdir)/../../cgen'
-# Check whether --enable-cgen-maint was given.
-if test "${enable_cgen_maint+set}" = set; then :
-  enableval=$enable_cgen_maint; case "${enableval}" in
-  yes) cgen_maint=yes ;;
-  no)  cgen_maint=no ;;
-  *)
-       # Argument is a directory where cgen can be found.  In some
-       # future world cgen could be installable, but right now this
-       # is not the case.  Instead we assume the directory is a path
-       # to the cgen source tree.
-       cgen_maint=yes
-        if test -r ${enableval}/iformat.scm; then
-          # This looks like a cgen source tree.
-         cgendir=${enableval}
-        else
-         as_fn_error $? "${enableval} doesn't look like a cgen source tree" "$LINENO" 5
-        fi
-       ;;
-esac
-fi
-if test x${cgen_maint} != xno ; then
-  CGEN_MAINT=''
-else
-  CGEN_MAINT='#'
-fi
-
-
-
-
-
 
 hardware="cfi core pal glue "
 sim_hw_cflags="-DWITH_HW=1"
index a4138c097a89b1f2ca9a3bbdc9e7aab7fe8975b9..13516a0914e72f0241b2134b6fcd7cf4f08e9251 100644 (file)
@@ -7,6 +7,5 @@ SIM_AC_COMMON
 SIM_AC_OPTION_BITSIZE([64])
 SIM_AC_OPTION_SCACHE(16384)
 SIM_AC_OPTION_DEFAULT_MODEL([bpf-def])
-SIM_AC_OPTION_CGEN_MAINT
 
 SIM_AC_OUTPUT
index a36793914e6e9b7ef1e20509f5fc71ea660f0105..f3530dff6098a798ade3090b9cb6654132fc501f 100644 (file)
@@ -1,3 +1,7 @@
+2021-06-20  Mike Frysinger  <vapier@gentoo.org>
+
+       * Make-common.in (CGENDIR): Delete.
+
 2021-06-19  Mike Frysinger  <vapier@gentoo.org>
 
        * Make-common.in (SIM_INLINE): Delete.
index b8116d8996ff4941a47500d5cc5193d46b61bcf0..ba62c32772c162a2dedbe7a14e89a1bf34076049 100644 (file)
@@ -542,7 +542,6 @@ config.status: configure
 
 # CGEN support
 
-CGENDIR = @cgendir@
 CGEN = "`if [ -f ../../guile/libguile/guile ]; then echo ../../guile/libguile/guile; else echo guile ; fi` -l $(CGENDIR)/guile.scm -s"
 CGENFLAGS = -v
 CGEN_CPU_DIR = $(CGENDIR)/cpu
index 7563ad649be69db2f160e0e583f03ac613b4e3cd..246845328a8af4b763705df1c753f75c96ef1030 100755 (executable)
@@ -639,6 +639,9 @@ ac_subst_vars='am__EXEEXT_FALSE
 am__EXEEXT_TRUE
 LTLIBOBJS
 SIM_INLINE
+cgen
+cgendir
+CGEN_MAINT
 SIM_ENABLE_IGEN_FALSE
 SIM_ENABLE_IGEN_TRUE
 subdirs
@@ -810,6 +813,7 @@ enable_example_sims
 enable_targets
 enable_sim_alignment
 enable_sim_assert
+enable_cgen_maint
 enable_sim_debug
 enable_sim_endian
 enable_sim_environment
@@ -1502,6 +1506,7 @@ Optional Features:
                           Specify strict, nonstrict or forced alignment of
                           memory accesses
   --enable-sim-assert     Specify whether to perform random assertions
+  --enable-cgen-maint=DIR build cgen generated files
   --enable-sim-debug=opts Enable debugging flags (for developers of the sim
                           itself)
   --enable-sim-endian=endian
@@ -12036,7 +12041,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 12039 "configure"
+#line 12044 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -12142,7 +12147,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 12145 "configure"
+#line 12150 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -13781,6 +13786,39 @@ _ACEOF
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_assert" >&5
 $as_echo "$sim_assert" >&6; }
 
+
+cgen_maint=no
+cgen=guile
+cgendir='$(srcdir)/../../cgen'
+# Check whether --enable-cgen-maint was given.
+if test "${enable_cgen_maint+set}" = set; then :
+  enableval=$enable_cgen_maint; case "${enableval}" in
+  yes) cgen_maint=yes ;;
+  no)  cgen_maint=no ;;
+  *)
+       # Argument is a directory where cgen can be found.  In some
+       # future world cgen could be installable, but right now this
+       # is not the case.  Instead we assume the directory is a path
+       # to the cgen source tree.
+       cgen_maint=yes
+        if test -r ${enableval}/iformat.scm; then
+          # This looks like a cgen source tree.
+         cgendir=${enableval}
+        else
+         as_fn_error $? "${enableval} doesn't look like a cgen source tree" "$LINENO" 5
+        fi
+       ;;
+esac
+fi
+if test x${cgen_maint} != xno ; then
+  CGEN_MAINT=''
+else
+  CGEN_MAINT='#'
+fi
+
+
+
+
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sim debug setting" >&5
 $as_echo_n "checking for sim debug setting... " >&6; }
 sim_debug="0"
index a3f02a78e9a7fdc01a906088cc78b3088bd3c7b7..9530268ddc5947471aed726a7eb903fe43a3d0b8 100644 (file)
@@ -118,6 +118,7 @@ dnl Standard (and optional) simulator options.
 dnl Eventually all simulators will support these.
 SIM_AC_OPTION_ALIGNMENT
 SIM_AC_OPTION_ASSERT
+SIM_AC_OPTION_CGEN_MAINT
 SIM_AC_OPTION_DEBUG
 SIM_AC_OPTION_ENDIAN
 SIM_AC_OPTION_ENVIRONMENT
index 713446dc03c8ead235807f1e10eddd2179a1201e..d6ca93521757ad7d5b7ddc9d51d667abead22472 100644 (file)
@@ -1,3 +1,9 @@
+2021-06-20  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (CGEN_MAINT): Delete.
+       * configure.ac: Delete SIM_AC_OPTION_CGEN_MAINT call.
+       * aclocal.m4, configure: Regenerate.
+
 2021-06-20  Mike Frysinger  <vapier@gentoo.org>
 
        * aclocal.m4: Regenerate.
index 0b4b8f5c530bd9505c5bbd3c8ad622deabe51fb3..ef83ce818260042ba118291b4c1719897c3d21b9 100644 (file)
@@ -102,11 +102,6 @@ cris-clean:
        -rm -f stamp-arch
        -rm -f tmp-*
 
-# cgen support, enable with --enable-cgen-maint
-CGEN_MAINT = ; @true
-# The following line is commented in or out depending upon --enable-cgen-maint.
-@CGEN_MAINT@CGEN_MAINT =
-
 # Useful when making CGEN-generated files manually, without --enable-cgen-maint.
 stamps: stamp-v10fmloop stamp-v32fmloop stamp-arch stamp-v10fcpu stamp-v32fcpu
 
index 50fcc1f14c8a9ba5d5cbabedc42b32aae46ef33e..137af59b7e394fc38a0fe709d41127c8ee28ac24 100644 (file)
@@ -100,7 +100,6 @@ AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
 
 m4_include([../../config/override.m4])
 m4_include([../m4/sim_ac_common.m4])
-m4_include([../m4/sim_ac_option_cgen_maint.m4])
 m4_include([../m4/sim_ac_option_default_model.m4])
 m4_include([../m4/sim_ac_option_hardware.m4])
 m4_include([../m4/sim_ac_option_scache.m4])
index d4af2235a6f7fdc988bfb10cd3d8ec977682ea55..2b854f73474c7a0be67781efd3a567b94357d335 100755 (executable)
@@ -588,9 +588,6 @@ sim_reserved_bits
 sim_float
 sim_bitsize
 cgen_breaks
-cgen
-cgendir
-CGEN_MAINT
 MAINT
 MAINTAINER_MODE_FALSE
 MAINTAINER_MODE_TRUE
@@ -644,7 +641,6 @@ enable_maintainer_mode
 enable_sim_scache
 enable_sim_hardware
 enable_sim_default_model
-enable_cgen_maint
 '
       ac_precious_vars='build_alias
 host_alias
@@ -1265,7 +1261,6 @@ Optional Features:
                           Specify the hardware to be included in the build.
   --enable-sim-default-model=model
                           Specify default model to simulate
-  --enable-cgen-maint=DIR build cgen generated files
 
 Report bugs to the package provider.
 _ACEOF
@@ -1813,39 +1808,6 @@ fi
 
 
 
-cgen_maint=no
-cgen=guile
-cgendir='$(srcdir)/../../cgen'
-# Check whether --enable-cgen-maint was given.
-if test "${enable_cgen_maint+set}" = set; then :
-  enableval=$enable_cgen_maint; case "${enableval}" in
-  yes) cgen_maint=yes ;;
-  no)  cgen_maint=no ;;
-  *)
-       # Argument is a directory where cgen can be found.  In some
-       # future world cgen could be installable, but right now this
-       # is not the case.  Instead we assume the directory is a path
-       # to the cgen source tree.
-       cgen_maint=yes
-        if test -r ${enableval}/iformat.scm; then
-          # This looks like a cgen source tree.
-         cgendir=${enableval}
-        else
-         as_fn_error $? "${enableval} doesn't look like a cgen source tree" "$LINENO" 5
-        fi
-       ;;
-esac
-fi
-if test x${cgen_maint} != xno ; then
-  CGEN_MAINT=''
-else
-  CGEN_MAINT='#'
-fi
-
-
-
-
-
 
 cgen_breaks=""
 if grep CGEN_MAINT $srcdir/Makefile.in >/dev/null; then
index d94eabb683a9b88572e194b817b79adaa9fbb7b7..909c41653f1856c81061cd4386b58f1f06b5ce4e 100644 (file)
@@ -9,6 +9,5 @@ SIM_AC_OPTION_HARDWARE(rv cris cris_900000xx)
 
 # The default model shouldn't matter as long as there's a BFD.
 SIM_AC_OPTION_DEFAULT_MODEL(crisv32)
-SIM_AC_OPTION_CGEN_MAINT
 
 SIM_AC_OUTPUT
index 084012dcdb465287fe3fdf684df7700692193f6d..7ed3598fba0bcd6f9da077aa8313ac05f0570526 100644 (file)
@@ -1,3 +1,9 @@
+2021-06-20  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (CGEN_MAINT): Delete.
+       * configure.ac: Delete SIM_AC_OPTION_CGEN_MAINT call.
+       * aclocal.m4, configure: Regenerate.
+
 2021-06-20  Mike Frysinger  <vapier@gentoo.org>
 
        * aclocal.m4: Regenerate.
index 5356add6f0ac45b52d3d184181a1e4a0516a7397..6fdd6e0f1be3fa360b215a647151fbecf9f3d04f 100644 (file)
@@ -69,11 +69,6 @@ frv-clean:
        rm -f tmp-*
        rm -f stamp-arch stamp-cpu
 
-# cgen support, enable with --enable-cgen-maint
-CGEN_MAINT = ; @true
-# The following line is commented in or out depending upon --enable-cgen-maint.
-@CGEN_MAINT@CGEN_MAINT =
-
 stamp-arch: $(CGEN_READ_SCM) $(CGEN_ARCH_SCM) $(srcdir)/../../cpu/frv.cpu
        $(MAKE) cgen-arch $(CGEN_FLAGS_TO_PASS) mach=all \
          archfile=$(srcdir)/../../cpu/frv.cpu \
index 50fcc1f14c8a9ba5d5cbabedc42b32aae46ef33e..137af59b7e394fc38a0fe709d41127c8ee28ac24 100644 (file)
@@ -100,7 +100,6 @@ AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
 
 m4_include([../../config/override.m4])
 m4_include([../m4/sim_ac_common.m4])
-m4_include([../m4/sim_ac_option_cgen_maint.m4])
 m4_include([../m4/sim_ac_option_default_model.m4])
 m4_include([../m4/sim_ac_option_hardware.m4])
 m4_include([../m4/sim_ac_option_scache.m4])
index 2da2c50183de5855074e11e9b95da0330ff2d4fe..3c9a65cb6182467213d8314c41ccf2b551370910 100755 (executable)
@@ -589,9 +589,6 @@ sim_float
 sim_bitsize
 cgen_breaks
 sim_trapdump
-cgen
-cgendir
-CGEN_MAINT
 MAINT
 MAINTAINER_MODE_FALSE
 MAINTAINER_MODE_TRUE
@@ -644,7 +641,6 @@ enable_option_checking
 enable_maintainer_mode
 enable_sim_scache
 enable_sim_default_model
-enable_cgen_maint
 enable_sim_trapdump
 enable_sim_hardware
 '
@@ -1265,7 +1261,6 @@ Optional Features:
                           Specify simulator execution cache size
   --enable-sim-default-model=model
                           Specify default model to simulate
-  --enable-cgen-maint=DIR build cgen generated files
   --enable-sim-trapdump   Make unknown traps dump the registers
   --enable-sim-hardware=LIST
                           Specify the hardware to be included in the build.
@@ -1764,39 +1759,6 @@ fi
 
 
 
-cgen_maint=no
-cgen=guile
-cgendir='$(srcdir)/../../cgen'
-# Check whether --enable-cgen-maint was given.
-if test "${enable_cgen_maint+set}" = set; then :
-  enableval=$enable_cgen_maint; case "${enableval}" in
-  yes) cgen_maint=yes ;;
-  no)  cgen_maint=no ;;
-  *)
-       # Argument is a directory where cgen can be found.  In some
-       # future world cgen could be installable, but right now this
-       # is not the case.  Instead we assume the directory is a path
-       # to the cgen source tree.
-       cgen_maint=yes
-        if test -r ${enableval}/iformat.scm; then
-          # This looks like a cgen source tree.
-         cgendir=${enableval}
-        else
-         as_fn_error $? "${enableval} doesn't look like a cgen source tree" "$LINENO" 5
-        fi
-       ;;
-esac
-fi
-if test x${cgen_maint} != xno ; then
-  CGEN_MAINT=''
-else
-  CGEN_MAINT='#'
-fi
-
-
-
-
-
 #
 # Enable making unknown traps dump out registers
 #
index f652e269a3b858665f05c87d0f7bcc81b54c5ce6..a03b4f666426a29240701309a7fc6d996f68ec6c 100644 (file)
@@ -6,7 +6,6 @@ SIM_AC_COMMON
 
 SIM_AC_OPTION_SCACHE(16384)
 SIM_AC_OPTION_DEFAULT_MODEL(fr500)
-SIM_AC_OPTION_CGEN_MAINT
 
 #
 # Enable making unknown traps dump out registers
index c2b8dd6bd0bb21b2fff5e5ed6e6242cc0af4c1a2..679eccbfb668f3b687081ff4a4ecb1f0cb8bf547 100644 (file)
@@ -1,3 +1,9 @@
+2021-06-20  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (CGEN_MAINT): Delete.
+       * configure.ac: Delete SIM_AC_OPTION_CGEN_MAINT call.
+       * aclocal.m4, configure: Regenerate.
+
 2021-06-20  Mike Frysinger  <vapier@gentoo.org>
 
        * aclocal.m4: Regenerate.
index f7a77c2eefd00f109cfff87f773438e769051f87..557db484b62993e77623dd86ee6e068921d1a4a6 100644 (file)
@@ -69,11 +69,6 @@ iq2000-clean:
        rm -f tmp-*
        rm -f stamp-arch stamp-cpu
 
-# cgen support, enable with --enable-cgen-maint
-CGEN_MAINT = ; @true
-# The following line is commented in or out depending upon --enable-cgen-maint.
-@CGEN_MAINT@CGEN_MAINT =
-
 stamp-arch: $(CGEN_READ_SCM) $(CGEN_ARCH_SCM) $(CPU_DIR)/iq2000.cpu Makefile
        $(MAKE) cgen-arch $(CGEN_FLAGS_TO_PASS) mach=iq2000 \
          archfile=$(CPU_DIR)/iq2000.cpu \
index 50fcc1f14c8a9ba5d5cbabedc42b32aae46ef33e..137af59b7e394fc38a0fe709d41127c8ee28ac24 100644 (file)
@@ -100,7 +100,6 @@ AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
 
 m4_include([../../config/override.m4])
 m4_include([../m4/sim_ac_common.m4])
-m4_include([../m4/sim_ac_option_cgen_maint.m4])
 m4_include([../m4/sim_ac_option_default_model.m4])
 m4_include([../m4/sim_ac_option_hardware.m4])
 m4_include([../m4/sim_ac_option_scache.m4])
index 3575e5d0993fb423b3f813306df23f5c69ecad05..810c507c336bb01d9e1c1f6248115c51496f2e9a 100755 (executable)
@@ -588,9 +588,6 @@ sim_reserved_bits
 sim_float
 sim_bitsize
 cgen_breaks
-cgen
-cgendir
-CGEN_MAINT
 MAINT
 MAINTAINER_MODE_FALSE
 MAINTAINER_MODE_TRUE
@@ -643,7 +640,6 @@ enable_option_checking
 enable_maintainer_mode
 enable_sim_scache
 enable_sim_default_model
-enable_cgen_maint
 enable_sim_hardware
 '
       ac_precious_vars='build_alias
@@ -1263,7 +1259,6 @@ Optional Features:
                           Specify simulator execution cache size
   --enable-sim-default-model=model
                           Specify default model to simulate
-  --enable-cgen-maint=DIR build cgen generated files
   --enable-sim-hardware=LIST
                           Specify the hardware to be included in the build.
 
@@ -1761,39 +1756,6 @@ fi
 
 
 
-cgen_maint=no
-cgen=guile
-cgendir='$(srcdir)/../../cgen'
-# Check whether --enable-cgen-maint was given.
-if test "${enable_cgen_maint+set}" = set; then :
-  enableval=$enable_cgen_maint; case "${enableval}" in
-  yes) cgen_maint=yes ;;
-  no)  cgen_maint=no ;;
-  *)
-       # Argument is a directory where cgen can be found.  In some
-       # future world cgen could be installable, but right now this
-       # is not the case.  Instead we assume the directory is a path
-       # to the cgen source tree.
-       cgen_maint=yes
-        if test -r ${enableval}/iformat.scm; then
-          # This looks like a cgen source tree.
-         cgendir=${enableval}
-        else
-         as_fn_error $? "${enableval} doesn't look like a cgen source tree" "$LINENO" 5
-        fi
-       ;;
-esac
-fi
-if test x${cgen_maint} != xno ; then
-  CGEN_MAINT=''
-else
-  CGEN_MAINT='#'
-fi
-
-
-
-
-
 
 hardware="cfi core pal glue "
 sim_hw_cflags="-DWITH_HW=1"
index 92c10d2eb183e3b056d008c98a1b4b6c627ca795..c43463394a437880915af46902d61d80f081f684 100644 (file)
@@ -6,6 +6,5 @@ SIM_AC_COMMON
 
 SIM_AC_OPTION_SCACHE(16384)
 SIM_AC_OPTION_DEFAULT_MODEL(iq2000)
-SIM_AC_OPTION_CGEN_MAINT
 
 SIM_AC_OUTPUT
index 41f800d6c3a43d27a9f12e88b71ce5e3850fc06a..88363a46869b66ff34e449229d71cf44714b424d 100644 (file)
@@ -1,3 +1,9 @@
+2021-06-20  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (CGEN_MAINT): Delete.
+       * configure.ac: Delete SIM_AC_OPTION_CGEN_MAINT call.
+       * aclocal.m4, configure: Regenerate.
+
 2021-06-20  Mike Frysinger  <vapier@gentoo.org>
 
        * aclocal.m4: Regenerate.
index 29489bcf7e43417be0766428712da922923fc41c..268882745c7e8258fd11887e64ffc4027a4a3334 100644 (file)
@@ -48,11 +48,6 @@ lm32-clean:
        rm -f stamp-arch stamp-cpu 
        rm -f tmp-*
 
-# cgen support, enable with --enable-cgen-maint
-CGEN_MAINT = ; @true
-# The following line is commented in or out depending upon --enable-cgen-maint.
-@CGEN_MAINT@CGEN_MAINT =
-
 stamp-arch: $(CGEN_READ_SCM) $(CGEN_ARCH_SCM) $(CPU_DIR)/lm32.cpu
        $(MAKE) cgen-arch $(CGEN_FLAGS_TO_PASS) mach=all \
          archfile=$(CPU_DIR)/lm32.cpu \
index 50fcc1f14c8a9ba5d5cbabedc42b32aae46ef33e..137af59b7e394fc38a0fe709d41127c8ee28ac24 100644 (file)
@@ -100,7 +100,6 @@ AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
 
 m4_include([../../config/override.m4])
 m4_include([../m4/sim_ac_common.m4])
-m4_include([../m4/sim_ac_option_cgen_maint.m4])
 m4_include([../m4/sim_ac_option_default_model.m4])
 m4_include([../m4/sim_ac_option_hardware.m4])
 m4_include([../m4/sim_ac_option_scache.m4])
index 3404115d100d6b3d5464e8ae0ae88c7b2e55524d..f1c2a3fb5dd58b3bd1620a22db4c4b3ee873296b 100755 (executable)
@@ -588,9 +588,6 @@ sim_reserved_bits
 sim_float
 sim_bitsize
 cgen_breaks
-cgen
-cgendir
-CGEN_MAINT
 MAINT
 MAINTAINER_MODE_FALSE
 MAINTAINER_MODE_TRUE
@@ -643,7 +640,6 @@ enable_option_checking
 enable_maintainer_mode
 enable_sim_scache
 enable_sim_default_model
-enable_cgen_maint
 enable_sim_hardware
 '
       ac_precious_vars='build_alias
@@ -1263,7 +1259,6 @@ Optional Features:
                           Specify simulator execution cache size
   --enable-sim-default-model=model
                           Specify default model to simulate
-  --enable-cgen-maint=DIR build cgen generated files
   --enable-sim-hardware=LIST
                           Specify the hardware to be included in the build.
 
@@ -1761,39 +1756,6 @@ fi
 
 
 
-cgen_maint=no
-cgen=guile
-cgendir='$(srcdir)/../../cgen'
-# Check whether --enable-cgen-maint was given.
-if test "${enable_cgen_maint+set}" = set; then :
-  enableval=$enable_cgen_maint; case "${enableval}" in
-  yes) cgen_maint=yes ;;
-  no)  cgen_maint=no ;;
-  *)
-       # Argument is a directory where cgen can be found.  In some
-       # future world cgen could be installable, but right now this
-       # is not the case.  Instead we assume the directory is a path
-       # to the cgen source tree.
-       cgen_maint=yes
-        if test -r ${enableval}/iformat.scm; then
-          # This looks like a cgen source tree.
-         cgendir=${enableval}
-        else
-         as_fn_error $? "${enableval} doesn't look like a cgen source tree" "$LINENO" 5
-        fi
-       ;;
-esac
-fi
-if test x${cgen_maint} != xno ; then
-  CGEN_MAINT=''
-else
-  CGEN_MAINT='#'
-fi
-
-
-
-
-
 hardware="cfi core pal glue lm32cpu lm32timer lm32uart"
 sim_hw_cflags="-DWITH_HW=1"
 sim_hw="$hardware"
index 32bbd1b4ac1ca96d371fe2905962abff399c051c..b277c963a87f918300de8980524b50ace59b1154 100644 (file)
@@ -6,7 +6,6 @@ SIM_AC_COMMON
 
 SIM_AC_OPTION_SCACHE(16384)
 SIM_AC_OPTION_DEFAULT_MODEL(lm32)
-SIM_AC_OPTION_CGEN_MAINT
 SIM_AC_OPTION_HARDWARE(lm32cpu lm32timer lm32uart)
 
 SIM_AC_OUTPUT
index 0fabbfc7355ba1fb13483785c8968650081aa027..ac58a953162592d410ee380c619a46d6e774748a 100644 (file)
@@ -1,3 +1,9 @@
+2021-06-20  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (CGEN_MAINT): Delete.
+       * configure.ac: Delete SIM_AC_OPTION_CGEN_MAINT call.
+       * aclocal.m4, configure: Regenerate.
+
 2021-06-20  Mike Frysinger  <vapier@gentoo.org>
 
        * aclocal.m4: Regenerate.
index 272974572ecfbea46bd509c99a7102dac8fc71e9..f8ccb97d77b01c25ffd165e57c7447e1275da16e 100644 (file)
@@ -108,11 +108,6 @@ m32r-clean:
        rm -f stamp-arch stamp-cpu stamp-xcpu stamp-2cpu
        rm -f tmp-*
 
-# cgen support, enable with --enable-cgen-maint
-CGEN_MAINT = ; @true
-# The following line is commented in or out depending upon --enable-cgen-maint.
-@CGEN_MAINT@CGEN_MAINT =
-
 # NOTE: Generated source files are specified as full paths,
 # e.g. $(srcdir)/arch.c, because make may decide the files live
 # in objdir otherwise.
index 50fcc1f14c8a9ba5d5cbabedc42b32aae46ef33e..137af59b7e394fc38a0fe709d41127c8ee28ac24 100644 (file)
@@ -100,7 +100,6 @@ AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
 
 m4_include([../../config/override.m4])
 m4_include([../m4/sim_ac_common.m4])
-m4_include([../m4/sim_ac_option_cgen_maint.m4])
 m4_include([../m4/sim_ac_option_default_model.m4])
 m4_include([../m4/sim_ac_option_hardware.m4])
 m4_include([../m4/sim_ac_option_scache.m4])
index cdfcddd011d580b3c6fba6f4f6eb9ab0eea564ae..71efc1ad451e326d484f27b1ea26260b94d0b71d 100755 (executable)
@@ -590,9 +590,6 @@ sim_bitsize
 cgen_breaks
 sim_extra_cflags
 traps_obj
-cgen
-cgendir
-CGEN_MAINT
 MAINT
 MAINTAINER_MODE_FALSE
 MAINTAINER_MODE_TRUE
@@ -645,7 +642,6 @@ enable_option_checking
 enable_maintainer_mode
 enable_sim_scache
 enable_sim_default_model
-enable_cgen_maint
 enable_sim_hardware
 '
       ac_precious_vars='build_alias
@@ -1265,7 +1261,6 @@ Optional Features:
                           Specify simulator execution cache size
   --enable-sim-default-model=model
                           Specify default model to simulate
-  --enable-cgen-maint=DIR build cgen generated files
   --enable-sim-hardware=LIST
                           Specify the hardware to be included in the build.
 
@@ -1763,39 +1758,6 @@ fi
 
 
 
-cgen_maint=no
-cgen=guile
-cgendir='$(srcdir)/../../cgen'
-# Check whether --enable-cgen-maint was given.
-if test "${enable_cgen_maint+set}" = set; then :
-  enableval=$enable_cgen_maint; case "${enableval}" in
-  yes) cgen_maint=yes ;;
-  no)  cgen_maint=no ;;
-  *)
-       # Argument is a directory where cgen can be found.  In some
-       # future world cgen could be installable, but right now this
-       # is not the case.  Instead we assume the directory is a path
-       # to the cgen source tree.
-       cgen_maint=yes
-        if test -r ${enableval}/iformat.scm; then
-          # This looks like a cgen source tree.
-         cgendir=${enableval}
-        else
-         as_fn_error $? "${enableval} doesn't look like a cgen source tree" "$LINENO" 5
-        fi
-       ;;
-esac
-fi
-if test x${cgen_maint} != xno ; then
-  CGEN_MAINT=''
-else
-  CGEN_MAINT='#'
-fi
-
-
-
-
-
   case "${target_alias}" in
   m32r*-linux*)
     traps_obj=traps-linux.o
index 3146feee64086f1c4f1c37aa9a1a5af07cdcd5ac..2e6b415e40654879f3f05e0ae8e7ea5732d4e65c 100644 (file)
@@ -6,7 +6,6 @@ SIM_AC_COMMON
 
 SIM_AC_OPTION_SCACHE(16384)
 SIM_AC_OPTION_DEFAULT_MODEL(m32r/d)
-SIM_AC_OPTION_CGEN_MAINT
 
   case "${target_alias}" in
   m32r*-linux*)
index 3783520c9bc663d62a7ae047dad806841624b3f1..d229936d683a26d6e653b6efb8b46aee38aeb3e7 100644 (file)
@@ -1,3 +1,9 @@
+2021-06-20  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (CGEN_MAINT): Delete.
+       * configure.ac: Delete SIM_AC_OPTION_CGEN_MAINT call.
+       * aclocal.m4, configure: Regenerate.
+
 2021-06-20  Mike Frysinger  <vapier@gentoo.org>
 
        * aclocal.m4: Regenerate.
index c6083b0cd6ea3101c2a367e584d232e71a4e708f..499b3508cef0506e5b25c51208cca540538e2cdc 100644 (file)
@@ -93,11 +93,6 @@ traps.o: traps.c $(SIM_MAIN_DEPS) eng.h
 or1k-clean:
        rm -f mloop.c eng.h stamp-mloop
 
-# cgen support, enable with --enable-cgen-maint
-CGEN_MAINT = ; @true
-# The following line is commented in or out depending upon --enable-cgen-maint.
-@CGEN_MAINT@CGEN_MAINT =
-
 stamps: stamp-arch stamp-cpu stamp-mloop
 
 # NOTE: Generated source files are specified as full paths,
index e511ab35eb5094b4494090fa8c9e38d4eca23106..7a14aebe891631e6c81a769b0cc4cffe3bf79eb9 100644 (file)
@@ -101,7 +101,6 @@ AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
 m4_include([../../config/override.m4])
 m4_include([../m4/sim_ac_common.m4])
 m4_include([../m4/sim_ac_option_bitsize.m4])
-m4_include([../m4/sim_ac_option_cgen_maint.m4])
 m4_include([../m4/sim_ac_option_default_model.m4])
 m4_include([../m4/sim_ac_option_hardware.m4])
 m4_include([../m4/sim_ac_option_scache.m4])
index 95ce8b8e21a0adb97d57a3d7b297311dd9d20293..999d4132e589e637c0bd792c88963d5e3c181dc4 100755 (executable)
@@ -587,9 +587,6 @@ LIBOBJS
 sim_reserved_bits
 sim_float
 cgen_breaks
-cgen
-cgendir
-CGEN_MAINT
 MAINT
 MAINTAINER_MODE_FALSE
 MAINTAINER_MODE_TRUE
@@ -644,7 +641,6 @@ enable_maintainer_mode
 enable_sim_bitsize
 enable_sim_scache
 enable_sim_default_model
-enable_cgen_maint
 enable_sim_hardware
 '
       ac_precious_vars='build_alias
@@ -1265,7 +1261,6 @@ Optional Features:
                           Specify simulator execution cache size
   --enable-sim-default-model=model
                           Specify default model to simulate
-  --enable-cgen-maint=DIR build cgen generated files
   --enable-sim-hardware=LIST
                           Specify the hardware to be included in the build.
 
@@ -1822,39 +1817,6 @@ fi
 
 
 
-cgen_maint=no
-cgen=guile
-cgendir='$(srcdir)/../../cgen'
-# Check whether --enable-cgen-maint was given.
-if test "${enable_cgen_maint+set}" = set; then :
-  enableval=$enable_cgen_maint; case "${enableval}" in
-  yes) cgen_maint=yes ;;
-  no)  cgen_maint=no ;;
-  *)
-       # Argument is a directory where cgen can be found.  In some
-       # future world cgen could be installable, but right now this
-       # is not the case.  Instead we assume the directory is a path
-       # to the cgen source tree.
-       cgen_maint=yes
-        if test -r ${enableval}/iformat.scm; then
-          # This looks like a cgen source tree.
-         cgendir=${enableval}
-        else
-         as_fn_error $? "${enableval} doesn't look like a cgen source tree" "$LINENO" 5
-        fi
-       ;;
-esac
-fi
-if test x${cgen_maint} != xno ; then
-  CGEN_MAINT=''
-else
-  CGEN_MAINT='#'
-fi
-
-
-
-
-
 
 hardware="cfi core pal glue "
 sim_hw_cflags="-DWITH_HW=1"
index 576574c2ded2945ad669783337d8693511b15dd1..f77a7339d56a5c2a2a459e7f868feec4581a5665 100644 (file)
@@ -7,6 +7,5 @@ SIM_AC_COMMON
 SIM_AC_OPTION_BITSIZE([32], [31], [32])
 SIM_AC_OPTION_SCACHE(16384)
 SIM_AC_OPTION_DEFAULT_MODEL([or1200])
-SIM_AC_OPTION_CGEN_MAINT
 
 SIM_AC_OUTPUT
This page took 0.067291 seconds and 4 git commands to generate.