mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-24 02:24:46 +08:00
d414eb3e7f
This kills off another compile-time option by moving the setting to the individual arch runtimes. This will allow dynamic selection by the arch when doing a single build with multiple arches. The sim_model_init rework is a little funky. In the past it was disabled entirely if no default model was set. We maintain the spirit of the logic by gating the fallback logic on whether the port has defined any models.
14 lines
345 B
Plaintext
14 lines
345 B
Plaintext
dnl Process this file with autoconf to produce a configure script.
|
|
AC_INIT(Makefile.in)
|
|
AC_CONFIG_MACRO_DIRS([../m4 ../.. ../../config])
|
|
|
|
# Select the bitsize of the target.
|
|
riscv_addr_bitsize=
|
|
case "${target}" in
|
|
riscv32*) riscv_addr_bitsize=32 ;;
|
|
riscv*) riscv_addr_bitsize=64 ;;
|
|
esac
|
|
SIM_AC_OPTION_BITSIZE($riscv_addr_bitsize)
|
|
|
|
SIM_AC_OUTPUT
|