Config.in.compiler 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  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_5
  15. bool "5.0.1"
  16. endchoice
  17. config ADK_TOOLCHAIN_LLVM_VERSION
  18. string
  19. default "5.0.1" if ADK_TOOLCHAIN_LLVM_5
  20. choice
  21. prompt "GCC version"
  22. depends on ADK_BUILD_COMPILER_GCC
  23. default ADK_TOOLCHAIN_GCC_AVR32 if ADK_TARGET_ARCH_AVR32
  24. default ADK_TOOLCHAIN_GCC_CSKY if ADK_TARGET_ARCH_CSKY
  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_6 if ADK_TARGET_CPU_SH_J2
  29. default ADK_TOOLCHAIN_GCC_7
  30. config ADK_TOOLCHAIN_GCC_GIT
  31. bool "git"
  32. depends on !ADK_TARGET_ARCH_AVR32
  33. depends on !ADK_TARGET_ARCH_CSKY
  34. depends on !ADK_TARGET_ARCH_METAG
  35. depends on !ADK_TARGET_ARCH_NDS32
  36. depends on !ADK_TARGET_ARCH_OR1K
  37. depends on !ADK_TARGET_CPU_SH_J2
  38. config ADK_TOOLCHAIN_GCC_7
  39. bool "7.3.0"
  40. depends on !ADK_TARGET_ARCH_AVR32
  41. depends on !ADK_TARGET_ARCH_CSKY
  42. depends on !ADK_TARGET_ARCH_METAG
  43. depends on !ADK_TARGET_ARCH_NDS32
  44. depends on !ADK_TARGET_ARCH_OR1K
  45. depends on !ADK_TARGET_CPU_SH_J2
  46. config ADK_TOOLCHAIN_GCC_6
  47. bool "6.3.0"
  48. depends on ADK_TARGET_CPU_SH_J2
  49. config ADK_TOOLCHAIN_GCC_AVR32
  50. bool "4.4.7-avr32"
  51. depends on ADK_TARGET_ARCH_AVR32
  52. config ADK_TOOLCHAIN_GCC_CSKY
  53. bool "6.3.0-csky"
  54. depends on ADK_TARGET_ARCH_CSKY
  55. config ADK_TOOLCHAIN_GCC_METAG
  56. bool "4.2.4-metag"
  57. depends on ADK_TARGET_ARCH_METAG
  58. config ADK_TOOLCHAIN_GCC_NDS32
  59. bool "4.9.4-nds32"
  60. depends on ADK_TARGET_ARCH_NDS32
  61. config ADK_TOOLCHAIN_GCC_OR1K
  62. bool "5.4.0-or1k"
  63. depends on ADK_TARGET_ARCH_OR1K
  64. endchoice