summaryrefslogtreecommitdiff
path: root/target/config/Config.in.compiler
blob: 6d0924398c94d998f4246fd7c610ff4e62a37541 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.

choice
prompt "Compiler"

config ADK_BUILD_COMPILER_GCC
	bool "gcc"

config ADK_BUILD_COMPILER_LLVM
	bool "llvm"
	depends on ADK_EXPERIMENTAL

endchoice

choice
prompt "LLVM version"
depends on ADK_BUILD_COMPILER_LLVM

config ADK_TOOLCHAIN_LLVM
	bool "6.0.0"

endchoice

config ADK_TOOLCHAIN_LLVM_VERSION
	string
	default "6.0.0" if ADK_TOOLCHAIN_LLVM

choice
prompt "GCC version"
depends on ADK_BUILD_COMPILER_GCC
default ADK_TOOLCHAIN_GCC_ARC if ADK_TARGET_ARCH_ARC
default ADK_TOOLCHAIN_GCC_AVR32 if ADK_TARGET_ARCH_AVR32
default ADK_TOOLCHAIN_GCC_CSKY if ADK_TARGET_ARCH_CSKY
default ADK_TOOLCHAIN_GCC_METAG if ADK_TARGET_ARCH_METAG
default ADK_TOOLCHAIN_GCC_NDS32 if ADK_TARGET_ARCH_NDS32
default ADK_TOOLCHAIN_GCC_OR1K if ADK_TARGET_ARCH_OR1K
default ADK_TOOLCHAIN_GCC_6 if ADK_TARGET_CPU_SH_J2
default ADK_TOOLCHAIN_GCC_7

config ADK_TOOLCHAIN_GCC_GIT
	bool "git"
	depends on !ADK_TARGET_ARCH_AVR32
	depends on !ADK_TARGET_ARCH_CSKY
	depends on !ADK_TARGET_ARCH_METAG
	depends on !ADK_TARGET_ARCH_NDS32
	depends on !ADK_TARGET_ARCH_OR1K
	depends on !ADK_TARGET_CPU_SH_J2

config ADK_TOOLCHAIN_GCC_8
	bool "8.1.0"
	depends on !ADK_TARGET_ARCH_ARC
	depends on !ADK_TARGET_ARCH_AVR32
	depends on !ADK_TARGET_ARCH_CSKY
	depends on !ADK_TARGET_ARCH_METAG
	depends on !ADK_TARGET_ARCH_NDS32
	depends on !ADK_TARGET_ARCH_OR1K
	depends on !ADK_TARGET_CPU_SH_J2

config ADK_TOOLCHAIN_GCC_7
	bool "7.3.0"
	depends on !ADK_TARGET_ARCH_ARC
	depends on !ADK_TARGET_ARCH_AVR32
	depends on !ADK_TARGET_ARCH_CSKY
	depends on !ADK_TARGET_ARCH_METAG
	depends on !ADK_TARGET_ARCH_NDS32
	depends on !ADK_TARGET_ARCH_OR1K
	depends on !ADK_TARGET_CPU_SH_J2

config ADK_TOOLCHAIN_GCC_6
        bool "6.3.0"
	depends on ADK_TARGET_CPU_SH_J2

config ADK_TOOLCHAIN_GCC_ARC
	bool "arc-2018.03-release"
	depends on ADK_TARGET_ARCH_ARC

config ADK_TOOLCHAIN_GCC_AVR32
	bool "4.4.7-avr32"
	depends on ADK_TARGET_ARCH_AVR32

config ADK_TOOLCHAIN_GCC_CSKY
	bool "6.3.0-csky"
	depends on ADK_TARGET_ARCH_CSKY

config ADK_TOOLCHAIN_GCC_METAG
	bool "4.2.4-metag"
	depends on ADK_TARGET_ARCH_METAG

config ADK_TOOLCHAIN_GCC_NDS32
	bool "nds32-6.3.0-open"
	depends on ADK_TARGET_ARCH_NDS32

config ADK_TOOLCHAIN_GCC_OR1K
	bool "5.4.0-or1k"
	depends on ADK_TARGET_ARCH_OR1K

endchoice