Config.in.compiler 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  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_9 if ADK_TARGET_ARCH_BFIN && ADK_TARGET_BINFMT_FDPIC
  17. default ADK_TOOLCHAIN_GCC_10 if ADK_TARGET_ARCH_CRIS
  18. default ADK_TOOLCHAIN_GCC_11
  19. config ADK_TOOLCHAIN_GCC_GIT
  20. bool "git"
  21. depends on !ADK_TARGET_ARCH_AVR32
  22. depends on !ADK_TARGET_ARCH_METAG
  23. depends on !ADK_TARGET_ARCH_NDS32
  24. config ADK_TOOLCHAIN_GCC_11
  25. bool "11.2.0"
  26. depends on !ADK_TARGET_ARCH_AVR32
  27. depends on !ADK_TARGET_ARCH_METAG
  28. config ADK_TOOLCHAIN_GCC_10
  29. bool "10.3.0"
  30. depends on !ADK_TARGET_ARCH_AVR32
  31. depends on !ADK_TARGET_ARCH_METAG
  32. depends on !ADK_TARGET_ARCH_NDS32
  33. config ADK_TOOLCHAIN_GCC_9
  34. bool "9.4.0"
  35. depends on !ADK_TARGET_ARCH_ARC
  36. depends on !ADK_TARGET_ARCH_AVR32
  37. depends on !ADK_TARGET_ARCH_METAG
  38. depends on !ADK_TARGET_ARCH_NDS32
  39. config ADK_TOOLCHAIN_GCC_8
  40. bool "8.5.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. config ADK_TOOLCHAIN_GCC_7
  49. bool "7.5.0"
  50. depends on !ADK_TARGET_ARCH_ARC
  51. depends on !ADK_TARGET_ARCH_AVR32
  52. depends on !ADK_TARGET_ARCH_CSKY
  53. depends on !ADK_TARGET_ARCH_HPPA
  54. depends on !ADK_TARGET_ARCH_METAG
  55. depends on !ADK_TARGET_ARCH_NDS32
  56. depends on !ADK_TARGET_ARCH_OR1K
  57. config ADK_TOOLCHAIN_GCC_ARC
  58. bool "arc-2021.09"
  59. depends on ADK_TARGET_ARCH_ARC
  60. config ADK_TOOLCHAIN_GCC_AVR32
  61. bool "4.4.7-avr32"
  62. depends on ADK_TARGET_ARCH_AVR32
  63. config ADK_TOOLCHAIN_GCC_METAG
  64. bool "4.2.4-metag"
  65. depends on ADK_TARGET_ARCH_METAG
  66. config ADK_TOOLCHAIN_GCC_KVX
  67. bool "coolidge"
  68. depends on ADK_TARGET_ARCH_KVX
  69. config ADK_TOOLCHAIN_GCC_LM32
  70. bool "4.5.4-lm32"
  71. depends on ADK_TARGET_ARCH_LM32
  72. endchoice