Config.in.compiler 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  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_LIB_GLIBC && ADK_TARGET_ARCH_SH
  21. default ADK_TOOLCHAIN_GCC_4_9 if ADK_TARGET_SYSTEM_KINETIS_K70
  22. default ADK_TOOLCHAIN_GCC_5 if ADK_TARGET_ARCH_MICROBLAZE
  23. default ADK_TOOLCHAIN_GCC_7 if ADK_TARGET_ARCH_CRIS
  24. default ADK_TOOLCHAIN_GCC_6
  25. config ADK_TOOLCHAIN_GCC_GIT
  26. bool "git"
  27. depends on !ADK_TARGET_ARCH_AVR32
  28. depends on !ADK_TARGET_ARCH_METAG
  29. depends on !ADK_TARGET_ARCH_NDS32
  30. depends on !ADK_TARGET_ARCH_OR1K
  31. select ADK_DISABLE_HONOUR_CFLAGS
  32. config ADK_TOOLCHAIN_GCC_7
  33. bool "7.1.0"
  34. depends on !ADK_TARGET_ARCH_AVR32
  35. depends on !ADK_TARGET_ARCH_METAG
  36. depends on !ADK_TARGET_ARCH_NDS32
  37. depends on !ADK_TARGET_ARCH_OR1K
  38. select ADK_DISABLE_HONOUR_CFLAGS
  39. config ADK_TOOLCHAIN_GCC_6
  40. bool "6.3.0"
  41. depends on !ADK_TARGET_ARCH_ARC
  42. depends on !ADK_TARGET_ARCH_AVR32
  43. depends on !ADK_TARGET_ARCH_CRIS
  44. depends on !ADK_TARGET_ARCH_METAG
  45. depends on !ADK_TARGET_ARCH_NDS32
  46. depends on !ADK_TARGET_ARCH_OR1K
  47. depends on !ADK_TARGET_ARCH_RISCV32
  48. depends on !ADK_TARGET_ARCH_RISCV64
  49. select ADK_DISABLE_HONOUR_CFLAGS
  50. config ADK_TOOLCHAIN_GCC_5
  51. bool "5.4.0"
  52. depends on !ADK_TARGET_ARCH_ARC
  53. depends on !ADK_TARGET_ARCH_AVR32
  54. depends on !ADK_TARGET_ARCH_BFIN
  55. depends on !ADK_TARGET_ARCH_C6X
  56. depends on !ADK_TARGET_ARCH_CR16
  57. depends on !ADK_TARGET_ARCH_FRV
  58. depends on !ADK_TARGET_ARCH_H8300
  59. depends on !ADK_TARGET_ARCH_M32R
  60. depends on !ADK_TARGET_ARCH_METAG
  61. depends on !ADK_TARGET_ARCH_NDS32
  62. depends on !ADK_TARGET_ARCH_NIOS2
  63. depends on !ADK_TARGET_ARCH_OR1K
  64. depends on !ADK_TARGET_ARCH_LM32
  65. depends on !ADK_TARGET_ARCH_RISCV32
  66. depends on !ADK_TARGET_ARCH_RISCV64
  67. depends on !ADK_TARGET_SYSTEM_KINETIS_K70
  68. depends on !(ADK_TARGET_LIB_GLIBC && ADK_TARGET_ARCH_SH)
  69. depends on !ADK_TARGET_CPU_MIPS_MIPS32R6
  70. depends on !ADK_TARGET_CPU_MIPS64_MIPS64R6
  71. depends on !ADK_TARGET_SYSTEM_NUMATO_MIMASV2
  72. config ADK_TOOLCHAIN_GCC_4_9
  73. bool "4.9.4"
  74. depends on !ADK_TARGET_ARCH_ARC
  75. depends on !ADK_TARGET_ARCH_AVR32
  76. depends on !ADK_TARGET_ARCH_BFIN
  77. depends on !ADK_TARGET_ARCH_C6X
  78. depends on !ADK_TARGET_ARCH_CR16
  79. depends on !ADK_TARGET_ARCH_H8300
  80. depends on !ADK_TARGET_ARCH_METAG
  81. depends on !ADK_TARGET_ARCH_NDS32
  82. depends on !ADK_TARGET_ARCH_NIOS2
  83. depends on !ADK_TARGET_ARCH_OR1K
  84. depends on !ADK_TARGET_ARCH_TILE
  85. depends on !ADK_TARGET_ARCH_RISCV32
  86. depends on !ADK_TARGET_ARCH_RISCV64
  87. depends on !ADK_TARGET_CPU_MIPS_MIPS32R6
  88. depends on !ADK_TARGET_CPU_MIPS64_MIPS64R6
  89. depends on !ADK_TARGET_SYSTEM_NUMATO_MIMASV2
  90. config ADK_TOOLCHAIN_GCC_OR1K
  91. bool "or1k"
  92. select ADK_DISABLE_HONOUR_CFLAGS
  93. depends on ADK_TARGET_ARCH_OR1K
  94. config ADK_TOOLCHAIN_GCC_NDS32
  95. bool "4.9.3-nds32"
  96. select ADK_DISABLE_HONOUR_CFLAGS
  97. depends on ADK_TARGET_ARCH_NDS32
  98. config ADK_TOOLCHAIN_GCC_ARC
  99. bool "arc-2017.03-release"
  100. select ADK_DISABLE_HONOUR_CFLAGS
  101. depends on ADK_TARGET_ARCH_ARC
  102. config ADK_TOOLCHAIN_GCC_4_4
  103. bool "4.4.7"
  104. depends on ADK_TARGET_ARCH_AVR32
  105. config ADK_TOOLCHAIN_GCC_4_2
  106. bool "4.2.4"
  107. select ADK_DISABLE_HONOUR_CFLAGS
  108. select ADK_TOOLCHAIN_GCC_OLD
  109. depends on ADK_TARGET_ARCH_METAG
  110. endchoice
  111. config ADK_TOOLCHAIN_GCC_OLD
  112. bool