]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - sim/riscv/configure.ac
sim: delete SIM_AC_COMMON macro
[thirdparty/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)
760b3e8b 3AC_CONFIG_MACRO_DIRS([../m4 ../.. ../../config])
b9249c46 4
b9249c46
MF
5# Select the default model for the target.
6riscv_model=
7case "${target}" in
8riscv32*) riscv_model="RV32G" ;;
9riscv*) riscv_model="RV64G" ;;
10esac
11SIM_AC_OPTION_DEFAULT_MODEL(${riscv_model})
12
13# Select the bitsize of the target.
14riscv_addr_bitsize=
15case "${target}" in
16riscv32*) riscv_addr_bitsize=32 ;;
17riscv*) riscv_addr_bitsize=64 ;;
18esac
19SIM_AC_OPTION_BITSIZE($riscv_addr_bitsize)
20
21SIM_AC_OUTPUT