sim: testsuite: make subdir unconditional
[deliverable/binutils-gdb.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_common=yes
15 sim_igen=no
16 sim_arch=
17 case "${target}" in
18 arm*-*-*)
19 SIM_ARCH(arm)
20 ;;
21 avr*-*-*)
22 SIM_ARCH(avr)
23 ;;
24 bfin-*-*)
25 SIM_ARCH(bfin)
26 ;;
27 cr16*-*-*)
28 SIM_ARCH(cr16)
29 ;;
30 cris-*-* | crisv32-*-*)
31 SIM_ARCH(cris)
32 ;;
33 d10v-*-*)
34 SIM_ARCH(d10v)
35 ;;
36 frv-*-*)
37 SIM_ARCH(frv)
38 ;;
39 h8300*-*-*)
40 SIM_ARCH(h8300)
41 ;;
42 iq2000-*-*)
43 SIM_ARCH(iq2000)
44 ;;
45 lm32-*-*)
46 SIM_ARCH(lm32)
47 ;;
48 m32c-*-*)
49 SIM_ARCH(m32c)
50 ;;
51 m32r-*-*)
52 SIM_ARCH(m32r)
53 ;;
54 m68hc11-*-*|m6811-*-*)
55 SIM_ARCH(m68hc11)
56 ;;
57 mcore-*-*)
58 SIM_ARCH(mcore)
59 ;;
60 microblaze-*-*)
61 SIM_ARCH(microblaze)
62 ;;
63 mips*-*-*)
64 SIM_ARCH(mips)
65 sim_igen=yes
66 ;;
67 mn10300*-*-*)
68 SIM_ARCH(mn10300)
69 sim_igen=yes
70 ;;
71 moxie-*-*)
72 SIM_ARCH(moxie)
73 ;;
74 msp430*-*-*)
75 SIM_ARCH(msp430)
76 ;;
77 rl78-*-*)
78 SIM_ARCH(rl78)
79 ;;
80 rx-*-*)
81 SIM_ARCH(rx)
82 ;;
83 sh64*-*-*)
84 SIM_ARCH(sh64)
85 ;;
86 sh*-*-*)
87 SIM_ARCH(sh)
88 ;;
89 sparc-*-rtems*|sparc-*-elf*)
90 SIM_ARCH(erc32)
91 ;;
92 powerpc*-*-*)
93 SIM_ARCH(ppc)
94 ;;
95 ft32-*-*)
96 SIM_ARCH(ft32)
97 ;;
98 v850*-*-*)
99 SIM_ARCH(v850)
100 sim_igen=yes
101 ;;
102 *)
103 # No simulator subdir, so the subdir "common" isn't needed.
104 sim_common=no
105 ;;
106 esac
107 AC_SUBST(sim_arch)
This page took 0.032953 seconds and 5 git commands to generate.