Config.in.compiler 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  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_ARCH_ARC
  12. default ADK_TOOLCHAIN_GCC_AVR32 if ADK_TARGET_ARCH_AVR32
  13. default ADK_TOOLCHAIN_GCC_KVX if ADK_TARGET_ARCH_KVX
  14. default ADK_TOOLCHAIN_GCC_LM32 if ADK_TARGET_ARCH_LM32
  15. default ADK_TOOLCHAIN_GCC_METAG if ADK_TARGET_ARCH_METAG
  16. default ADK_TOOLCHAIN_GCC_7 if ADK_TARGET_ARCH_C6X # ICE with newer GCC
  17. default ADK_TOOLCHAIN_GCC_9 if ADK_TARGET_ARCH_BFIN && ADK_TARGET_BINFMT_FDPIC
  18. default ADK_TOOLCHAIN_GCC_10 if ADK_TARGET_ARCH_CRIS # no longer supported
  19. default ADK_TOOLCHAIN_GCC_10 if ADK_TARGET_CPU_SH_J2 # j2.patch
  20. default ADK_TOOLCHAIN_GCC_11 if ADK_TARGET_ARCH_SPARC # bus error without patch
  21. default ADK_TOOLCHAIN_GCC_13
  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_13
  28. bool "13.2.0"
  29. depends on !ADK_TARGET_ARCH_AVR32
  30. depends on !ADK_TARGET_ARCH_METAG
  31. depends on !ADK_TARGET_ARCH_SPARC
  32. config ADK_TOOLCHAIN_GCC_12
  33. bool "12.3.0"
  34. depends on !ADK_TARGET_ARCH_AVR32
  35. depends on !ADK_TARGET_ARCH_METAG
  36. depends on !ADK_TARGET_ARCH_LOONGARCH
  37. depends on !ADK_TARGET_ARCH_SPARC
  38. config ADK_TOOLCHAIN_GCC_11
  39. bool "11.4.0"
  40. depends on !ADK_TARGET_ARCH_AVR32
  41. depends on !ADK_TARGET_ARCH_C6X
  42. depends on !ADK_TARGET_ARCH_METAG
  43. depends on !ADK_TARGET_ARCH_LOONGARCH
  44. config ADK_TOOLCHAIN_GCC_10
  45. bool "10.5.0"
  46. depends on !ADK_TARGET_ARCH_AVR32
  47. depends on !ADK_TARGET_ARCH_C6X
  48. depends on !ADK_TARGET_ARCH_METAG
  49. depends on !ADK_TARGET_ARCH_NDS32
  50. depends on !ADK_TARGET_ARCH_LOONGARCH
  51. config ADK_TOOLCHAIN_GCC_9
  52. bool "9.5.0"
  53. depends on !ADK_TARGET_ARCH_ARC
  54. depends on !ADK_TARGET_ARCH_AVR32
  55. depends on !ADK_TARGET_ARCH_C6X
  56. depends on !ADK_TARGET_ARCH_METAG
  57. depends on !ADK_TARGET_ARCH_NDS32
  58. depends on !ADK_TARGET_ARCH_LOONGARCH
  59. config ADK_TOOLCHAIN_GCC_8
  60. bool "8.5.0"
  61. depends on !ADK_TARGET_ARCH_ARC
  62. depends on !ADK_TARGET_ARCH_AVR32
  63. depends on !ADK_TARGET_ARCH_C6X
  64. depends on !ADK_TARGET_ARCH_CSKY
  65. depends on !ADK_TARGET_ARCH_HPPA
  66. depends on !ADK_TARGET_ARCH_METAG
  67. depends on !ADK_TARGET_ARCH_NDS32
  68. depends on !ADK_TARGET_ARCH_OR1K
  69. depends on !ADK_TARGET_ARCH_LOONGARCH
  70. config ADK_TOOLCHAIN_GCC_7
  71. bool "7.5.0"
  72. depends on !ADK_TARGET_ARCH_ARC
  73. depends on !ADK_TARGET_ARCH_AVR32
  74. depends on !ADK_TARGET_ARCH_CSKY
  75. depends on !ADK_TARGET_ARCH_HPPA
  76. depends on !ADK_TARGET_ARCH_METAG
  77. depends on !ADK_TARGET_ARCH_NDS32
  78. depends on !ADK_TARGET_ARCH_OR1K
  79. depends on !ADK_TARGET_ARCH_LOONGARCH
  80. config ADK_TOOLCHAIN_GCC_ARC
  81. bool "arc-2023.09"
  82. depends on ADK_TARGET_ARCH_ARC
  83. config ADK_TOOLCHAIN_GCC_AVR32
  84. bool "4.4.7-avr32"
  85. depends on ADK_TARGET_ARCH_AVR32
  86. config ADK_TOOLCHAIN_GCC_LM32
  87. bool "4.5.4-lm32"
  88. depends on ADK_TARGET_ARCH_LM32
  89. config ADK_TOOLCHAIN_GCC_METAG
  90. bool "4.2.4-metag"
  91. depends on ADK_TARGET_ARCH_METAG
  92. config ADK_TOOLCHAIN_GCC_KVX
  93. bool "coolidge"
  94. depends on ADK_TARGET_ARCH_KVX
  95. endchoice