Config.in.compiler 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  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_CSKY if ADK_TARGET_ARCH_CSKY
  16. default ADK_TOOLCHAIN_GCC_OR1K if ADK_TARGET_ARCH_OR1K
  17. default ADK_TOOLCHAIN_GCC_NDS32 if ADK_TARGET_ARCH_NDS32
  18. default ADK_TOOLCHAIN_GCC_4_2 if ADK_TARGET_ARCH_METAG
  19. default ADK_TOOLCHAIN_GCC_4_4 if ADK_TARGET_ARCH_AVR32
  20. default ADK_TOOLCHAIN_GCC_4_9 if ADK_TARGET_ARCH_LM32 && !ADK_TARGET_LIB_NEWLIB
  21. default ADK_TOOLCHAIN_GCC_4_9 if ADK_TARGET_SYSTEM_KINETIS_K70
  22. default ADK_TOOLCHAIN_GCC_6 if ADK_TARGET_CPU_SH_J2
  23. default ADK_TOOLCHAIN_GCC_7
  24. config ADK_TOOLCHAIN_GCC_GIT
  25. bool "git"
  26. depends on !ADK_TARGET_ARCH_AVR32
  27. depends on !ADK_TARGET_ARCH_CSKY
  28. depends on !ADK_TARGET_ARCH_METAG
  29. depends on !ADK_TARGET_ARCH_NDS32
  30. depends on !ADK_TARGET_ARCH_OR1K
  31. depends on !ADK_TARGET_CPU_SH_J2
  32. select ADK_DISABLE_HONOUR_CFLAGS
  33. config ADK_TOOLCHAIN_GCC_7
  34. bool "7.2.0"
  35. depends on !ADK_TARGET_ARCH_AVR32
  36. depends on !ADK_TARGET_ARCH_CSKY
  37. depends on !ADK_TARGET_ARCH_METAG
  38. depends on !ADK_TARGET_ARCH_NDS32
  39. depends on !ADK_TARGET_ARCH_OR1K
  40. depends on !ADK_TARGET_CPU_SH_J2
  41. select ADK_DISABLE_HONOUR_CFLAGS
  42. config ADK_TOOLCHAIN_GCC_6
  43. bool "6.3.0"
  44. depends on ADK_TARGET_CPU_SH_J2
  45. select ADK_DISABLE_HONOUR_CFLAGS
  46. config ADK_TOOLCHAIN_GCC_4_9
  47. bool "4.9.4"
  48. depends on ADK_TARGET_ARCH_LM32
  49. depends on ADK_TARGET_SYSTEM_KINETIS_K70
  50. config ADK_TOOLCHAIN_GCC_CSKY
  51. bool "csky"
  52. select ADK_DISABLE_HONOUR_CFLAGS
  53. depends on ADK_TARGET_ARCH_CSKY
  54. config ADK_TOOLCHAIN_GCC_OR1K
  55. bool "or1k"
  56. select ADK_DISABLE_HONOUR_CFLAGS
  57. depends on ADK_TARGET_ARCH_OR1K
  58. config ADK_TOOLCHAIN_GCC_NDS32
  59. bool "4.9.3-nds32"
  60. select ADK_DISABLE_HONOUR_CFLAGS
  61. depends on ADK_TARGET_ARCH_NDS32
  62. config ADK_TOOLCHAIN_GCC_ARC
  63. bool "arc-2016.09-release"
  64. select ADK_DISABLE_HONOUR_CFLAGS
  65. depends on ADK_TARGET_ARCH_ARC
  66. config ADK_TOOLCHAIN_GCC_4_4
  67. bool "4.4.7"
  68. depends on ADK_TARGET_ARCH_AVR32
  69. config ADK_TOOLCHAIN_GCC_4_2
  70. bool "4.2.4"
  71. select ADK_DISABLE_HONOUR_CFLAGS
  72. select ADK_TOOLCHAIN_GCC_OLD
  73. depends on ADK_TARGET_ARCH_METAG
  74. endchoice
  75. config ADK_TOOLCHAIN_GCC_OLD
  76. bool