Config.in.compiler 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  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_LM32 if ADK_TARGET_ARCH_LM32
  13. default ADK_TOOLCHAIN_GCC_METAG if ADK_TARGET_ARCH_METAG
  14. default ADK_TOOLCHAIN_GCC_NDS32 if ADK_TARGET_ARCH_NDS32
  15. default ADK_TOOLCHAIN_GCC_7 if ADK_TARGET_CPU_ARM_ARM11MPCORE
  16. default ADK_TOOLCHAIN_GCC_7 if ADK_TARGET_CPU_ARM_CORTEX_A53
  17. default ADK_TOOLCHAIN_GCC_9 if ADK_TARGET_ARCH_ARC
  18. default ADK_TOOLCHAIN_GCC_9 if ADK_TARGET_ARCH_CSKY
  19. default ADK_TOOLCHAIN_GCC_9 if ADK_TARGET_ARCH_HPPA
  20. default ADK_TOOLCHAIN_GCC_9 if ADK_TARGET_ARCH_OR1K
  21. default ADK_TOOLCHAIN_GCC_8
  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.2.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_AVR32
  35. depends on !ADK_TARGET_ARCH_METAG
  36. depends on !ADK_TARGET_ARCH_NDS32
  37. depends on !ADK_TARGET_CPU_ARM_ARM11MPCORE
  38. depends on !ADK_TARGET_CPU_ARM_CORTEX_A53
  39. config ADK_TOOLCHAIN_GCC_8
  40. bool "8.4.0"
  41. depends on !ADK_TARGET_ARCH_ARC
  42. depends on !ADK_TARGET_ARCH_AVR32
  43. depends on !ADK_TARGET_ARCH_CSKY
  44. depends on !ADK_TARGET_ARCH_HPPA
  45. depends on !ADK_TARGET_ARCH_METAG
  46. depends on !ADK_TARGET_ARCH_NDS32
  47. depends on !ADK_TARGET_ARCH_OR1K
  48. depends on !ADK_TARGET_CPU_ARM_ARM11MPCORE
  49. depends on !ADK_TARGET_CPU_ARM_CORTEX_A53
  50. config ADK_TOOLCHAIN_GCC_7
  51. bool "7.5.0"
  52. depends on !ADK_TARGET_ARCH_ARC
  53. depends on !ADK_TARGET_ARCH_AVR32
  54. depends on !ADK_TARGET_ARCH_CSKY
  55. depends on !ADK_TARGET_ARCH_HPPA
  56. depends on !ADK_TARGET_ARCH_METAG
  57. depends on !ADK_TARGET_ARCH_NDS32
  58. depends on !ADK_TARGET_ARCH_OR1K
  59. config ADK_TOOLCHAIN_GCC_AVR32
  60. bool "4.4.7-avr32"
  61. depends on ADK_TARGET_ARCH_AVR32
  62. config ADK_TOOLCHAIN_GCC_METAG
  63. bool "4.2.4-metag"
  64. depends on ADK_TARGET_ARCH_METAG
  65. config ADK_TOOLCHAIN_GCC_LM32
  66. bool "4.5.4-lm32"
  67. depends on ADK_TARGET_ARCH_LM32
  68. config ADK_TOOLCHAIN_GCC_NDS32
  69. bool "nds32-6.3.0-open"
  70. depends on ADK_TARGET_ARCH_NDS32
  71. endchoice