Config.in.compiler 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  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 "LLVM version"
  13. depends on ADK_BUILD_COMPILER_LLVM
  14. config ADK_TOOLCHAIN_LLVM
  15. bool "6.0.0"
  16. endchoice
  17. config ADK_TOOLCHAIN_LLVM_VERSION
  18. string
  19. default "6.0.0" if ADK_TOOLCHAIN_LLVM
  20. choice
  21. prompt "GCC version"
  22. depends on ADK_BUILD_COMPILER_GCC
  23. default ADK_TOOLCHAIN_GCC_ARC if ADK_TARGET_ARCH_ARC
  24. default ADK_TOOLCHAIN_GCC_AVR32 if ADK_TARGET_ARCH_AVR32
  25. default ADK_TOOLCHAIN_GCC_CSKY if ADK_TARGET_ARCH_CSKY
  26. default ADK_TOOLCHAIN_GCC_METAG if ADK_TARGET_ARCH_METAG
  27. default ADK_TOOLCHAIN_GCC_NDS32 if ADK_TARGET_ARCH_NDS32
  28. default ADK_TOOLCHAIN_GCC_OR1K if ADK_TARGET_ARCH_OR1K
  29. default ADK_TOOLCHAIN_GCC_6 if ADK_TARGET_CPU_SH_J2
  30. default ADK_TOOLCHAIN_GCC_7
  31. config ADK_TOOLCHAIN_GCC_GIT
  32. bool "git"
  33. depends on !ADK_TARGET_ARCH_AVR32
  34. depends on !ADK_TARGET_ARCH_CSKY
  35. depends on !ADK_TARGET_ARCH_METAG
  36. depends on !ADK_TARGET_ARCH_NDS32
  37. depends on !ADK_TARGET_ARCH_OR1K
  38. depends on !ADK_TARGET_CPU_SH_J2
  39. config ADK_TOOLCHAIN_GCC_8
  40. bool "8.1.0"
  41. depends on !ADK_TARGET_ARCH_ARC
  42. depends on !ADK_TARGET_ARCH_AVR32
  43. depends on !ADK_TARGET_ARCH_CSKY
  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_CPU_SH_J2
  48. config ADK_TOOLCHAIN_GCC_7
  49. bool "7.3.0"
  50. depends on !ADK_TARGET_ARCH_ARC
  51. depends on !ADK_TARGET_ARCH_AVR32
  52. depends on !ADK_TARGET_ARCH_CSKY
  53. depends on !ADK_TARGET_ARCH_METAG
  54. depends on !ADK_TARGET_ARCH_NDS32
  55. depends on !ADK_TARGET_ARCH_OR1K
  56. depends on !ADK_TARGET_CPU_SH_J2
  57. config ADK_TOOLCHAIN_GCC_6
  58. bool "6.3.0"
  59. depends on ADK_TARGET_CPU_SH_J2
  60. config ADK_TOOLCHAIN_GCC_ARC
  61. bool "arc-2018.03-release"
  62. depends on ADK_TARGET_ARCH_ARC
  63. config ADK_TOOLCHAIN_GCC_AVR32
  64. bool "4.4.7-avr32"
  65. depends on ADK_TARGET_ARCH_AVR32
  66. config ADK_TOOLCHAIN_GCC_CSKY
  67. bool "6.3.0-csky"
  68. depends on ADK_TARGET_ARCH_CSKY
  69. config ADK_TOOLCHAIN_GCC_METAG
  70. bool "4.2.4-metag"
  71. depends on ADK_TARGET_ARCH_METAG
  72. config ADK_TOOLCHAIN_GCC_NDS32
  73. bool "nds32-6.3.0-open"
  74. depends on ADK_TARGET_ARCH_NDS32
  75. config ADK_TOOLCHAIN_GCC_OR1K
  76. bool "5.4.0-or1k"
  77. depends on ADK_TARGET_ARCH_OR1K
  78. endchoice