Config.in.compiler 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  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_METAG if ADK_TARGET_ARCH_METAG
  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_ARCH_H8300 # ICE
  18. default ADK_TOOLCHAIN_GCC_10 if ADK_TARGET_CPU_SH_J2 # j2.patch
  19. default ADK_TOOLCHAIN_GCC_11
  20. config ADK_TOOLCHAIN_GCC_GIT
  21. bool "git"
  22. depends on !ADK_TARGET_ARCH_AVR32
  23. depends on !ADK_TARGET_ARCH_METAG
  24. depends on !ADK_TARGET_ARCH_NDS32
  25. config ADK_TOOLCHAIN_GCC_12
  26. bool "12.2.0"
  27. depends on !ADK_TARGET_ARCH_AVR32
  28. depends on !ADK_TARGET_ARCH_METAG
  29. config ADK_TOOLCHAIN_GCC_11
  30. bool "11.3.0"
  31. depends on !ADK_TARGET_ARCH_AVR32
  32. depends on !ADK_TARGET_ARCH_METAG
  33. depends on !ADK_TARGET_ARCH_LOONGARCH
  34. config ADK_TOOLCHAIN_GCC_10
  35. bool "10.4.0"
  36. depends on !ADK_TARGET_ARCH_AVR32
  37. depends on !ADK_TARGET_ARCH_METAG
  38. depends on !ADK_TARGET_ARCH_NDS32
  39. depends on !ADK_TARGET_ARCH_LOONGARCH
  40. config ADK_TOOLCHAIN_GCC_9
  41. bool "9.5.0"
  42. depends on !ADK_TARGET_ARCH_ARC
  43. depends on !ADK_TARGET_ARCH_AVR32
  44. depends on !ADK_TARGET_ARCH_METAG
  45. depends on !ADK_TARGET_ARCH_NDS32
  46. depends on !ADK_TARGET_ARCH_LOONGARCH
  47. config ADK_TOOLCHAIN_GCC_8
  48. bool "8.5.0"
  49. depends on !ADK_TARGET_ARCH_ARC
  50. depends on !ADK_TARGET_ARCH_AVR32
  51. depends on !ADK_TARGET_ARCH_CSKY
  52. depends on !ADK_TARGET_ARCH_HPPA
  53. depends on !ADK_TARGET_ARCH_METAG
  54. depends on !ADK_TARGET_ARCH_NDS32
  55. depends on !ADK_TARGET_ARCH_OR1K
  56. depends on !ADK_TARGET_ARCH_LOONGARCH
  57. config ADK_TOOLCHAIN_GCC_7
  58. bool "7.5.0"
  59. depends on !ADK_TARGET_ARCH_ARC
  60. depends on !ADK_TARGET_ARCH_AVR32
  61. depends on !ADK_TARGET_ARCH_CSKY
  62. depends on !ADK_TARGET_ARCH_HPPA
  63. depends on !ADK_TARGET_ARCH_METAG
  64. depends on !ADK_TARGET_ARCH_NDS32
  65. depends on !ADK_TARGET_ARCH_OR1K
  66. depends on !ADK_TARGET_ARCH_LOONGARCH
  67. config ADK_TOOLCHAIN_GCC_ARC
  68. bool "arc-2021.09"
  69. depends on ADK_TARGET_ARCH_ARC
  70. config ADK_TOOLCHAIN_GCC_AVR32
  71. bool "4.4.7-avr32"
  72. depends on ADK_TARGET_ARCH_AVR32
  73. config ADK_TOOLCHAIN_GCC_METAG
  74. bool "4.2.4-metag"
  75. depends on ADK_TARGET_ARCH_METAG
  76. config ADK_TOOLCHAIN_GCC_KVX
  77. bool "coolidge"
  78. depends on ADK_TARGET_ARCH_KVX
  79. endchoice