Config.in.compiler 2.2 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_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_4_9 if ADK_TARGET_ARCH_LM32 && !ADK_TARGET_LIB_NEWLIB
  20. default ADK_TOOLCHAIN_GCC_4_9 if ADK_TARGET_SYSTEM_KINETIS_K70
  21. default ADK_TOOLCHAIN_GCC_6 if ADK_TARGET_CPU_SH_J2
  22. default ADK_TOOLCHAIN_GCC_7
  23. config ADK_TOOLCHAIN_GCC_GIT
  24. bool "git"
  25. depends on !ADK_TARGET_ARCH_AVR32
  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. select ADK_DISABLE_HONOUR_CFLAGS
  31. config ADK_TOOLCHAIN_GCC_7
  32. bool "7.1.0"
  33. depends on !ADK_TARGET_ARCH_AVR32
  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. select ADK_DISABLE_HONOUR_CFLAGS
  39. config ADK_TOOLCHAIN_GCC_6
  40. bool "6.3.0"
  41. depends on ADK_TARGET_CPU_SH_J2
  42. select ADK_DISABLE_HONOUR_CFLAGS
  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_OR1K
  48. bool "or1k"
  49. select ADK_DISABLE_HONOUR_CFLAGS
  50. depends on ADK_TARGET_ARCH_OR1K
  51. config ADK_TOOLCHAIN_GCC_NDS32
  52. bool "4.9.3-nds32"
  53. select ADK_DISABLE_HONOUR_CFLAGS
  54. depends on ADK_TARGET_ARCH_NDS32
  55. config ADK_TOOLCHAIN_GCC_ARC
  56. bool "arc-2017.03-release"
  57. select ADK_DISABLE_HONOUR_CFLAGS
  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_DISABLE_HONOUR_CFLAGS
  65. select ADK_TOOLCHAIN_GCC_OLD
  66. depends on ADK_TARGET_ARCH_METAG
  67. endchoice
  68. config ADK_TOOLCHAIN_GCC_OLD
  69. bool