]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - sim/riscv/configure.ac
sim: delete SIM_AC_COMMON macro
[thirdparty/binutils-gdb.git] / sim / riscv / configure.ac
1 dnl Process this file with autoconf to produce a configure script.
2 AC_INIT(Makefile.in)
3 AC_CONFIG_MACRO_DIRS([../m4 ../.. ../../config])
4
5 # Select the default model for the target.
6 riscv_model=
7 case "${target}" in
8 riscv32*) riscv_model="RV32G" ;;
9 riscv*) riscv_model="RV64G" ;;
10 esac
11 SIM_AC_OPTION_DEFAULT_MODEL(${riscv_model})
12
13 # Select the bitsize of the target.
14 riscv_addr_bitsize=
15 case "${target}" in
16 riscv32*) riscv_addr_bitsize=32 ;;
17 riscv*) riscv_addr_bitsize=64 ;;
18 esac
19 SIM_AC_OPTION_BITSIZE($riscv_addr_bitsize)
20
21 SIM_AC_OUTPUT