Config.in.compiler 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  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_10
  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_10
  28. bool "10.3.0"
  29. depends on !ADK_TARGET_ARCH_AVR32
  30. depends on !ADK_TARGET_ARCH_METAG
  31. depends on !ADK_TARGET_ARCH_NDS32
  32. config ADK_TOOLCHAIN_GCC_9
  33. bool "9.3.0"
  34. depends on !ADK_TARGET_ARCH_ARC
  35. depends on !ADK_TARGET_ARCH_AVR32
  36. depends on !ADK_TARGET_ARCH_METAG
  37. depends on !ADK_TARGET_ARCH_NDS32
  38. depends on !ADK_TARGET_CPU_ARM_ARM11MPCORE
  39. depends on !ADK_TARGET_CPU_ARM_CORTEX_A53
  40. config ADK_TOOLCHAIN_GCC_8
  41. bool "8.4.0"
  42. depends on !ADK_TARGET_ARCH_ARC
  43. depends on !ADK_TARGET_ARCH_AVR32
  44. depends on !ADK_TARGET_ARCH_CSKY
  45. depends on !ADK_TARGET_ARCH_HPPA
  46. depends on !ADK_TARGET_ARCH_METAG
  47. depends on !ADK_TARGET_ARCH_NDS32
  48. depends on !ADK_TARGET_ARCH_OR1K
  49. depends on !ADK_TARGET_CPU_ARM_ARM11MPCORE
  50. depends on !ADK_TARGET_CPU_ARM_CORTEX_A53
  51. config ADK_TOOLCHAIN_GCC_7
  52. bool "7.5.0"
  53. depends on !ADK_TARGET_ARCH_ARC
  54. depends on !ADK_TARGET_ARCH_AVR32
  55. depends on !ADK_TARGET_ARCH_CSKY
  56. depends on !ADK_TARGET_ARCH_HPPA
  57. depends on !ADK_TARGET_ARCH_METAG
  58. depends on !ADK_TARGET_ARCH_NDS32
  59. depends on !ADK_TARGET_ARCH_OR1K
  60. config ADK_TOOLCHAIN_GCC_ARC
  61. bool "arc-2020.09"
  62. depends on ADK_TARGET_ARCH_ARC
  63. config ADK_TOOLCHAIN_GCC_AVR32
  64. bool "4.4.7-avr32"
  65. depends on ADK_TARGET_ARCH_AVR32
  66. config ADK_TOOLCHAIN_GCC_METAG
  67. bool "4.2.4-metag"
  68. depends on ADK_TARGET_ARCH_METAG
  69. config ADK_TOOLCHAIN_GCC_KVX
  70. bool "coolidge"
  71. depends on ADK_TARGET_ARCH_KVX
  72. config ADK_TOOLCHAIN_GCC_LM32
  73. bool "4.5.4-lm32"
  74. depends on ADK_TARGET_ARCH_LM32
  75. config ADK_TOOLCHAIN_GCC_NDS32
  76. bool "nds32-6.3.0-open"
  77. depends on ADK_TARGET_ARCH_NDS32
  78. endchoice