Commit | Line | Data |
---|---|---|
c906108c | 1 | dnl Process this file with autoconf to produce a configure script. |
c906108c | 2 | AC_INIT(Makefile.in) |
9c082ca8 | 3 | sinclude(../common/acinclude.m4) |
c906108c | 4 | |
6ffe910a | 5 | SIM_AC_COMMON |
35695fd6 | 6 | |
1ac72f06 | 7 | SIM_AC_OPTION_ENDIAN(BIG) |
c906108c | 8 | SIM_AC_OPTION_ALIGNMENT(STRICT_ALIGNMENT) |
c906108c SS |
9 | SIM_AC_OPTION_SCACHE(16384) |
10 | SIM_AC_OPTION_DEFAULT_MODEL(m32r/d) | |
c906108c SS |
11 | SIM_AC_OPTION_CGEN_MAINT |
12 | ||
6edf0760 NC |
13 | case "${target_alias}" in |
14 | m32r*-linux*) | |
15 | traps_obj=traps-linux.o | |
16 | sim_extra_cflags="-DM32R_LINUX" | |
17 | ;; | |
18 | *) | |
19 | traps_obj=traps.o | |
20 | sim_extra_cflags="-DM32R_ELF" | |
21 | ;; | |
22 | esac | |
23 | AC_SUBST(traps_obj) | |
24 | AC_SUBST(sim_extra_cflags) | |
25 | ||
9c0c156b | 26 | SIM_AC_OPTION_HARDWARE(yes,,m32r_cache m32r_uart) |
6edf0760 | 27 | |
c906108c | 28 | SIM_AC_OUTPUT |