Fix aarch64-freebsd build failure
[deliverable/binutils-gdb.git] / sim / m32r / configure.ac
1 dnl Process this file with autoconf to produce a configure script.
2 AC_PREREQ(2.64)dnl
3 AC_INIT(Makefile.in)
4 sinclude(../common/acinclude.m4)
5
6 SIM_AC_COMMON
7
8 SIM_AC_OPTION_ENDIAN(BIG)
9 SIM_AC_OPTION_ALIGNMENT(STRICT_ALIGNMENT)
10 SIM_AC_OPTION_SCACHE(16384)
11 SIM_AC_OPTION_DEFAULT_MODEL(m32r/d)
12 SIM_AC_OPTION_CGEN_MAINT
13
14 case "${target_alias}" in
15 m32r*-linux*)
16 traps_obj=traps-linux.o
17 sim_extra_cflags="-DM32R_LINUX"
18 ;;
19 *)
20 traps_obj=traps.o
21 sim_extra_cflags="-DM32R_ELF"
22 ;;
23 esac
24 AC_SUBST(traps_obj)
25 AC_SUBST(sim_extra_cflags)
26
27 SIM_AC_OPTION_HARDWARE(yes,,m32r_cache m32r_uart)
28
29 SIM_AC_OUTPUT
This page took 0.029613 seconds and 4 git commands to generate.