Config.in.compiler 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168
  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_ARC if ADK_TARGET_CPU_ARC_ARC32
  12. default ADK_TOOLCHAIN_GCC_ARC if ADK_TARGET_CPU_ARC_ARC64
  13. default ADK_TOOLCHAIN_GCC_AVR32 if ADK_TARGET_ARCH_AVR32
  14. default ADK_TOOLCHAIN_GCC_KVX if ADK_TARGET_ARCH_KVX
  15. default ADK_TOOLCHAIN_GCC_LM32 if ADK_TARGET_ARCH_LM32
  16. default ADK_TOOLCHAIN_GCC_METAG if ADK_TARGET_ARCH_METAG
  17. default ADK_TOOLCHAIN_GCC_NDS32 if ADK_TARGET_ARCH_NDS32
  18. default ADK_TOOLCHAIN_GCC_7 if ADK_TARGET_ARCH_C6X # ICE with newer GCC
  19. default ADK_TOOLCHAIN_GCC_10 if ADK_TARGET_ARCH_CRIS # no longer supported
  20. default ADK_TOOLCHAIN_GCC_10 if ADK_TARGET_CPU_SH_J2 # j2.patch
  21. default ADK_TOOLCHAIN_GCC_14 if ADK_TARGET_ARCH_NIOS2 # no longer supported
  22. default ADK_TOOLCHAIN_GCC_15
  23. config ADK_TOOLCHAIN_GCC_GIT
  24. bool "git"
  25. depends on !ADK_TARGET_ARCH_AVR32
  26. depends on !ADK_TARGET_ARCH_METAG
  27. depends on !ADK_TARGET_ARCH_NDS32
  28. config ADK_TOOLCHAIN_GCC_15
  29. bool "15.2.0"
  30. depends on !ADK_TARGET_ARCH_AVR32
  31. depends on !ADK_TARGET_ARCH_CRIS
  32. depends on !ADK_TARGET_ARCH_METAG
  33. config ADK_TOOLCHAIN_GCC_14
  34. bool "14.3.0"
  35. depends on !ADK_TARGET_ARCH_AVR32
  36. depends on !ADK_TARGET_ARCH_CRIS
  37. depends on !ADK_TARGET_ARCH_METAG
  38. config ADK_TOOLCHAIN_GCC_13
  39. bool "13.4.0"
  40. depends on !ADK_TARGET_ARCH_AVR32
  41. depends on !ADK_TARGET_ARCH_CRIS
  42. depends on !ADK_TARGET_ARCH_METAG
  43. config ADK_TOOLCHAIN_GCC_12
  44. bool "12.5.0"
  45. depends on !ADK_TARGET_ARCH_AVR32
  46. depends on !ADK_TARGET_ARCH_CRIS
  47. depends on !ADK_TARGET_ARCH_METAG
  48. depends on !ADK_TARGET_ARCH_LOONGARCH
  49. config ADK_TOOLCHAIN_GCC_11
  50. bool "11.5.0"
  51. depends on !ADK_TARGET_ARCH_AVR32
  52. depends on !ADK_TARGET_ARCH_CRIS
  53. depends on !ADK_TARGET_ARCH_C6X
  54. depends on !ADK_TARGET_ARCH_METAG
  55. depends on !ADK_TARGET_ARCH_LOONGARCH
  56. config ADK_TOOLCHAIN_GCC_10
  57. bool "10.5.0"
  58. depends on !ADK_TARGET_ARCH_AVR32
  59. depends on !ADK_TARGET_ARCH_C6X
  60. depends on !ADK_TARGET_ARCH_METAG
  61. depends on !ADK_TARGET_ARCH_NDS32
  62. depends on !ADK_TARGET_ARCH_LOONGARCH
  63. config ADK_TOOLCHAIN_GCC_9
  64. bool "9.5.0"
  65. depends on !ADK_TARGET_ARCH_ARC
  66. depends on !ADK_TARGET_ARCH_AVR32
  67. depends on !ADK_TARGET_ARCH_C6X
  68. depends on !ADK_TARGET_ARCH_METAG
  69. depends on !ADK_TARGET_ARCH_NDS32
  70. depends on !ADK_TARGET_ARCH_LOONGARCH
  71. config ADK_TOOLCHAIN_GCC_8
  72. bool "8.5.0"
  73. depends on !ADK_TARGET_ARCH_ARC
  74. depends on !ADK_TARGET_ARCH_AVR32
  75. depends on !ADK_TARGET_ARCH_C6X
  76. depends on !ADK_TARGET_ARCH_CSKY
  77. depends on !ADK_TARGET_ARCH_HPPA
  78. depends on !ADK_TARGET_ARCH_METAG
  79. depends on !ADK_TARGET_ARCH_NDS32
  80. depends on !ADK_TARGET_ARCH_OR1K
  81. depends on !ADK_TARGET_ARCH_LOONGARCH
  82. config ADK_TOOLCHAIN_GCC_7
  83. bool "7.5.0"
  84. depends on !ADK_TARGET_ARCH_ARC
  85. depends on !ADK_TARGET_ARCH_AVR32
  86. depends on !ADK_TARGET_ARCH_CSKY
  87. depends on !ADK_TARGET_ARCH_HPPA
  88. depends on !ADK_TARGET_ARCH_METAG
  89. depends on !ADK_TARGET_ARCH_NDS32
  90. depends on !ADK_TARGET_ARCH_OR1K
  91. depends on !ADK_TARGET_ARCH_LOONGARCH
  92. config ADK_TOOLCHAIN_GCC_6
  93. bool "6.5.0"
  94. depends on !ADK_TARGET_ARCH_ARC
  95. depends on !ADK_TARGET_ARCH_AVR32
  96. depends on !ADK_TARGET_ARCH_CSKY
  97. depends on !ADK_TARGET_ARCH_HPPA
  98. depends on !ADK_TARGET_ARCH_METAG
  99. depends on !ADK_TARGET_ARCH_NDS32
  100. depends on !ADK_TARGET_ARCH_OR1K
  101. depends on !ADK_TARGET_ARCH_LOONGARCH
  102. config ADK_TOOLCHAIN_GCC_5
  103. bool "5.5.0"
  104. depends on !ADK_TARGET_ARCH_ARC
  105. depends on !ADK_TARGET_ARCH_AVR32
  106. depends on !ADK_TARGET_ARCH_CSKY
  107. depends on !ADK_TARGET_ARCH_HPPA
  108. depends on !ADK_TARGET_ARCH_METAG
  109. depends on !ADK_TARGET_ARCH_NDS32
  110. depends on !ADK_TARGET_ARCH_OR1K
  111. depends on !ADK_TARGET_ARCH_LOONGARCH
  112. config ADK_TOOLCHAIN_GCC_4
  113. bool "4.9.4"
  114. depends on !ADK_TARGET_ARCH_ARC
  115. depends on !ADK_TARGET_ARCH_AVR32
  116. depends on !ADK_TARGET_ARCH_CSKY
  117. depends on !ADK_TARGET_ARCH_HPPA
  118. depends on !ADK_TARGET_ARCH_METAG
  119. depends on !ADK_TARGET_ARCH_NDS32
  120. depends on !ADK_TARGET_ARCH_OR1K
  121. depends on !ADK_TARGET_ARCH_LOONGARCH
  122. config ADK_TOOLCHAIN_GCC_ARC
  123. bool "arc-2023.09"
  124. depends on ADK_TARGET_ARCH_ARC
  125. config ADK_TOOLCHAIN_GCC_AVR32
  126. bool "4.4.7-avr32"
  127. depends on ADK_TARGET_ARCH_AVR32
  128. config ADK_TOOLCHAIN_GCC_LM32
  129. bool "4.5.4-lm32"
  130. depends on ADK_TARGET_ARCH_LM32
  131. config ADK_TOOLCHAIN_GCC_METAG
  132. bool "4.2.4-metag"
  133. depends on ADK_TARGET_ARCH_METAG
  134. config ADK_TOOLCHAIN_GCC_NDS32
  135. bool "4.9.3-nds32"
  136. depends on ADK_TARGET_ARCH_NDS32
  137. config ADK_TOOLCHAIN_GCC_KVX
  138. bool "coolidge"
  139. depends on ADK_TARGET_ARCH_KVX
  140. config ADK_TOOLCHAIN_GCC_XTENSA
  141. bool "xtensa-fdpic-abi-spec-1.4"
  142. depends on ADK_TARGET_ARCH_XTENSA
  143. endchoice