Config.in.compiler 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  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_LM32 if ADK_TARGET_ARCH_LM32
  26. default ADK_TOOLCHAIN_GCC_METAG if ADK_TARGET_ARCH_METAG
  27. default ADK_TOOLCHAIN_GCC_NDS32 if ADK_TARGET_ARCH_NDS32
  28. default ADK_TOOLCHAIN_GCC_7 if ADK_TARGET_CPU_ARM_ARM11MPCORE
  29. default ADK_TOOLCHAIN_GCC_7 if ADK_TARGET_CPU_ARM_CORTEX_A53
  30. default ADK_TOOLCHAIN_GCC_8
  31. config ADK_TOOLCHAIN_GCC_GIT
  32. bool "git"
  33. depends on !ADK_TARGET_ARCH_AVR32
  34. depends on !ADK_TARGET_ARCH_METAG
  35. depends on !ADK_TARGET_ARCH_NDS32
  36. config ADK_TOOLCHAIN_GCC_9
  37. bool "9.2.0"
  38. depends on !ADK_TARGET_ARCH_ARC
  39. depends on !ADK_TARGET_ARCH_AVR32
  40. depends on !ADK_TARGET_ARCH_METAG
  41. depends on !ADK_TARGET_ARCH_NDS32
  42. depends on !ADK_TARGET_CPU_ARM_ARM11MPCORE
  43. depends on !ADK_TARGET_CPU_ARM_CORTEX_A53
  44. config ADK_TOOLCHAIN_GCC_8
  45. bool "8.3.0"
  46. depends on !ADK_TARGET_ARCH_ARC
  47. depends on !ADK_TARGET_ARCH_AVR32
  48. depends on !ADK_TARGET_ARCH_CSKY
  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.4.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_METAG
  60. depends on !ADK_TARGET_ARCH_NDS32
  61. depends on !ADK_TARGET_ARCH_OR1K
  62. config ADK_TOOLCHAIN_GCC_ARC
  63. bool "arc-2018.03-release"
  64. depends on ADK_TARGET_ARCH_ARC
  65. config ADK_TOOLCHAIN_GCC_AVR32
  66. bool "4.4.7-avr32"
  67. depends on ADK_TARGET_ARCH_AVR32
  68. config ADK_TOOLCHAIN_GCC_METAG
  69. bool "4.2.4-metag"
  70. depends on ADK_TARGET_ARCH_METAG
  71. config ADK_TOOLCHAIN_GCC_LM32
  72. bool "4.5.2"
  73. depends on ADK_TARGET_ARCH_LM32
  74. config ADK_TOOLCHAIN_GCC_NDS32
  75. bool "nds32-6.3.0-open"
  76. depends on ADK_TARGET_ARCH_NDS32
  77. endchoice