Config.in.compiler 4.5 KB

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