Config.in.compiler 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. # This file is part of the OpenADK project. OpenADK is copyrighted
  2. # material, please see the LICENCE file in the top-level directory.
  3. choice
  4. prompt "Compiler"
  5. config ADK_BUILD_COMPILER_GCC
  6. bool "gcc"
  7. endchoice
  8. choice
  9. prompt "GCC version"
  10. depends on ADK_BUILD_COMPILER_GCC
  11. default ADK_TOOLCHAIN_GCC_AVR32 if ADK_TARGET_ARCH_AVR32
  12. default ADK_TOOLCHAIN_GCC_KVX if ADK_TARGET_ARCH_KVX
  13. default ADK_TOOLCHAIN_GCC_METAG if ADK_TARGET_ARCH_METAG
  14. default ADK_TOOLCHAIN_GCC_7 if ADK_TARGET_ARCH_C6X # ICE with newer GCC
  15. default ADK_TOOLCHAIN_GCC_9 if ADK_TARGET_ARCH_BFIN && ADK_TARGET_BINFMT_FDPIC
  16. default ADK_TOOLCHAIN_GCC_10 if ADK_TARGET_ARCH_CRIS # no longer supported
  17. default ADK_TOOLCHAIN_GCC_10 if ADK_TARGET_CPU_SH_J2 # j2.patch
  18. default ADK_TOOLCHAIN_GCC_11 if ADK_TARGET_ARCH_SPARC # bus error without patch
  19. default ADK_TOOLCHAIN_GCC_12
  20. config ADK_TOOLCHAIN_GCC_GIT
  21. bool "git"
  22. depends on !ADK_TARGET_ARCH_AVR32
  23. depends on !ADK_TARGET_ARCH_METAG
  24. depends on !ADK_TARGET_ARCH_NDS32
  25. config ADK_TOOLCHAIN_GCC_13
  26. bool "13.2.0"
  27. depends on !ADK_TARGET_ARCH_AVR32
  28. depends on !ADK_TARGET_ARCH_METAG
  29. depends on !ADK_TARGET_ARCH_SPARC
  30. config ADK_TOOLCHAIN_GCC_12
  31. bool "12.3.0"
  32. depends on !ADK_TARGET_ARCH_AVR32
  33. depends on !ADK_TARGET_ARCH_METAG
  34. depends on !ADK_TARGET_ARCH_SPARC
  35. config ADK_TOOLCHAIN_GCC_11
  36. bool "11.4.0"
  37. depends on !ADK_TARGET_ARCH_AVR32
  38. depends on !ADK_TARGET_ARCH_C6X
  39. depends on !ADK_TARGET_ARCH_METAG
  40. depends on !ADK_TARGET_ARCH_LOONGARCH
  41. config ADK_TOOLCHAIN_GCC_10
  42. bool "10.5.0"
  43. depends on !ADK_TARGET_ARCH_AVR32
  44. depends on !ADK_TARGET_ARCH_C6X
  45. depends on !ADK_TARGET_ARCH_METAG
  46. depends on !ADK_TARGET_ARCH_NDS32
  47. depends on !ADK_TARGET_ARCH_LOONGARCH
  48. config ADK_TOOLCHAIN_GCC_9
  49. bool "9.5.0"
  50. depends on !ADK_TARGET_ARCH_ARC
  51. depends on !ADK_TARGET_ARCH_AVR32
  52. depends on !ADK_TARGET_ARCH_C6X
  53. depends on !ADK_TARGET_ARCH_METAG
  54. depends on !ADK_TARGET_ARCH_NDS32
  55. depends on !ADK_TARGET_ARCH_LOONGARCH
  56. config ADK_TOOLCHAIN_GCC_8
  57. bool "8.5.0"
  58. depends on !ADK_TARGET_ARCH_ARC
  59. depends on !ADK_TARGET_ARCH_AVR32
  60. depends on !ADK_TARGET_ARCH_C6X
  61. depends on !ADK_TARGET_ARCH_CSKY
  62. depends on !ADK_TARGET_ARCH_HPPA
  63. depends on !ADK_TARGET_ARCH_METAG
  64. depends on !ADK_TARGET_ARCH_NDS32
  65. depends on !ADK_TARGET_ARCH_OR1K
  66. depends on !ADK_TARGET_ARCH_LOONGARCH
  67. config ADK_TOOLCHAIN_GCC_7
  68. bool "7.5.0"
  69. depends on !ADK_TARGET_ARCH_ARC
  70. depends on !ADK_TARGET_ARCH_AVR32
  71. depends on !ADK_TARGET_ARCH_CSKY
  72. depends on !ADK_TARGET_ARCH_HPPA
  73. depends on !ADK_TARGET_ARCH_METAG
  74. depends on !ADK_TARGET_ARCH_NDS32
  75. depends on !ADK_TARGET_ARCH_OR1K
  76. depends on !ADK_TARGET_ARCH_LOONGARCH
  77. config ADK_TOOLCHAIN_GCC_AVR32
  78. bool "4.4.7-avr32"
  79. depends on ADK_TARGET_ARCH_AVR32
  80. config ADK_TOOLCHAIN_GCC_METAG
  81. bool "4.2.4-metag"
  82. depends on ADK_TARGET_ARCH_METAG
  83. config ADK_TOOLCHAIN_GCC_KVX
  84. bool "coolidge"
  85. depends on ADK_TARGET_ARCH_KVX
  86. endchoice