Config.in.compiler 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  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_13 if ADK_TARGET_ARCH_LOONGARCH
  20. default ADK_TOOLCHAIN_GCC_12
  21. config ADK_TOOLCHAIN_GCC_GIT
  22. bool "git"
  23. depends on !ADK_TARGET_ARCH_AVR32
  24. depends on !ADK_TARGET_ARCH_METAG
  25. depends on !ADK_TARGET_ARCH_NDS32
  26. config ADK_TOOLCHAIN_GCC_13
  27. bool "13.2.0"
  28. depends on !ADK_TARGET_ARCH_AVR32
  29. depends on !ADK_TARGET_ARCH_METAG
  30. depends on !ADK_TARGET_ARCH_SPARC
  31. config ADK_TOOLCHAIN_GCC_12
  32. bool "12.3.0"
  33. depends on !ADK_TARGET_ARCH_AVR32
  34. depends on !ADK_TARGET_ARCH_METAG
  35. depends on !ADK_TARGET_ARCH_LOONGARCH
  36. depends on !ADK_TARGET_ARCH_SPARC
  37. config ADK_TOOLCHAIN_GCC_11
  38. bool "11.4.0"
  39. depends on !ADK_TARGET_ARCH_AVR32
  40. depends on !ADK_TARGET_ARCH_C6X
  41. depends on !ADK_TARGET_ARCH_METAG
  42. depends on !ADK_TARGET_ARCH_LOONGARCH
  43. config ADK_TOOLCHAIN_GCC_10
  44. bool "10.5.0"
  45. depends on !ADK_TARGET_ARCH_AVR32
  46. depends on !ADK_TARGET_ARCH_C6X
  47. depends on !ADK_TARGET_ARCH_METAG
  48. depends on !ADK_TARGET_ARCH_NDS32
  49. depends on !ADK_TARGET_ARCH_LOONGARCH
  50. config ADK_TOOLCHAIN_GCC_9
  51. bool "9.5.0"
  52. depends on !ADK_TARGET_ARCH_ARC
  53. depends on !ADK_TARGET_ARCH_AVR32
  54. depends on !ADK_TARGET_ARCH_C6X
  55. depends on !ADK_TARGET_ARCH_METAG
  56. depends on !ADK_TARGET_ARCH_NDS32
  57. depends on !ADK_TARGET_ARCH_LOONGARCH
  58. config ADK_TOOLCHAIN_GCC_8
  59. bool "8.5.0"
  60. depends on !ADK_TARGET_ARCH_ARC
  61. depends on !ADK_TARGET_ARCH_AVR32
  62. depends on !ADK_TARGET_ARCH_C6X
  63. depends on !ADK_TARGET_ARCH_CSKY
  64. depends on !ADK_TARGET_ARCH_HPPA
  65. depends on !ADK_TARGET_ARCH_METAG
  66. depends on !ADK_TARGET_ARCH_NDS32
  67. depends on !ADK_TARGET_ARCH_OR1K
  68. depends on !ADK_TARGET_ARCH_LOONGARCH
  69. config ADK_TOOLCHAIN_GCC_7
  70. bool "7.5.0"
  71. depends on !ADK_TARGET_ARCH_ARC
  72. depends on !ADK_TARGET_ARCH_AVR32
  73. depends on !ADK_TARGET_ARCH_CSKY
  74. depends on !ADK_TARGET_ARCH_HPPA
  75. depends on !ADK_TARGET_ARCH_METAG
  76. depends on !ADK_TARGET_ARCH_NDS32
  77. depends on !ADK_TARGET_ARCH_OR1K
  78. depends on !ADK_TARGET_ARCH_LOONGARCH
  79. config ADK_TOOLCHAIN_GCC_AVR32
  80. bool "4.4.7-avr32"
  81. depends on ADK_TARGET_ARCH_AVR32
  82. config ADK_TOOLCHAIN_GCC_METAG
  83. bool "4.2.4-metag"
  84. depends on ADK_TARGET_ARCH_METAG
  85. config ADK_TOOLCHAIN_GCC_KVX
  86. bool "coolidge"
  87. depends on ADK_TARGET_ARCH_KVX
  88. endchoice