]>
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 | ||
7 | SIM_AC_OPTION_ENDIAN(LITTLE) | |
b9249c46 MF |
8 | SIM_AC_OPTION_WARNINGS |
9 | ||
10 | # Select the default model for the target. | |
11 | riscv_model= | |
12 | case "${target}" in | |
13 | riscv32*) riscv_model="RV32G" ;; | |
14 | riscv*) riscv_model="RV64G" ;; | |
15 | esac | |
16 | SIM_AC_OPTION_DEFAULT_MODEL(${riscv_model}) | |
17 | ||
18 | # Select the bitsize of the target. | |
19 | riscv_addr_bitsize= | |
20 | case "${target}" in | |
21 | riscv32*) riscv_addr_bitsize=32 ;; | |
22 | riscv*) riscv_addr_bitsize=64 ;; | |
23 | esac | |
24 | SIM_AC_OPTION_BITSIZE($riscv_addr_bitsize) | |
25 | ||
26 | SIM_AC_OUTPUT |