]>
Commit | Line | Data |
---|---|---|
b9249c46 MF |
1 | dnl Process this file with autoconf to produce a configure script. |
2 | AC_INIT(Makefile.in) | |
760b3e8b | 3 | AC_CONFIG_MACRO_DIRS([../m4 ../.. ../../config]) |
b9249c46 MF |
4 | |
5 | SIM_AC_COMMON | |
6 | ||
b9249c46 MF |
7 | # Select the default model for the target. |
8 | riscv_model= | |
9 | case "${target}" in | |
10 | riscv32*) riscv_model="RV32G" ;; | |
11 | riscv*) riscv_model="RV64G" ;; | |
12 | esac | |
13 | SIM_AC_OPTION_DEFAULT_MODEL(${riscv_model}) | |
14 | ||
15 | # Select the bitsize of the target. | |
16 | riscv_addr_bitsize= | |
17 | case "${target}" in | |
18 | riscv32*) riscv_addr_bitsize=32 ;; | |
19 | riscv*) riscv_addr_bitsize=64 ;; | |
20 | esac | |
21 | SIM_AC_OPTION_BITSIZE($riscv_addr_bitsize) | |
22 | ||
23 | SIM_AC_OUTPUT |