1
0

Config.in.compiler 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  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_4_2_4 if ADK_TARGET_ARCH_METAG
  16. default ADK_TOOLCHAIN_GCC_4_4_7 if ADK_TARGET_ARCH_AVR32
  17. default ADK_TOOLCHAIN_GCC_4_9_3 if ADK_TARGET_LIB_GLIBC && ADK_TARGET_ARCH_SH
  18. default ADK_TOOLCHAIN_GCC_4_9_3 if ADK_TARGET_SYSTEM_KINETIS_K70
  19. default ADK_TOOLCHAIN_GCC_5_3_OR1K if ADK_TARGET_ARCH_OR1K
  20. default ADK_TOOLCHAIN_GCC_6_1_0 if ADK_TARGET_ARCH_XTENSA
  21. default ADK_TOOLCHAIN_GCC_6_1_0 if ADK_TARGET_ARCH_BFIN
  22. default ADK_TOOLCHAIN_GCC_6_1_0 if ADK_TARGET_ARCH_C6X
  23. default ADK_TOOLCHAIN_GCC_5_4_0
  24. config ADK_TOOLCHAIN_GCC_GIT
  25. bool "git"
  26. depends on !ADK_TARGET_ARCH_ARC
  27. depends on !ADK_TARGET_ARCH_AVR32
  28. depends on !ADK_TARGET_ARCH_METAG
  29. depends on !ADK_TARGET_ARCH_OR1K
  30. select ADK_DISABLE_HONOUR_CFLAGS
  31. config ADK_TOOLCHAIN_GCC_6_1_0
  32. bool "6.1.0"
  33. depends on !ADK_TARGET_ARCH_ARC
  34. depends on !ADK_TARGET_ARCH_AVR32
  35. depends on !ADK_TARGET_ARCH_METAG
  36. depends on !ADK_TARGET_ARCH_OR1K
  37. select ADK_DISABLE_HONOUR_CFLAGS
  38. config ADK_TOOLCHAIN_GCC_5_4_0
  39. bool "5.4.0"
  40. depends on !ADK_TARGET_ARCH_ARC
  41. depends on !ADK_TARGET_ARCH_AVR32
  42. depends on !ADK_TARGET_ARCH_BFIN
  43. depends on !ADK_TARGET_ARCH_C6X
  44. depends on !ADK_TARGET_ARCH_FRV
  45. depends on !ADK_TARGET_ARCH_H8300
  46. depends on !ADK_TARGET_ARCH_M32R
  47. depends on !ADK_TARGET_ARCH_METAG
  48. depends on !ADK_TARGET_ARCH_OR1K
  49. depends on !ADK_TARGET_SYSTEM_KINETIS_K70
  50. depends on !(ADK_TARGET_LIB_GLIBC && ADK_TARGET_ARCH_SH)
  51. config ADK_TOOLCHAIN_GCC_4_9_3
  52. bool "4.9.3"
  53. depends on !ADK_TARGET_ARCH_ARC
  54. depends on !ADK_TARGET_ARCH_AVR32
  55. depends on !ADK_TARGET_ARCH_BFIN
  56. depends on !ADK_TARGET_ARCH_C6X
  57. depends on !ADK_TARGET_ARCH_H8300
  58. depends on !ADK_TARGET_ARCH_METAG
  59. depends on !ADK_TARGET_ARCH_OR1K
  60. depends on !ADK_TARGET_ARCH_TILE
  61. config ADK_TOOLCHAIN_GCC_5_3_OR1K
  62. bool "5.3-or1k"
  63. select ADK_DISABLE_HONOUR_CFLAGS
  64. depends on ADK_TARGET_ARCH_OR1K
  65. config ADK_TOOLCHAIN_GCC_ARC
  66. bool "arc"
  67. depends on ADK_TARGET_ARCH_ARC
  68. select ADK_DISABLE_HONOUR_CFLAGS
  69. config ADK_TOOLCHAIN_GCC_4_4_7
  70. bool "4.4.7"
  71. depends on ADK_TARGET_ARCH_AVR32
  72. config ADK_TOOLCHAIN_GCC_4_2_4
  73. bool "4.2.4"
  74. depends on ADK_TARGET_ARCH_METAG
  75. select ADK_DISABLE_HONOUR_CFLAGS
  76. select ADK_TOOLCHAIN_GCC_OLD
  77. endchoice
  78. config ADK_TOOLCHAIN_GCC_OLD
  79. bool