riscv64 uclibc-ng support
[openadk.git] / target / config / Config.in.compiler
blob6d0924398c94d998f4246fd7c610ff4e62a37541
1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 choice
5 prompt "Compiler"
7 config ADK_BUILD_COMPILER_GCC
8         bool "gcc"
10 config ADK_BUILD_COMPILER_LLVM
11         bool "llvm"
12         depends on ADK_EXPERIMENTAL
14 endchoice
16 choice
17 prompt "LLVM version"
18 depends on ADK_BUILD_COMPILER_LLVM
20 config ADK_TOOLCHAIN_LLVM
21         bool "6.0.0"
23 endchoice
25 config ADK_TOOLCHAIN_LLVM_VERSION
26         string
27         default "6.0.0" if ADK_TOOLCHAIN_LLVM
29 choice
30 prompt "GCC version"
31 depends on ADK_BUILD_COMPILER_GCC
32 default ADK_TOOLCHAIN_GCC_ARC if ADK_TARGET_ARCH_ARC
33 default ADK_TOOLCHAIN_GCC_AVR32 if ADK_TARGET_ARCH_AVR32
34 default ADK_TOOLCHAIN_GCC_CSKY if ADK_TARGET_ARCH_CSKY
35 default ADK_TOOLCHAIN_GCC_METAG if ADK_TARGET_ARCH_METAG
36 default ADK_TOOLCHAIN_GCC_NDS32 if ADK_TARGET_ARCH_NDS32
37 default ADK_TOOLCHAIN_GCC_OR1K if ADK_TARGET_ARCH_OR1K
38 default ADK_TOOLCHAIN_GCC_6 if ADK_TARGET_CPU_SH_J2
39 default ADK_TOOLCHAIN_GCC_7
41 config ADK_TOOLCHAIN_GCC_GIT
42         bool "git"
43         depends on !ADK_TARGET_ARCH_AVR32
44         depends on !ADK_TARGET_ARCH_CSKY
45         depends on !ADK_TARGET_ARCH_METAG
46         depends on !ADK_TARGET_ARCH_NDS32
47         depends on !ADK_TARGET_ARCH_OR1K
48         depends on !ADK_TARGET_CPU_SH_J2
50 config ADK_TOOLCHAIN_GCC_8
51         bool "8.1.0"
52         depends on !ADK_TARGET_ARCH_ARC
53         depends on !ADK_TARGET_ARCH_AVR32
54         depends on !ADK_TARGET_ARCH_CSKY
55         depends on !ADK_TARGET_ARCH_METAG
56         depends on !ADK_TARGET_ARCH_NDS32
57         depends on !ADK_TARGET_ARCH_OR1K
58         depends on !ADK_TARGET_CPU_SH_J2
60 config ADK_TOOLCHAIN_GCC_7
61         bool "7.3.0"
62         depends on !ADK_TARGET_ARCH_ARC
63         depends on !ADK_TARGET_ARCH_AVR32
64         depends on !ADK_TARGET_ARCH_CSKY
65         depends on !ADK_TARGET_ARCH_METAG
66         depends on !ADK_TARGET_ARCH_NDS32
67         depends on !ADK_TARGET_ARCH_OR1K
68         depends on !ADK_TARGET_CPU_SH_J2
70 config ADK_TOOLCHAIN_GCC_6
71         bool "6.3.0"
72         depends on ADK_TARGET_CPU_SH_J2
74 config ADK_TOOLCHAIN_GCC_ARC
75         bool "arc-2018.03-release"
76         depends on ADK_TARGET_ARCH_ARC
78 config ADK_TOOLCHAIN_GCC_AVR32
79         bool "4.4.7-avr32"
80         depends on ADK_TARGET_ARCH_AVR32
82 config ADK_TOOLCHAIN_GCC_CSKY
83         bool "6.3.0-csky"
84         depends on ADK_TARGET_ARCH_CSKY
86 config ADK_TOOLCHAIN_GCC_METAG
87         bool "4.2.4-metag"
88         depends on ADK_TARGET_ARCH_METAG
90 config ADK_TOOLCHAIN_GCC_NDS32
91         bool "nds32-6.3.0-open"
92         depends on ADK_TARGET_ARCH_NDS32
94 config ADK_TOOLCHAIN_GCC_OR1K
95         bool "5.4.0-or1k"
96         depends on ADK_TARGET_ARCH_OR1K
98 endchoice