aboutsummaryrefslogtreecommitdiff
path: root/sim/configure.ac
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2021-06-28 22:39:16 -0400
committerMike Frysinger <vapier@gentoo.org>2021-06-30 13:33:18 -0400
commitb79efe264f9d2d4fc5b0491acd3258063b309723 (patch)
tree75808110808964a8813af7df9a5e8cf03b547dc7 /sim/configure.ac
parente7954ef5e5ed90fb7d28c013518f4c2e6bcd20a1 (diff)
downloadgdb-b79efe264f9d2d4fc5b0491acd3258063b309723.zip
gdb-b79efe264f9d2d4fc5b0491acd3258063b309723.tar.gz
gdb-b79efe264f9d2d4fc5b0491acd3258063b309723.tar.bz2
sim: unify scache settings
The cgen scache module is enabled by every cgen port, and with the same default value of 16k (which matches the common default value). Let's pull this option out of the individual ports (via CPPFLAGS) and into the common code (via config.h). The object itself is compiled only for cgen ports atm, so that part doesn't change. The scache code is initialized dynamically via the modules.c logic. That's why the profile code needs an additional CGEN_ARCH check. This will allow us to collapse arch configure files more. Merging the source files will require more future work, but integrating the cgen & non-cgen worlds itself will take a lot.
Diffstat (limited to 'sim/configure.ac')
-rw-r--r--sim/configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/configure.ac b/sim/configure.ac
index c2a724b..7e6d013 100644
--- a/sim/configure.ac
+++ b/sim/configure.ac
@@ -161,6 +161,7 @@ SIM_AC_OPTION_ENVIRONMENT
SIM_AC_OPTION_HARDWARE
SIM_AC_OPTION_INLINE
SIM_AC_OPTION_PROFILE
+SIM_AC_OPTION_SCACHE
SIM_AC_OPTION_STDIO
SIM_AC_OPTION_TRACE
SIM_AC_OPTION_WARNINGS
@@ -171,7 +172,6 @@ dnl when the rest of the code is in the respective macros. Once we merge the
dnl respective SIM_AC_OPTION_xxx call above, we can drop these.
AC_SUBST(sim_bitsize)
AC_SUBST(sim_float)
-AC_SUBST(sim_scache)
AC_SUBST(sim_reserved_bits)
dnl Some arches have unique configure flags.