sim: allow the inline configure option everywhere
[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_ENVIRONMENT
13 SIM_AC_OPTION_CGEN_MAINT
14
15 case "${target_alias}" in
16 m32r*-linux*)
17 traps_obj=traps-linux.o
18 sim_extra_cflags="-DM32R_LINUX"
19 ;;
20 *)
21 traps_obj=traps.o
22 sim_extra_cflags="-DM32R_ELF"
23 ;;
24 esac
25 AC_SUBST(traps_obj)
26 AC_SUBST(sim_extra_cflags)
27
28 SIM_AC_OPTION_HARDWARE(yes,,m32r_cache m32r_uart)
29
30 SIM_AC_OUTPUT
This page took 0.03262 seconds and 5 git commands to generate.