1 dnl Process this file with autoconf to produce a configure script.
3 sinclude(../common/acinclude.m4)
7 SIM_AC_OPTION_ENDIAN(LITTLE)
8 SIM_AC_OPTION_ALIGNMENT(NONSTRICT_ALIGNMENT)
9 SIM_AC_OPTION_ENVIRONMENT
10 SIM_AC_OPTION_WARNINGS
12 # Select the default model for the target.
15 riscv32*) riscv_model="RV32G" ;;
16 riscv*) riscv_model="RV64G" ;;
18 SIM_AC_OPTION_DEFAULT_MODEL(${riscv_model})
20 # Select the bitsize of the target.
23 riscv32*) riscv_addr_bitsize=32 ;;
24 riscv*) riscv_addr_bitsize=64 ;;
26 SIM_AC_OPTION_BITSIZE($riscv_addr_bitsize)