Config.in.compiler 2.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  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_NDS32 if ADK_TARGET_ARCH_NDS32
  17. default ADK_TOOLCHAIN_GCC_7 if ADK_TARGET_CPU_ARM_ARM11MPCORE
  18. default ADK_TOOLCHAIN_GCC_7 if ADK_TARGET_CPU_ARM_CORTEX_A53
  19. default ADK_TOOLCHAIN_GCC_7 if ADK_TARGET_ARCH_M68K
  20. default ADK_TOOLCHAIN_GCC_7 if ADK_TARGET_ARCH_SPARC
  21. default ADK_TOOLCHAIN_GCC_9 if ADK_TARGET_ARCH_CSKY
  22. default ADK_TOOLCHAIN_GCC_9 if ADK_TARGET_ARCH_HPPA
  23. default ADK_TOOLCHAIN_GCC_9 if ADK_TARGET_ARCH_OR1K
  24. default ADK_TOOLCHAIN_GCC_8
  25. config ADK_TOOLCHAIN_GCC_GIT
  26. bool "git"
  27. depends on !ADK_TARGET_ARCH_AVR32
  28. depends on !ADK_TARGET_ARCH_METAG
  29. depends on !ADK_TARGET_ARCH_NDS32
  30. config ADK_TOOLCHAIN_GCC_10
  31. bool "10.2.0"
  32. depends on !ADK_TARGET_ARCH_AVR32
  33. depends on !ADK_TARGET_ARCH_METAG
  34. depends on !ADK_TARGET_ARCH_NDS32
  35. config ADK_TOOLCHAIN_GCC_9
  36. bool "9.3.0"
  37. depends on !ADK_TARGET_ARCH_ARC
  38. depends on !ADK_TARGET_ARCH_AVR32
  39. depends on !ADK_TARGET_ARCH_METAG
  40. depends on !ADK_TARGET_ARCH_NDS32
  41. depends on !ADK_TARGET_CPU_ARM_ARM11MPCORE
  42. depends on !ADK_TARGET_CPU_ARM_CORTEX_A53
  43. config ADK_TOOLCHAIN_GCC_8
  44. bool "8.4.0"
  45. depends on !ADK_TARGET_ARCH_ARC
  46. depends on !ADK_TARGET_ARCH_AVR32
  47. depends on !ADK_TARGET_ARCH_CSKY
  48. depends on !ADK_TARGET_ARCH_HPPA
  49. depends on !ADK_TARGET_ARCH_METAG
  50. depends on !ADK_TARGET_ARCH_NDS32
  51. depends on !ADK_TARGET_ARCH_OR1K
  52. depends on !ADK_TARGET_CPU_ARM_ARM11MPCORE
  53. depends on !ADK_TARGET_CPU_ARM_CORTEX_A53
  54. config ADK_TOOLCHAIN_GCC_7
  55. bool "7.5.0"
  56. depends on !ADK_TARGET_ARCH_ARC
  57. depends on !ADK_TARGET_ARCH_AVR32
  58. depends on !ADK_TARGET_ARCH_CSKY
  59. depends on !ADK_TARGET_ARCH_HPPA
  60. depends on !ADK_TARGET_ARCH_METAG
  61. depends on !ADK_TARGET_ARCH_NDS32
  62. depends on !ADK_TARGET_ARCH_OR1K
  63. config ADK_TOOLCHAIN_GCC_ARC
  64. bool "arc-2020.09"
  65. depends on ADK_TARGET_ARCH_ARC
  66. config ADK_TOOLCHAIN_GCC_AVR32
  67. bool "4.4.7-avr32"
  68. depends on ADK_TARGET_ARCH_AVR32
  69. config ADK_TOOLCHAIN_GCC_METAG
  70. bool "4.2.4-metag"
  71. depends on ADK_TARGET_ARCH_METAG
  72. config ADK_TOOLCHAIN_GCC_KVX
  73. bool "coolidge"
  74. depends on ADK_TARGET_ARCH_KVX
  75. config ADK_TOOLCHAIN_GCC_LM32
  76. bool "4.5.4-lm32"
  77. depends on ADK_TARGET_ARCH_LM32
  78. config ADK_TOOLCHAIN_GCC_NDS32
  79. bool "nds32-6.3.0-open"
  80. depends on ADK_TARGET_ARCH_NDS32
  81. endchoice