Config.in.compiler 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  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 "GCC version"
  13. depends on ADK_BUILD_COMPILER_GCC
  14. default ADK_TOOLCHAIN_GCC_CSKY if ADK_TARGET_ARCH_CSKY
  15. default ADK_TOOLCHAIN_GCC_OR1K if ADK_TARGET_ARCH_OR1K
  16. default ADK_TOOLCHAIN_GCC_NDS32 if ADK_TARGET_ARCH_NDS32
  17. default ADK_TOOLCHAIN_GCC_4_2 if ADK_TARGET_ARCH_METAG
  18. default ADK_TOOLCHAIN_GCC_4_4 if ADK_TARGET_ARCH_AVR32
  19. default ADK_TOOLCHAIN_GCC_6 if ADK_TARGET_CPU_SH_J2
  20. default ADK_TOOLCHAIN_GCC_7
  21. config ADK_TOOLCHAIN_GCC_GIT
  22. bool "git"
  23. depends on !ADK_TARGET_ARCH_AVR32
  24. depends on !ADK_TARGET_ARCH_CSKY
  25. depends on !ADK_TARGET_ARCH_METAG
  26. depends on !ADK_TARGET_ARCH_NDS32
  27. depends on !ADK_TARGET_ARCH_OR1K
  28. depends on !ADK_TARGET_CPU_SH_J2
  29. config ADK_TOOLCHAIN_GCC_7
  30. bool "7.2.0"
  31. depends on !ADK_TARGET_ARCH_AVR32
  32. depends on !ADK_TARGET_ARCH_CSKY
  33. depends on !ADK_TARGET_ARCH_METAG
  34. depends on !ADK_TARGET_ARCH_NDS32
  35. depends on !ADK_TARGET_ARCH_OR1K
  36. depends on !ADK_TARGET_CPU_SH_J2
  37. config ADK_TOOLCHAIN_GCC_6
  38. bool "6.3.0"
  39. depends on ADK_TARGET_CPU_SH_J2
  40. config ADK_TOOLCHAIN_GCC_CSKY
  41. bool "csky"
  42. depends on ADK_TARGET_ARCH_CSKY
  43. config ADK_TOOLCHAIN_GCC_OR1K
  44. bool "or1k"
  45. depends on ADK_TARGET_ARCH_OR1K
  46. config ADK_TOOLCHAIN_GCC_NDS32
  47. bool "4.9.4-nds32"
  48. depends on ADK_TARGET_ARCH_NDS32
  49. config ADK_TOOLCHAIN_GCC_4_4
  50. bool "4.4.7"
  51. depends on ADK_TARGET_ARCH_AVR32
  52. config ADK_TOOLCHAIN_GCC_4_2
  53. bool "4.2.4"
  54. select ADK_TOOLCHAIN_GCC_OLD
  55. depends on ADK_TARGET_ARCH_METAG
  56. endchoice
  57. config ADK_TOOLCHAIN_GCC_OLD
  58. bool