gcc: update gcc7
[openadk.git] / target / config / Config.in.compiler
blob0cb50be9cc2c85c212c87ae02145c7803cfd5cb2
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_7
40 config ADK_TOOLCHAIN_GCC_GIT
41         bool "git"
42         depends on !ADK_TARGET_ARCH_AVR32
43         depends on !ADK_TARGET_ARCH_METAG
44         depends on !ADK_TARGET_ARCH_NDS32
45         depends on !ADK_TARGET_ARCH_OR1K
47 config ADK_TOOLCHAIN_GCC_8
48         bool "8.2.0"
49         depends on !ADK_TARGET_ARCH_ARC
50         depends on !ADK_TARGET_ARCH_AVR32
51         depends on !ADK_TARGET_ARCH_CSKY
52         depends on !ADK_TARGET_ARCH_METAG
53         depends on !ADK_TARGET_ARCH_NDS32
54         depends on !ADK_TARGET_ARCH_OR1K
56 config ADK_TOOLCHAIN_GCC_7
57         bool "7.4.0"
58         depends on !ADK_TARGET_ARCH_ARC
59         depends on !ADK_TARGET_ARCH_AVR32
60         depends on !ADK_TARGET_ARCH_CSKY
61         depends on !ADK_TARGET_ARCH_METAG
62         depends on !ADK_TARGET_ARCH_NDS32
63         depends on !ADK_TARGET_ARCH_OR1K
65 config ADK_TOOLCHAIN_GCC_ARC
66         bool "arc-2018.03-release"
67         depends on ADK_TARGET_ARCH_ARC
69 config ADK_TOOLCHAIN_GCC_AVR32
70         bool "4.4.7-avr32"
71         depends on ADK_TARGET_ARCH_AVR32
73 config ADK_TOOLCHAIN_GCC_CSKY
74         bool "6.3.0-csky"
75         depends on ADK_TARGET_ARCH_CSKY
77 config ADK_TOOLCHAIN_GCC_METAG
78         bool "4.2.4-metag"
79         depends on ADK_TARGET_ARCH_METAG
81 config ADK_TOOLCHAIN_GCC_NDS32
82         bool "nds32-6.3.0-open"
83         depends on ADK_TARGET_ARCH_NDS32
85 config ADK_TOOLCHAIN_GCC_OR1K
86         bool "5.4.0-or1k"
87         depends on ADK_TARGET_ARCH_OR1K
89 endchoice