sim: ft32: new port
[external/binutils.git] / sim / configure.tgt
1 dnl Note that this file is intended to be included at the m4 level and not
2 dnl the shell level, so use sinclude(...) to pull it in.
3
4 # WHEN ADDING ENTRIES TO THIS MATRIX:
5
6 # Make sure that the left side always has two dashes.  Otherwise you
7 # can get spurious matches.  Even for unambiguous cases, do this as a
8 # convention, else the table becomes a real mess to understand and
9 # maintain.
10
11 dnl glue to avoid code duplication at top level
12 m4_ifndef([SIM_ARCH], [AC_DEFUN([SIM_ARCH],[sim_arch=$1])])
13
14 sim_testsuite=no
15 sim_common=yes
16 sim_igen=no
17 sim_arch=
18 case "${target}" in
19    arm*-*-*)
20        SIM_ARCH(arm)
21        sim_testsuite=yes
22        ;;
23    avr*-*-*)
24        SIM_ARCH(avr)
25        ;;
26    bfin-*-*)
27        SIM_ARCH(bfin)
28        sim_testsuite=yes
29        ;;
30    cr16*-*-*)
31        SIM_ARCH(cr16)
32        sim_testsuite=yes
33        ;;
34    cris-*-* | crisv32-*-*)
35        SIM_ARCH(cris)
36        sim_testsuite=yes
37        ;;
38    d10v-*-*)
39        SIM_ARCH(d10v)
40        ;;
41    frv-*-*)
42        SIM_ARCH(frv)
43        sim_testsuite=yes
44        ;;
45    h8300*-*-*)
46        SIM_ARCH(h8300)
47        sim_testsuite=yes
48        ;;
49    iq2000-*-*)
50        SIM_ARCH(iq2000)
51        sim_testsuite=yes
52        ;;
53    lm32-*-*)
54        SIM_ARCH(lm32)
55        sim_testsuite=yes
56        ;;
57    m32c-*-*)
58        SIM_ARCH(m32c)
59        ;;
60    m32r-*-*)
61        SIM_ARCH(m32r)
62        sim_testsuite=yes
63        ;;
64    m68hc11-*-*|m6811-*-*)
65        SIM_ARCH(m68hc11)
66        sim_testsuite=yes
67        ;;
68    mcore-*-*)
69        SIM_ARCH(mcore)
70        sim_testsuite=yes
71        ;;
72    microblaze-*-*)
73        SIM_ARCH(microblaze)
74        sim_testsuite=yes
75        ;;
76    mips*-*-*)
77        SIM_ARCH(mips)
78        sim_testsuite=yes
79        sim_igen=yes
80        ;;
81    mn10300*-*-*)
82        SIM_ARCH(mn10300)
83        sim_igen=yes
84        ;;
85    moxie-*-*)
86        SIM_ARCH(moxie)
87        sim_testsuite=yes
88        ;;
89    msp430*-*-*)
90        SIM_ARCH(msp430)
91        sim_testsuite=yes
92        ;;
93    rl78-*-*)
94        SIM_ARCH(rl78)
95        ;;
96    rx-*-*)
97        SIM_ARCH(rx)
98        ;;
99    sh64*-*-*)
100        SIM_ARCH(sh64)
101        sim_testsuite=yes
102        ;;
103    sh*-*-*)
104        SIM_ARCH(sh)
105        sim_testsuite=yes
106        ;;
107    sparc-*-rtems*|sparc-*-elf*)
108        SIM_ARCH(erc32)
109        sim_testsuite=yes
110        ;;
111    powerpc*-*-*)
112        SIM_ARCH(ppc)
113        ;;
114    ft32-*-*)
115        SIM_ARCH(ft32)
116        sim_testsuite=yes
117        ;;
118    v850*-*-*)
119        SIM_ARCH(v850)
120        sim_igen=yes
121        sim_testsuite=yes
122        ;;
123    *)
124        # No simulator subdir, so the subdir "common" isn't needed.
125        sim_common=no
126        ;;
127 esac
128 AC_SUBST(sim_arch)