configure.tgt 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  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. # WHEN ADDING ENTRIES TO THIS MATRIX:
  4. # Make sure that the left side always has two dashes. Otherwise you
  5. # can get spurious matches. Even for unambiguous cases, do this as a
  6. # convention, else the table becomes a real mess to understand and
  7. # maintain.
  8. dnl glue to avoid code duplication at top level
  9. m4_ifndef([SIM_ARCH], [AC_DEFUN([SIM_ARCH],[sim_arch=$1])])
  10. sim_common=yes
  11. sim_igen=no
  12. sim_arch=
  13. case "${target}" in
  14. arm*-*-*)
  15. SIM_ARCH(arm)
  16. ;;
  17. avr*-*-*)
  18. SIM_ARCH(avr)
  19. ;;
  20. bfin-*-*)
  21. SIM_ARCH(bfin)
  22. ;;
  23. cr16*-*-*)
  24. SIM_ARCH(cr16)
  25. ;;
  26. cris-*-* | crisv32-*-*)
  27. SIM_ARCH(cris)
  28. ;;
  29. d10v-*-*)
  30. SIM_ARCH(d10v)
  31. ;;
  32. frv-*-*)
  33. SIM_ARCH(frv)
  34. ;;
  35. h8300*-*-*)
  36. SIM_ARCH(h8300)
  37. ;;
  38. iq2000-*-*)
  39. SIM_ARCH(iq2000)
  40. ;;
  41. lm32-*-*)
  42. SIM_ARCH(lm32)
  43. ;;
  44. m32c-*-*)
  45. SIM_ARCH(m32c)
  46. ;;
  47. m32r-*-*)
  48. SIM_ARCH(m32r)
  49. ;;
  50. m68hc11-*-*|m6811-*-*)
  51. SIM_ARCH(m68hc11)
  52. ;;
  53. mcore-*-*)
  54. SIM_ARCH(mcore)
  55. ;;
  56. microblaze-*-*)
  57. SIM_ARCH(microblaze)
  58. ;;
  59. mips*-*-*)
  60. SIM_ARCH(mips)
  61. sim_igen=yes
  62. ;;
  63. mn10300*-*-*)
  64. SIM_ARCH(mn10300)
  65. sim_igen=yes
  66. ;;
  67. moxie-*-*)
  68. SIM_ARCH(moxie)
  69. ;;
  70. msp430*-*-*)
  71. SIM_ARCH(msp430)
  72. ;;
  73. rl78-*-*)
  74. SIM_ARCH(rl78)
  75. ;;
  76. rx-*-*)
  77. SIM_ARCH(rx)
  78. ;;
  79. sh64*-*-*)
  80. SIM_ARCH(sh64)
  81. ;;
  82. sh*-*-*)
  83. SIM_ARCH(sh)
  84. ;;
  85. sparc-*-rtems*|sparc-*-elf*)
  86. SIM_ARCH(erc32)
  87. ;;
  88. powerpc*-*-*)
  89. SIM_ARCH(ppc)
  90. ;;
  91. ft32-*-*)
  92. SIM_ARCH(ft32)
  93. ;;
  94. v850*-*-*)
  95. SIM_ARCH(v850)
  96. sim_igen=yes
  97. ;;
  98. *)
  99. # No simulator subdir, so the subdir "common" isn't needed.
  100. sim_common=no
  101. ;;
  102. esac
  103. AC_SUBST(sim_arch)