daily update
[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 ;;
87326c78
DD
89 rl78-*-*)
90 SIM_ARCH(rl78)
91 ;;
119da465
MF
92 rx-*-*)
93 SIM_ARCH(rx)
94 ;;
95 sh64*-*-*)
96 SIM_ARCH(sh64)
97 sim_testsuite=yes
98 ;;
99 sh*-*-*)
100 SIM_ARCH(sh)
101 sim_testsuite=yes
102 ;;
103 sparc-*-rtems*|sparc-*-elf*)
104 SIM_ARCH(erc32)
105 sim_testsuite=yes
106 ;;
107 powerpc*-*-*)
108 SIM_ARCH(ppc)
109 ;;
110 v850*-*-*)
111 SIM_ARCH(v850)
112 sim_igen=yes
113 sim_testsuite=yes
114 ;;
115 *)
116 # No simulator subdir, so the subdir "common" isn't needed.
117 sim_common=no
118 ;;
119esac
120AC_SUBST(sim_arch)
This page took 0.113256 seconds and 4 git commands to generate.