Config.in.compiler 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  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_6 if ADK_TARGET_CPU_SH_J2
  21. default ADK_TOOLCHAIN_GCC_7
  22. config ADK_TOOLCHAIN_GCC_GIT
  23. bool "git"
  24. depends on !ADK_TARGET_ARCH_AVR32
  25. depends on !ADK_TARGET_ARCH_CSKY
  26. depends on !ADK_TARGET_ARCH_METAG
  27. depends on !ADK_TARGET_ARCH_NDS32
  28. depends on !ADK_TARGET_ARCH_OR1K
  29. depends on !ADK_TARGET_CPU_SH_J2
  30. config ADK_TOOLCHAIN_GCC_7
  31. bool "7.2.0"
  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_6
  39. bool "6.3.0"
  40. depends on ADK_TARGET_CPU_SH_J2
  41. config ADK_TOOLCHAIN_GCC_CSKY
  42. bool "csky"
  43. depends on ADK_TARGET_ARCH_CSKY
  44. config ADK_TOOLCHAIN_GCC_OR1K
  45. bool "or1k"
  46. depends on ADK_TARGET_ARCH_OR1K
  47. config ADK_TOOLCHAIN_GCC_NDS32
  48. bool "4.9.4-nds32"
  49. depends on ADK_TARGET_ARCH_NDS32
  50. config ADK_TOOLCHAIN_GCC_ARC
  51. bool "arc-2017.09-release"
  52. depends on ADK_TARGET_ARCH_ARC
  53. config ADK_TOOLCHAIN_GCC_4_4
  54. bool "4.4.7"
  55. depends on ADK_TARGET_ARCH_AVR32
  56. config ADK_TOOLCHAIN_GCC_4_2
  57. bool "4.2.4"
  58. select ADK_TOOLCHAIN_GCC_OLD
  59. depends on ADK_TARGET_ARCH_METAG
  60. endchoice
  61. config ADK_TOOLCHAIN_GCC_OLD
  62. bool