X-Git-Url: https://git.libre-soc.org/?p=riscv-tests.git;a=blobdiff_plain;f=configure.ac;h=ebfd649795a37a5c2098efee103cc817abeff602;hp=d85ddd6ef1b3247c89a3ce594e5fb04ec14084c1;hb=30d113085a08b0cde585c7e0d8b19e0cc6cbc046;hpb=0e17d07550ab5f4b2f83af6c4e3dc00ddf875ce7;ds=sidebyside diff --git a/configure.ac b/configure.ac index d85ddd6..ebfd649 100644 --- a/configure.ac +++ b/configure.ac @@ -3,6 +3,14 @@ AC_INIT(riscv-tests, 1.0) cross_compiling=yes AC_PROG_CC +AC_ARG_WITH(xlen, + [AS_HELP_STRING([--with-xlen=XLEN], + [Set XLEN, the X-register bit width (default is 64)])], + AC_SUBST(XLEN, $withval), + AC_SUBST(XLEN, 64) + ) + + AC_OUTPUT( Makefile )