Config.in.compiler 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215
  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. config ADK_BUILD_COMPILER_LLVM
  8. bool "llvm"
  9. depends on ADK_TARGET_ARCH_AARCH64 || \
  10. ADK_TARGET_ARCH_ARM || \
  11. ADK_TARGET_ARCH_MIPS || \
  12. ADK_TARGET_ARCH_RISCV64 || \
  13. ADK_TARGET_ARCH_X86_64
  14. endchoice
  15. choice
  16. prompt "LLVM version"
  17. depends on ADK_BUILD_COMPILER_LLVM
  18. default ADK_TOOLCHAIN_LLVM_23
  19. config ADK_TOOLCHAIN_LLVM_GIT
  20. bool "git"
  21. config ADK_TOOLCHAIN_LLVM_23
  22. bool "23.1.3"
  23. endchoice
  24. choice
  25. prompt "GCC version"
  26. depends on ADK_BUILD_COMPILER_GCC
  27. default ADK_TOOLCHAIN_GCC_ARC if ADK_TARGET_CPU_ARC_ARC32
  28. default ADK_TOOLCHAIN_GCC_ARC if ADK_TARGET_CPU_ARC_ARC64
  29. default ADK_TOOLCHAIN_GCC_AVR32 if ADK_TARGET_ARCH_AVR32
  30. default ADK_TOOLCHAIN_GCC_KVX if ADK_TARGET_ARCH_KVX
  31. default ADK_TOOLCHAIN_GCC_LM32 if ADK_TARGET_ARCH_LM32
  32. default ADK_TOOLCHAIN_GCC_METAG if ADK_TARGET_ARCH_METAG
  33. default ADK_TOOLCHAIN_GCC_NDS32 if ADK_TARGET_ARCH_NDS32
  34. default ADK_TOOLCHAIN_GCC_XTENSA if ADK_TARGET_ARCH_XTENSA && ADK_TARGET_BINFMT_FDPIC
  35. default ADK_TOOLCHAIN_GCC_7 if ADK_TARGET_ARCH_C6X # ICE with newer GCC
  36. default ADK_TOOLCHAIN_GCC_8 if ADK_TARGET_ARCH_PPC_WITH_SPE # last gcc version supporting SPE
  37. default ADK_TOOLCHAIN_GCC_10 if ADK_TARGET_ARCH_CRIS # no longer supported
  38. default ADK_TOOLCHAIN_GCC_10 if ADK_TARGET_CPU_SH_J2 # j2.patch
  39. default ADK_TOOLCHAIN_GCC_14 if ADK_TARGET_ARCH_NIOS2 # last gcc version supporting NIOS2
  40. default ADK_TOOLCHAIN_GCC_15 if ADK_TARGET_ARCH_CSKY # system does no longer boot in qemu
  41. default ADK_TOOLCHAIN_GCC_16
  42. config ADK_TOOLCHAIN_GCC_GIT
  43. bool "git"
  44. depends on !ADK_TARGET_ARCH_AVR32
  45. depends on !ADK_TARGET_ARCH_METAG
  46. depends on !ADK_TARGET_ARCH_NDS32
  47. depends on !ADK_TARGET_ARCH_NIOS2
  48. depends on !ADK_TARGET_ARCH_PPC_WITH_SPE
  49. depends on !ADK_TARGET_ARCH_TILE
  50. config ADK_TOOLCHAIN_GCC_16
  51. bool "16.2.0"
  52. depends on !ADK_TARGET_ARCH_AVR32
  53. depends on !ADK_TARGET_ARCH_CRIS
  54. depends on !ADK_TARGET_ARCH_METAG
  55. depends on !ADK_TARGET_ARCH_NIOS2
  56. depends on !ADK_TARGET_ARCH_PPC_WITH_SPE
  57. depends on !ADK_TARGET_ARCH_TILE
  58. config ADK_TOOLCHAIN_GCC_15
  59. bool "15.3.0"
  60. depends on !ADK_TARGET_ARCH_AVR32
  61. depends on !ADK_TARGET_ARCH_CRIS
  62. depends on !ADK_TARGET_ARCH_METAG
  63. depends on !ADK_TARGET_ARCH_NIOS2
  64. depends on !ADK_TARGET_ARCH_PPC_WITH_SPE
  65. depends on !ADK_TARGET_ARCH_TILE
  66. config ADK_TOOLCHAIN_GCC_14
  67. bool "14.4.0"
  68. depends on !ADK_TARGET_ARCH_AVR32
  69. depends on !ADK_TARGET_ARCH_CRIS
  70. depends on !ADK_TARGET_ARCH_METAG
  71. depends on !ADK_TARGET_ARCH_PPC_WITH_SPE
  72. depends on !ADK_TARGET_ARCH_TILE
  73. config ADK_TOOLCHAIN_GCC_13
  74. bool "13.4.0"
  75. depends on !ADK_TARGET_ARCH_AVR32
  76. depends on !ADK_TARGET_ARCH_CRIS
  77. depends on !ADK_TARGET_ARCH_METAG
  78. depends on !ADK_TARGET_ARCH_PPC_WITH_SPE
  79. depends on !ADK_TARGET_ARCH_TILE
  80. config ADK_TOOLCHAIN_GCC_12
  81. bool "12.5.0"
  82. depends on !ADK_TARGET_ARCH_AVR32
  83. depends on !ADK_TARGET_ARCH_CRIS
  84. depends on !ADK_TARGET_ARCH_METAG
  85. depends on !ADK_TARGET_ARCH_LOONGARCH
  86. depends on !ADK_TARGET_ARCH_PPC_WITH_SPE
  87. config ADK_TOOLCHAIN_GCC_11
  88. bool "11.5.0"
  89. depends on !ADK_TARGET_ARCH_AVR32
  90. depends on !ADK_TARGET_ARCH_CRIS
  91. depends on !ADK_TARGET_ARCH_C6X
  92. depends on !ADK_TARGET_ARCH_METAG
  93. depends on !ADK_TARGET_ARCH_LOONGARCH
  94. depends on !ADK_TARGET_ARCH_PPC_WITH_SPE
  95. config ADK_TOOLCHAIN_GCC_10
  96. bool "10.5.0"
  97. depends on !ADK_TARGET_ARCH_AVR32
  98. depends on !ADK_TARGET_ARCH_C6X
  99. depends on !ADK_TARGET_ARCH_METAG
  100. depends on !ADK_TARGET_ARCH_NDS32
  101. depends on !ADK_TARGET_ARCH_LOONGARCH
  102. depends on !ADK_TARGET_ARCH_PPC_WITH_SPE
  103. config ADK_TOOLCHAIN_GCC_9
  104. bool "9.5.0"
  105. depends on !ADK_TARGET_ARCH_ARC
  106. depends on !ADK_TARGET_ARCH_AVR32
  107. depends on !ADK_TARGET_ARCH_C6X
  108. depends on !ADK_TARGET_ARCH_METAG
  109. depends on !ADK_TARGET_ARCH_NDS32
  110. depends on !ADK_TARGET_ARCH_LOONGARCH
  111. depends on !ADK_TARGET_ARCH_PPC_WITH_SPE
  112. config ADK_TOOLCHAIN_GCC_8
  113. bool "8.5.0"
  114. depends on !ADK_TARGET_ARCH_ARC
  115. depends on !ADK_TARGET_ARCH_AVR32
  116. depends on !ADK_TARGET_ARCH_C6X
  117. depends on !ADK_TARGET_ARCH_CSKY
  118. depends on !ADK_TARGET_ARCH_HPPA
  119. depends on !ADK_TARGET_ARCH_METAG
  120. depends on !ADK_TARGET_ARCH_NDS32
  121. depends on !ADK_TARGET_ARCH_OR1K
  122. depends on !ADK_TARGET_ARCH_LOONGARCH
  123. config ADK_TOOLCHAIN_GCC_7
  124. bool "7.5.0"
  125. depends on !ADK_TARGET_ARCH_ARC
  126. depends on !ADK_TARGET_ARCH_AVR32
  127. depends on !ADK_TARGET_ARCH_CSKY
  128. depends on !ADK_TARGET_ARCH_HPPA
  129. depends on !ADK_TARGET_ARCH_METAG
  130. depends on !ADK_TARGET_ARCH_NDS32
  131. depends on !ADK_TARGET_ARCH_OR1K
  132. depends on !ADK_TARGET_ARCH_LOONGARCH
  133. config ADK_TOOLCHAIN_GCC_6
  134. bool "6.5.0"
  135. depends on !ADK_TARGET_ARCH_ARC
  136. depends on !ADK_TARGET_ARCH_AVR32
  137. depends on !ADK_TARGET_ARCH_CSKY
  138. depends on !ADK_TARGET_ARCH_HPPA
  139. depends on !ADK_TARGET_ARCH_METAG
  140. depends on !ADK_TARGET_ARCH_NDS32
  141. depends on !ADK_TARGET_ARCH_OR1K
  142. depends on !ADK_TARGET_ARCH_LOONGARCH
  143. config ADK_TOOLCHAIN_GCC_5
  144. bool "5.5.0"
  145. depends on !ADK_TARGET_ARCH_ARC
  146. depends on !ADK_TARGET_ARCH_AVR32
  147. depends on !ADK_TARGET_ARCH_CSKY
  148. depends on !ADK_TARGET_ARCH_HPPA
  149. depends on !ADK_TARGET_ARCH_METAG
  150. depends on !ADK_TARGET_ARCH_NDS32
  151. depends on !ADK_TARGET_ARCH_OR1K
  152. depends on !ADK_TARGET_ARCH_LOONGARCH
  153. config ADK_TOOLCHAIN_GCC_4
  154. bool "4.9.4"
  155. depends on !ADK_TARGET_ARCH_ARC
  156. depends on !ADK_TARGET_ARCH_AVR32
  157. depends on !ADK_TARGET_ARCH_CSKY
  158. depends on !ADK_TARGET_ARCH_HPPA
  159. depends on !ADK_TARGET_ARCH_METAG
  160. depends on !ADK_TARGET_ARCH_NDS32
  161. depends on !ADK_TARGET_ARCH_OR1K
  162. depends on !ADK_TARGET_ARCH_LOONGARCH
  163. config ADK_TOOLCHAIN_GCC_ARC
  164. bool "arc-2023.09"
  165. depends on ADK_TARGET_ARCH_ARC
  166. config ADK_TOOLCHAIN_GCC_AVR32
  167. bool "4.4.7-avr32"
  168. depends on ADK_TARGET_ARCH_AVR32
  169. config ADK_TOOLCHAIN_GCC_LM32
  170. bool "4.5.4-lm32"
  171. depends on ADK_TARGET_ARCH_LM32
  172. config ADK_TOOLCHAIN_GCC_METAG
  173. bool "4.2.4-metag"
  174. depends on ADK_TARGET_ARCH_METAG
  175. config ADK_TOOLCHAIN_GCC_NDS32
  176. bool "4.9.3-nds32"
  177. depends on ADK_TARGET_ARCH_NDS32
  178. config ADK_TOOLCHAIN_GCC_KVX
  179. bool "coolidge"
  180. depends on ADK_TARGET_ARCH_KVX
  181. config ADK_TOOLCHAIN_GCC_XTENSA
  182. bool "xtensa-fdpic-abi-spec-1.4"
  183. depends on ADK_TARGET_ARCH_XTENSA
  184. endchoice