diff options
-rw-r--r-- | config.h.in | 3 | ||||
-rwxr-xr-x | configure | 15 |
2 files changed, 18 insertions, 0 deletions
diff --git a/config.h.in b/config.h.in index 2ec4911..cac4655 100644 --- a/config.h.in +++ b/config.h.in @@ -30,6 +30,9 @@ /* Define if 64-bit mode is supported */ #undef RISCV_ENABLE_64BIT +/* Enable commit log generation */ +#undef RISCV_ENABLE_COMMITLOG + /* Define if floating-point instructions are supported */ #undef RISCV_ENABLE_FPU @@ -649,6 +649,7 @@ enable_optional_subprojects with_fesvr enable_fpu enable_64bit +enable_commitlog ' ac_precious_vars='build_alias host_alias @@ -1284,6 +1285,7 @@ Optional Features: Enable all optional subprojects --disable-fpu Disable floating-point --disable-64bit Disable 64-bit mode + --enable-commitlog Enable commit log generation Optional Packages: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] @@ -4201,6 +4203,19 @@ $as_echo "#define RISCV_ENABLE_64BIT /**/" >>confdefs.h fi +# Check whether --enable-commitlog was given. +if test "${enable_commitlog+set}" = set; then : + enableval=$enable_commitlog; +fi + +if test "x$enable_commitlog" = "xyes"; then : + + +$as_echo "#define RISCV_ENABLE_COMMITLOG /**/" >>confdefs.h + + +fi + |