Config.in.compiler 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  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. config ADK_BUILD_COMPILER_LLVM
  8. bool "llvm"
  9. depends on ADK_EXPERIMENTAL
  10. endchoice
  11. choice
  12. prompt "LLVM version"
  13. depends on ADK_BUILD_COMPILER_LLVM
  14. config ADK_TOOLCHAIN_LLVM
  15. bool "6.0.0"
  16. endchoice
  17. config ADK_TOOLCHAIN_LLVM_VERSION
  18. string
  19. default "6.0.0" if ADK_TOOLCHAIN_LLVM
  20. choice
  21. prompt "GCC version"
  22. depends on ADK_BUILD_COMPILER_GCC
  23. default ADK_TOOLCHAIN_GCC_ARC if ADK_TARGET_ARCH_ARC
  24. default ADK_TOOLCHAIN_GCC_AVR32 if ADK_TARGET_ARCH_AVR32
  25. default ADK_TOOLCHAIN_GCC_METAG if ADK_TARGET_ARCH_METAG
  26. default ADK_TOOLCHAIN_GCC_NDS32 if ADK_TARGET_ARCH_NDS32
  27. default ADK_TOOLCHAIN_GCC_OR1K if ADK_TARGET_ARCH_OR1K
  28. default ADK_TOOLCHAIN_GCC_8
  29. config ADK_TOOLCHAIN_GCC_GIT
  30. bool "git"
  31. depends on !ADK_TARGET_ARCH_AVR32
  32. depends on !ADK_TARGET_ARCH_METAG
  33. depends on !ADK_TARGET_ARCH_NDS32
  34. depends on !ADK_TARGET_ARCH_OR1K
  35. config ADK_TOOLCHAIN_GCC_9
  36. bool "9.2.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. config ADK_TOOLCHAIN_GCC_8
  42. bool "8.3.0"
  43. depends on !ADK_TARGET_ARCH_ARC
  44. depends on !ADK_TARGET_ARCH_AVR32
  45. depends on !ADK_TARGET_ARCH_CSKY
  46. depends on !ADK_TARGET_ARCH_METAG
  47. depends on !ADK_TARGET_ARCH_NDS32
  48. depends on !ADK_TARGET_ARCH_OR1K
  49. config ADK_TOOLCHAIN_GCC_7
  50. bool "7.4.0"
  51. depends on !ADK_TARGET_ARCH_ARC
  52. depends on !ADK_TARGET_ARCH_AVR32
  53. depends on !ADK_TARGET_ARCH_CSKY
  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-2018.03-release"
  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_NDS32
  67. bool "nds32-6.3.0-open"
  68. depends on ADK_TARGET_ARCH_NDS32
  69. config ADK_TOOLCHAIN_GCC_OR1K
  70. bool "5.4.0-or1k"
  71. depends on ADK_TARGET_ARCH_OR1K
  72. endchoice