Config.in.compiler 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  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_SYSTEM_KINETIS_K70
  21. default ADK_TOOLCHAIN_GCC_7
  22. config ADK_TOOLCHAIN_GCC_GIT
  23. bool "git"
  24. depends on !ADK_TARGET_ARCH_AVR32
  25. depends on !ADK_TARGET_ARCH_METAG
  26. depends on !ADK_TARGET_ARCH_NDS32
  27. depends on !ADK_TARGET_ARCH_OR1K
  28. select ADK_DISABLE_HONOUR_CFLAGS
  29. config ADK_TOOLCHAIN_GCC_7
  30. bool "7.1.0"
  31. depends on !ADK_TARGET_ARCH_AVR32
  32. depends on !ADK_TARGET_ARCH_METAG
  33. depends on !ADK_TARGET_ARCH_NDS32
  34. depends on !ADK_TARGET_ARCH_OR1K
  35. select ADK_DISABLE_HONOUR_CFLAGS
  36. config ADK_TOOLCHAIN_GCC_4_9
  37. bool "4.9.4"
  38. depends on ADK_TARGET_ARCH_LM32
  39. depends on ADK_TARGET_SYSTEM_KINETIS_K70
  40. config ADK_TOOLCHAIN_GCC_OR1K
  41. bool "or1k"
  42. select ADK_DISABLE_HONOUR_CFLAGS
  43. depends on ADK_TARGET_ARCH_OR1K
  44. config ADK_TOOLCHAIN_GCC_NDS32
  45. bool "4.9.3-nds32"
  46. select ADK_DISABLE_HONOUR_CFLAGS
  47. depends on ADK_TARGET_ARCH_NDS32
  48. config ADK_TOOLCHAIN_GCC_ARC
  49. bool "arc-2017.03-release"
  50. select ADK_DISABLE_HONOUR_CFLAGS
  51. depends on ADK_TARGET_ARCH_ARC
  52. config ADK_TOOLCHAIN_GCC_4_4
  53. bool "4.4.7"
  54. depends on ADK_TARGET_ARCH_AVR32
  55. config ADK_TOOLCHAIN_GCC_4_2
  56. bool "4.2.4"
  57. select ADK_DISABLE_HONOUR_CFLAGS
  58. select ADK_TOOLCHAIN_GCC_OLD
  59. depends on ADK_TARGET_ARCH_METAG
  60. endchoice
  61. config ADK_TOOLCHAIN_GCC_OLD
  62. bool