1
0

Config.in.compiler 3.0 KB

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