gdb/testsuite/
[deliverable/binutils-gdb.git] / sim / configure.tgt
CommitLineData
119da465
MF
1dnl Note that this file is intended to be included at the m4 level and not
2dnl 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
11dnl glue to avoid code duplication at top level
12m4_ifndef([SIM_ARCH], [AC_DEFUN([SIM_ARCH],[sim_arch=$1])])
13
14sim_testsuite=no
15sim_common=yes
16sim_igen=no
17sim_arch=
18case "${target}" in
4d393d60 19 arm*-*-*)
119da465
MF
20 SIM_ARCH(arm)
21 sim_testsuite=yes
22 ;;
23 avr*-*-*)
24 SIM_ARCH(avr)
25 ;;
ef016f83
MF
26 bfin-*-*)
27 SIM_ARCH(bfin)
1d7b4a70 28 sim_testsuite=yes
ef016f83 29 ;;
119da465
MF
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 ;;
3346cfda
NC
89 msp430*-*-*)
90 SIM_ARCH(msp430)
91 ;;
87326c78
DD
92 rl78-*-*)
93 SIM_ARCH(rl78)
94 ;;
119da465
MF
95 rx-*-*)
96 SIM_ARCH(rx)
97 ;;
98 sh64*-*-*)
99 SIM_ARCH(sh64)
100 sim_testsuite=yes
101 ;;
102 sh*-*-*)
103 SIM_ARCH(sh)
104 sim_testsuite=yes
105 ;;
106 sparc-*-rtems*|sparc-*-elf*)
107 SIM_ARCH(erc32)
108 sim_testsuite=yes
109 ;;
110 powerpc*-*-*)
111 SIM_ARCH(ppc)
112 ;;
113 v850*-*-*)
114 SIM_ARCH(v850)
115 sim_igen=yes
116 sim_testsuite=yes
117 ;;
118 *)
119 # No simulator subdir, so the subdir "common" isn't needed.
120 sim_common=no
121 ;;
122esac
123AC_SUBST(sim_arch)
This page took 0.153974 seconds and 4 git commands to generate.