Config.in.compiler 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  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_4_2 if ADK_TARGET_ARCH_METAG
  17. default ADK_TOOLCHAIN_GCC_4_4 if ADK_TARGET_ARCH_AVR32
  18. default ADK_TOOLCHAIN_GCC_4_9 if ADK_TARGET_LIB_GLIBC && ADK_TARGET_ARCH_SH
  19. default ADK_TOOLCHAIN_GCC_4_9 if ADK_TARGET_SYSTEM_KINETIS_K70
  20. default ADK_TOOLCHAIN_GCC_6 if ADK_TARGET_ARCH_XTENSA
  21. default ADK_TOOLCHAIN_GCC_6 if ADK_TARGET_ARCH_BFIN
  22. default ADK_TOOLCHAIN_GCC_6 if ADK_TARGET_ARCH_C6X
  23. default ADK_TOOLCHAIN_GCC_6 if ADK_TARGET_ARCH_CR16
  24. default ADK_TOOLCHAIN_GCC_6 if ADK_TARGET_ARCH_H8300
  25. default ADK_TOOLCHAIN_GCC_6 if ADK_TARGET_ARCH_FRV
  26. default ADK_TOOLCHAIN_GCC_6 if ADK_TARGET_ARCH_M32R
  27. default ADK_TOOLCHAIN_GCC_6 if ADK_TARGET_CPU_MIPS_MIPS32R6 || ADK_TARGET_CPU_MIPS64_MIPS64R6
  28. default ADK_TOOLCHAIN_GCC_5
  29. config ADK_TOOLCHAIN_GCC_GIT
  30. bool "git"
  31. depends on !ADK_TARGET_ARCH_ARC
  32. depends on !ADK_TARGET_ARCH_AVR32
  33. depends on !ADK_TARGET_ARCH_METAG
  34. depends on !ADK_TARGET_ARCH_NDS32
  35. depends on !ADK_TARGET_ARCH_OR1K
  36. select ADK_DISABLE_HONOUR_CFLAGS
  37. config ADK_TOOLCHAIN_GCC_6
  38. bool "6.2.0"
  39. depends on !ADK_TARGET_ARCH_ARC
  40. depends on !ADK_TARGET_ARCH_AVR32
  41. depends on !ADK_TARGET_ARCH_METAG
  42. depends on !ADK_TARGET_ARCH_NDS32
  43. depends on !ADK_TARGET_ARCH_OR1K
  44. select ADK_DISABLE_HONOUR_CFLAGS
  45. config ADK_TOOLCHAIN_GCC_5
  46. bool "5.4.0"
  47. depends on !ADK_TARGET_ARCH_ARC
  48. depends on !ADK_TARGET_ARCH_AVR32
  49. depends on !ADK_TARGET_ARCH_BFIN
  50. depends on !ADK_TARGET_ARCH_C6X
  51. depends on !ADK_TARGET_ARCH_CR16
  52. depends on !ADK_TARGET_ARCH_FRV
  53. depends on !ADK_TARGET_ARCH_H8300
  54. depends on !ADK_TARGET_ARCH_M32R
  55. depends on !ADK_TARGET_ARCH_METAG
  56. depends on !ADK_TARGET_ARCH_NDS32
  57. depends on !ADK_TARGET_ARCH_NIOS2
  58. depends on !ADK_TARGET_ARCH_OR1K
  59. depends on !ADK_TARGET_SYSTEM_KINETIS_K70
  60. depends on !(ADK_TARGET_LIB_GLIBC && ADK_TARGET_ARCH_SH)
  61. depends on !ADK_TARGET_CPU_MIPS_MIPS32R6
  62. depends on !ADK_TARGET_CPU_MIPS64_MIPS64R6
  63. config ADK_TOOLCHAIN_GCC_4_9
  64. bool "4.9.4"
  65. depends on !ADK_TARGET_ARCH_ARC
  66. depends on !ADK_TARGET_ARCH_AVR32
  67. depends on !ADK_TARGET_ARCH_BFIN
  68. depends on !ADK_TARGET_ARCH_C6X
  69. depends on !ADK_TARGET_ARCH_CR16
  70. depends on !ADK_TARGET_ARCH_H8300
  71. depends on !ADK_TARGET_ARCH_METAG
  72. depends on !ADK_TARGET_ARCH_NIOS2
  73. depends on !ADK_TARGET_ARCH_OR1K
  74. depends on !ADK_TARGET_ARCH_TILE
  75. depends on !ADK_TARGET_CPU_MIPS_MIPS32R6
  76. depends on !ADK_TARGET_CPU_MIPS64_MIPS64R6
  77. config ADK_TOOLCHAIN_GCC_OR1K
  78. bool "or1k"
  79. select ADK_DISABLE_HONOUR_CFLAGS
  80. depends on ADK_TARGET_ARCH_OR1K
  81. config ADK_TOOLCHAIN_GCC_ARC
  82. bool "arc-2016.09-eng015"
  83. select ADK_DISABLE_HONOUR_CFLAGS
  84. depends on ADK_TARGET_ARCH_ARC
  85. config ADK_TOOLCHAIN_GCC_4_4
  86. bool "4.4.7"
  87. depends on ADK_TARGET_ARCH_AVR32
  88. config ADK_TOOLCHAIN_GCC_4_2
  89. bool "4.2.4"
  90. select ADK_DISABLE_HONOUR_CFLAGS
  91. select ADK_TOOLCHAIN_GCC_OLD
  92. depends on ADK_TARGET_ARCH_METAG
  93. endchoice
  94. config ADK_TOOLCHAIN_GCC_OLD
  95. bool