sim: riscv: new port
[deliverable/binutils-gdb.git] / sim / riscv / configure.ac
CommitLineData
b9249c46
MF
1dnl Process this file with autoconf to produce a configure script.
2AC_INIT(Makefile.in)
3sinclude(../common/acinclude.m4)
4
5SIM_AC_COMMON
6
7SIM_AC_OPTION_ENDIAN(LITTLE)
8SIM_AC_OPTION_ALIGNMENT(NONSTRICT_ALIGNMENT)
9SIM_AC_OPTION_ENVIRONMENT
10SIM_AC_OPTION_WARNINGS
11
12# Select the default model for the target.
13riscv_model=
14case "${target}" in
15riscv32*) riscv_model="RV32G" ;;
16riscv*) riscv_model="RV64G" ;;
17esac
18SIM_AC_OPTION_DEFAULT_MODEL(${riscv_model})
19
20# Select the bitsize of the target.
21riscv_addr_bitsize=
22case "${target}" in
23riscv32*) riscv_addr_bitsize=32 ;;
24riscv*) riscv_addr_bitsize=64 ;;
25esac
26SIM_AC_OPTION_BITSIZE($riscv_addr_bitsize)
27
28SIM_AC_OUTPUT
This page took 0.023053 seconds and 4 git commands to generate.