sim: bfin: import testsuite
[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    rx-*-*)
90        SIM_ARCH(rx)
91        ;;
92    sh64*-*-*)
93        SIM_ARCH(sh64)
94        sim_testsuite=yes
95        ;;
96    sh*-*-*)
97        SIM_ARCH(sh)
98        sim_testsuite=yes
99        ;;
100    sparc-*-rtems*|sparc-*-elf*)
101        SIM_ARCH(erc32)
102        sim_testsuite=yes
103        ;;
104    powerpc*-*-*)
105        SIM_ARCH(ppc)
106        ;;
107    v850*-*-*)
108        SIM_ARCH(v850)
109        sim_igen=yes
110        sim_testsuite=yes
111        ;;
112    *)
113        # No simulator subdir, so the subdir "common" isn't needed.
114        sim_common=no
115        ;;
116 esac
117 AC_SUBST(sim_arch)