Config.in.compiler 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  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. endchoice
  8. choice
  9. prompt "GCC version"
  10. depends on ADK_BUILD_COMPILER_GCC
  11. default ADK_TOOLCHAIN_GCC_ARC if ADK_TARGET_ARCH_ARC
  12. default ADK_TOOLCHAIN_GCC_AVR32 if ADK_TARGET_ARCH_AVR32
  13. default ADK_TOOLCHAIN_GCC_LM32 if ADK_TARGET_ARCH_LM32
  14. default ADK_TOOLCHAIN_GCC_METAG if ADK_TARGET_ARCH_METAG
  15. default ADK_TOOLCHAIN_GCC_NDS32 if ADK_TARGET_ARCH_NDS32
  16. default ADK_TOOLCHAIN_GCC_7 if ADK_TARGET_CPU_ARM_ARM11MPCORE
  17. default ADK_TOOLCHAIN_GCC_7 if ADK_TARGET_CPU_ARM_CORTEX_A53
  18. default ADK_TOOLCHAIN_GCC_9 if ADK_TARGET_ARCH_OR1K
  19. default ADK_TOOLCHAIN_GCC_9 if ADK_TARGET_ARCH_CSKY
  20. default ADK_TOOLCHAIN_GCC_8
  21. config ADK_TOOLCHAIN_GCC_GIT
  22. bool "git"
  23. depends on !ADK_TARGET_ARCH_AVR32
  24. depends on !ADK_TARGET_ARCH_METAG
  25. depends on !ADK_TARGET_ARCH_NDS32
  26. config ADK_TOOLCHAIN_GCC_9
  27. bool "9.2.0"
  28. depends on !ADK_TARGET_ARCH_ARC
  29. depends on !ADK_TARGET_ARCH_AVR32
  30. depends on !ADK_TARGET_ARCH_METAG
  31. depends on !ADK_TARGET_ARCH_NDS32
  32. depends on !ADK_TARGET_CPU_ARM_ARM11MPCORE
  33. depends on !ADK_TARGET_CPU_ARM_CORTEX_A53
  34. config ADK_TOOLCHAIN_GCC_8
  35. bool "8.3.0"
  36. depends on !ADK_TARGET_ARCH_ARC
  37. depends on !ADK_TARGET_ARCH_AVR32
  38. depends on !ADK_TARGET_ARCH_CSKY
  39. depends on !ADK_TARGET_ARCH_METAG
  40. depends on !ADK_TARGET_ARCH_NDS32
  41. depends on !ADK_TARGET_ARCH_OR1K
  42. depends on !ADK_TARGET_CPU_ARM_ARM11MPCORE
  43. depends on !ADK_TARGET_CPU_ARM_CORTEX_A53
  44. config ADK_TOOLCHAIN_GCC_7
  45. bool "7.4.0"
  46. depends on !ADK_TARGET_ARCH_ARC
  47. depends on !ADK_TARGET_ARCH_AVR32
  48. depends on !ADK_TARGET_ARCH_CSKY
  49. depends on !ADK_TARGET_ARCH_METAG
  50. depends on !ADK_TARGET_ARCH_NDS32
  51. depends on !ADK_TARGET_ARCH_OR1K
  52. config ADK_TOOLCHAIN_GCC_ARC
  53. bool "arc-2019.03-release"
  54. depends on ADK_TARGET_ARCH_ARC
  55. config ADK_TOOLCHAIN_GCC_AVR32
  56. bool "4.4.7-avr32"
  57. depends on ADK_TARGET_ARCH_AVR32
  58. config ADK_TOOLCHAIN_GCC_METAG
  59. bool "4.2.4-metag"
  60. depends on ADK_TARGET_ARCH_METAG
  61. config ADK_TOOLCHAIN_GCC_LM32
  62. bool "4.6.4-lm32"
  63. depends on ADK_TARGET_ARCH_LM32
  64. config ADK_TOOLCHAIN_GCC_NDS32
  65. bool "nds32-6.3.0-open"
  66. depends on ADK_TARGET_ARCH_NDS32
  67. endchoice