sim: mn10300: tweak engine halt hook
[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)
760b3e8b 3AC_CONFIG_MACRO_DIRS([../m4 ../.. ../../config])
b9249c46
MF
4
5SIM_AC_COMMON
6
7SIM_AC_OPTION_ENDIAN(LITTLE)
8SIM_AC_OPTION_ALIGNMENT(NONSTRICT_ALIGNMENT)
b9249c46
MF
9SIM_AC_OPTION_WARNINGS
10
11# Select the default model for the target.
12riscv_model=
13case "${target}" in
14riscv32*) riscv_model="RV32G" ;;
15riscv*) riscv_model="RV64G" ;;
16esac
17SIM_AC_OPTION_DEFAULT_MODEL(${riscv_model})
18
19# Select the bitsize of the target.
20riscv_addr_bitsize=
21case "${target}" in
22riscv32*) riscv_addr_bitsize=32 ;;
23riscv*) riscv_addr_bitsize=64 ;;
24esac
25SIM_AC_OPTION_BITSIZE($riscv_addr_bitsize)
26
27SIM_AC_OUTPUT
This page took 0.132541 seconds and 4 git commands to generate.