Config.in.compiler 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  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_ARC if ADK_TARGET_ARCH_ARC
  15. default ADK_TOOLCHAIN_GCC_CSKY if ADK_TARGET_ARCH_CSKY
  16. default ADK_TOOLCHAIN_GCC_OR1K if ADK_TARGET_ARCH_OR1K
  17. default ADK_TOOLCHAIN_GCC_NDS32 if ADK_TARGET_ARCH_NDS32
  18. default ADK_TOOLCHAIN_GCC_4_2 if ADK_TARGET_ARCH_METAG
  19. default ADK_TOOLCHAIN_GCC_4_4 if ADK_TARGET_ARCH_AVR32
  20. default ADK_TOOLCHAIN_GCC_4_9 if ADK_TARGET_ARCH_LM32 && !ADK_TARGET_LIB_NEWLIB
  21. default ADK_TOOLCHAIN_GCC_4_9 if ADK_TARGET_SYSTEM_KINETIS_K70
  22. default ADK_TOOLCHAIN_GCC_6 if ADK_TARGET_CPU_SH_J2
  23. default ADK_TOOLCHAIN_GCC_7
  24. config ADK_TOOLCHAIN_GCC_GIT
  25. bool "git"
  26. depends on !ADK_TARGET_ARCH_AVR32
  27. depends on !ADK_TARGET_ARCH_CSKY
  28. depends on !ADK_TARGET_ARCH_METAG
  29. depends on !ADK_TARGET_ARCH_NDS32
  30. depends on !ADK_TARGET_ARCH_OR1K
  31. depends on !ADK_TARGET_CPU_SH_J2
  32. config ADK_TOOLCHAIN_GCC_7
  33. bool "7.2.0"
  34. depends on !ADK_TARGET_ARCH_AVR32
  35. depends on !ADK_TARGET_ARCH_CSKY
  36. depends on !ADK_TARGET_ARCH_METAG
  37. depends on !ADK_TARGET_ARCH_NDS32
  38. depends on !ADK_TARGET_ARCH_OR1K
  39. depends on !ADK_TARGET_CPU_SH_J2
  40. config ADK_TOOLCHAIN_GCC_6
  41. bool "6.3.0"
  42. depends on ADK_TARGET_CPU_SH_J2
  43. config ADK_TOOLCHAIN_GCC_4_9
  44. bool "4.9.4"
  45. depends on ADK_TARGET_ARCH_LM32
  46. depends on ADK_TARGET_SYSTEM_KINETIS_K70
  47. config ADK_TOOLCHAIN_GCC_CSKY
  48. bool "csky"
  49. depends on ADK_TARGET_ARCH_CSKY
  50. config ADK_TOOLCHAIN_GCC_OR1K
  51. bool "or1k"
  52. depends on ADK_TARGET_ARCH_OR1K
  53. config ADK_TOOLCHAIN_GCC_NDS32
  54. bool "4.9.3-nds32"
  55. depends on ADK_TARGET_ARCH_NDS32
  56. config ADK_TOOLCHAIN_GCC_ARC
  57. bool "arc-2016.09-release"
  58. depends on ADK_TARGET_ARCH_ARC
  59. config ADK_TOOLCHAIN_GCC_4_4
  60. bool "4.4.7"
  61. depends on ADK_TARGET_ARCH_AVR32
  62. config ADK_TOOLCHAIN_GCC_4_2
  63. bool "4.2.4"
  64. select ADK_TOOLCHAIN_GCC_OLD
  65. depends on ADK_TARGET_ARCH_METAG
  66. endchoice
  67. config ADK_TOOLCHAIN_GCC_OLD
  68. bool