SIM_ENABLE_ARCH_aarch64_FALSE=
fi
-
- sim_enable_arch_arm=false
+ sim_enable_arch_arm=false
case "${targ}" in
all|arm*-*-*)
if test "${targ}" = "${target}"; then
SIM_ENABLE_ARCH_arm_FALSE=
fi
-
- sim_enable_arch_avr=false
+ sim_enable_arch_avr=false
case "${targ}" in
all|avr*-*-*)
if test "${targ}" = "${target}"; then
SIM_ENABLE_ARCH_avr_FALSE=
fi
-
- sim_enable_arch_bfin=false
+ sim_enable_arch_bfin=false
case "${targ}" in
all|bfin-*-*)
if test "${targ}" = "${target}"; then
SIM_ENABLE_ARCH_bfin_FALSE=
fi
-
- sim_enable_arch_bpf=false
+ sim_enable_arch_bpf=false
case "${targ}" in
all|bpf-*-*)
if test "${targ}" = "${target}"; then
SIM_ENABLE_ARCH_bpf_FALSE=
fi
-
- sim_enable_arch_cr16=false
+ sim_enable_arch_cr16=false
case "${targ}" in
all|cr16*-*-*)
if test "${targ}" = "${target}"; then
SIM_ENABLE_ARCH_cr16_FALSE=
fi
-
- sim_enable_arch_cris=false
+ sim_enable_arch_cris=false
case "${targ}" in
all|cris-*-* | crisv32-*-*)
if test "${targ}" = "${target}"; then
SIM_ENABLE_ARCH_cris_FALSE=
fi
-
- sim_enable_arch_d10v=false
+ sim_enable_arch_d10v=false
case "${targ}" in
all|d10v-*-*)
if test "${targ}" = "${target}"; then
SIM_ENABLE_ARCH_d10v_FALSE=
fi
-
- sim_enable_arch_frv=false
+ sim_enable_arch_frv=false
case "${targ}" in
all|frv-*-*)
if test "${targ}" = "${target}"; then
SIM_ENABLE_ARCH_frv_FALSE=
fi
-
- sim_enable_arch_ft32=false
+ sim_enable_arch_ft32=false
case "${targ}" in
all|ft32-*-*)
if test "${targ}" = "${target}"; then
SIM_ENABLE_ARCH_ft32_FALSE=
fi
-
- sim_enable_arch_h8300=false
+ sim_enable_arch_h8300=false
case "${targ}" in
all|h8300*-*-*)
if test "${targ}" = "${target}"; then
SIM_ENABLE_ARCH_h8300_FALSE=
fi
-
- sim_enable_arch_iq2000=false
+ sim_enable_arch_iq2000=false
case "${targ}" in
all|iq2000-*-*)
if test "${targ}" = "${target}"; then
SIM_ENABLE_ARCH_iq2000_FALSE=
fi
-
- sim_enable_arch_lm32=false
+ sim_enable_arch_lm32=false
case "${targ}" in
all|lm32-*-*)
if test "${targ}" = "${target}"; then
SIM_ENABLE_ARCH_lm32_FALSE=
fi
-
- sim_enable_arch_m32c=false
+ sim_enable_arch_m32c=false
case "${targ}" in
all|m32c-*-*)
if test "${targ}" = "${target}"; then
SIM_ENABLE_ARCH_m32c_FALSE=
fi
-
- sim_enable_arch_m32r=false
+ sim_enable_arch_m32r=false
case "${targ}" in
all|m32r-*-*)
if test "${targ}" = "${target}"; then
SIM_ENABLE_ARCH_m32r_FALSE=
fi
-
- sim_enable_arch_m68hc11=false
+ sim_enable_arch_m68hc11=false
case "${targ}" in
all|m68hc11-*-*|m6811-*-*)
if test "${targ}" = "${target}"; then
SIM_ENABLE_ARCH_m68hc11_FALSE=
fi
-
- sim_enable_arch_mcore=false
+ sim_enable_arch_mcore=false
case "${targ}" in
all|mcore-*-*)
if test "${targ}" = "${target}"; then
SIM_ENABLE_ARCH_mcore_FALSE=
fi
-
- sim_enable_arch_microblaze=false
+ sim_enable_arch_microblaze=false
case "${targ}" in
all|microblaze*-*-*)
if test "${targ}" = "${target}"; then
SIM_ENABLE_ARCH_microblaze_FALSE=
fi
-
- sim_enable_arch_mips=false
+ sim_enable_arch_mips=false
case "${targ}" in
all|mips*-*-*)
if test "${targ}" = "${target}"; then
SIM_ENABLE_ARCH_mips_FALSE=
fi
-
- sim_enable_arch_mn10300=false
+ sim_enable_arch_mn10300=false
case "${targ}" in
all|mn10300*-*-*)
if test "${targ}" = "${target}"; then
SIM_ENABLE_ARCH_mn10300_FALSE=
fi
-
- sim_enable_arch_moxie=false
+ sim_enable_arch_moxie=false
case "${targ}" in
all|moxie-*-*)
if test "${targ}" = "${target}"; then
SIM_ENABLE_ARCH_moxie_FALSE=
fi
-
- sim_enable_arch_msp430=false
+ sim_enable_arch_msp430=false
case "${targ}" in
all|msp430*-*-*)
if test "${targ}" = "${target}"; then
SIM_ENABLE_ARCH_msp430_FALSE=
fi
-
- sim_enable_arch_or1k=false
+ sim_enable_arch_or1k=false
case "${targ}" in
all|or1k*-*-*)
if test "${targ}" = "${target}"; then
SIM_ENABLE_ARCH_or1k_FALSE=
fi
-
- sim_enable_arch_ppc=false
+ sim_enable_arch_ppc=false
case "${targ}" in
all|powerpc*-*-*)
if test "${targ}" = "${target}"; then
SIM_ENABLE_ARCH_ppc_FALSE=
fi
-
- sim_enable_arch_pru=false
+ sim_enable_arch_pru=false
case "${targ}" in
all|pru*-*-*)
if test "${targ}" = "${target}"; then
SIM_ENABLE_ARCH_pru_FALSE=
fi
-
- sim_enable_arch_riscv=false
+ sim_enable_arch_riscv=false
case "${targ}" in
all|riscv*-*-*)
if test "${targ}" = "${target}"; then
SIM_ENABLE_ARCH_riscv_FALSE=
fi
-
- sim_enable_arch_rl78=false
+ sim_enable_arch_rl78=false
case "${targ}" in
all|rl78-*-*)
if test "${targ}" = "${target}"; then
SIM_ENABLE_ARCH_rl78_FALSE=
fi
-
- sim_enable_arch_rx=false
+ sim_enable_arch_rx=false
case "${targ}" in
all|rx-*-*)
if test "${targ}" = "${target}"; then
SIM_ENABLE_ARCH_rx_FALSE=
fi
-
- sim_enable_arch_sh=false
+ sim_enable_arch_sh=false
case "${targ}" in
all|sh*-*-*)
if test "${targ}" = "${target}"; then
SIM_ENABLE_ARCH_sh_FALSE=
fi
-
- sim_enable_arch_erc32=false
+ sim_enable_arch_erc32=false
case "${targ}" in
all|sparc-*-*)
if test "${targ}" = "${target}"; then
SIM_ENABLE_ARCH_erc32_FALSE=
fi
-
- sim_enable_arch_v850=false
+ sim_enable_arch_v850=false
case "${targ}" in
all|v850*-*-*)
if test "${targ}" = "${target}"; then
if test "${enable_sim}" != no; then
for targ in `echo $target $enable_targets | sed 's/,/ /g'`
do
- SIM_TARGET([aarch64*-*-*], [aarch64])
- SIM_TARGET([arm*-*-*], [arm])
- SIM_TARGET([avr*-*-*], [avr])
- SIM_TARGET([bfin-*-*], [bfin])
- SIM_TARGET([bpf-*-*], [bpf])
- SIM_TARGET([cr16*-*-*], [cr16])
- SIM_TARGET([cris-*-* | crisv32-*-*], [cris])
- SIM_TARGET([d10v-*-*], [d10v])
- SIM_TARGET([frv-*-*], [frv])
- SIM_TARGET([ft32-*-*], [ft32])
- SIM_TARGET([h8300*-*-*], [h8300])
- SIM_TARGET([iq2000-*-*], [iq2000])
- SIM_TARGET([lm32-*-*], [lm32])
- SIM_TARGET([m32c-*-*], [m32c])
- SIM_TARGET([m32r-*-*], [m32r])
- SIM_TARGET([m68hc11-*-*|m6811-*-*], [m68hc11])
- SIM_TARGET([mcore-*-*], [mcore])
- SIM_TARGET([microblaze*-*-*], [microblaze])
- SIM_TARGET([mips*-*-*], [mips])
- SIM_TARGET([mn10300*-*-*], [mn10300])
- SIM_TARGET([moxie-*-*], [moxie])
- SIM_TARGET([msp430*-*-*], [msp430])
- SIM_TARGET([or1k*-*-*], [or1k])
- SIM_TARGET([powerpc*-*-*], [ppc])
- SIM_TARGET([pru*-*-*], [pru])
- SIM_TARGET([riscv*-*-*], [riscv])
- SIM_TARGET([rl78-*-*], [rl78])
- SIM_TARGET([rx-*-*], [rx])
- SIM_TARGET([sh*-*-*], [sh])
- SIM_TARGET([sparc-*-*], [erc32])
- SIM_TARGET([v850*-*-*], [v850])
+ m4_map([SIM_TARGET], [
+ [[aarch64*-*-*], [aarch64]],
+ [[arm*-*-*], [arm]],
+ [[avr*-*-*], [avr]],
+ [[bfin-*-*], [bfin]],
+ [[bpf-*-*], [bpf]],
+ [[cr16*-*-*], [cr16]],
+ [[cris-*-* | crisv32-*-*], [cris]],
+ [[d10v-*-*], [d10v]],
+ [[frv-*-*], [frv]],
+ [[ft32-*-*], [ft32]],
+ [[h8300*-*-*], [h8300]],
+ [[iq2000-*-*], [iq2000]],
+ [[lm32-*-*], [lm32]],
+ [[m32c-*-*], [m32c]],
+ [[m32r-*-*], [m32r]],
+ [[m68hc11-*-*|m6811-*-*], [m68hc11]],
+ [[mcore-*-*], [mcore]],
+ [[microblaze*-*-*], [microblaze]],
+ [[mips*-*-*], [mips]],
+ [[mn10300*-*-*], [mn10300]],
+ [[moxie-*-*], [moxie]],
+ [[msp430*-*-*], [msp430]],
+ [[or1k*-*-*], [or1k]],
+ [[powerpc*-*-*], [ppc]],
+ [[pru*-*-*], [pru]],
+ [[riscv*-*-*], [riscv]],
+ [[rl78-*-*], [rl78]],
+ [[rx-*-*], [rx]],
+ [[sh*-*-*], [sh]],
+ [[sparc-*-*], [erc32]],
+ [[v850*-*-*], [v850]],
+ ])
done
if test "x${enable_example_sims}" = xyes; then