c3bc90ff147f2cf97f7a8f516510b0f186592c4a
[openwrt/openwrt.git] / toolchain / gcc / Config.version
1 config GCC_VERSION
2 string
3 default "3.4.6" if GCC_VERSION_3_4_6
4 default "4.1.2" if GCC_VERSION_4_1_2
5 default "4.2.4" if GCC_VERSION_4_2_4
6 default "4.3.3" if GCC_VERSION_4_3_3
7 default "4.3.3+cs" if GCC_VERSION_4_3_3_CS
8 default "4.3.4" if GCC_VERSION_4_3_4
9 default "4.3.5" if GCC_VERSION_4_3_5
10 default "4.4.1" if GCC_VERSION_4_4_1
11 default "4.4.1+cs" if GCC_VERSION_4_4_1_CS
12 default "4.4.2" if GCC_VERSION_4_4_2
13 default "4.4.3" if GCC_VERSION_4_4_3
14 default "4.4.4" if GCC_VERSION_4_4_4
15 default "4.5.0" if GCC_VERSION_4_5_0
16 default "4.4.3+cs" if GCC_VERSION_4_4_3_CS
17 default "llvm" if GCC_VERSION_LLVM
18 default "4.1.2"
19
20 config GCC_VERSION_3
21 bool
22 default y if GCC_VERSION_3_4_6
23
24 config GCC_VERSION_3_4
25 bool
26 default y if GCC_VERSION_3_4_6
27
28 if !LINUX_2_4
29
30 config GCC_VERSION_4
31 bool
32 default y if GCC_VERSION_4_1
33 default y if GCC_VERSION_4_2
34 default y if GCC_VERSION_4_3
35 default y if GCC_VERSION_4_4
36 default y if GCC_VERSION_4_5
37
38 config GCC_VERSION_4_1
39 bool
40 default y if GCC_VERSION_4_1_2
41
42 config GCC_VERSION_4_2
43 bool
44 default y if GCC_VERSION_4_2_4
45 default y if GCC_VERSION_LLVM
46
47 config GCC_VERSION_4_3
48 bool
49 default y if GCC_VERSION_4_3_3
50 default y if GCC_VERSION_4_3_3_CS
51 default y if GCC_VERSION_4_3_4
52 default y if GCC_VERSION_4_3_5
53
54 config GCC_VERSION_4_4
55 bool
56 default y if GCC_VERSION_4_4_1
57 default y if GCC_VERSION_4_4_1_CS
58 default y if GCC_VERSION_4_4_2
59 default y if GCC_VERSION_4_4_3
60 default y if GCC_VERSION_4_4_3_CS
61 default y if GCC_VERSION_4_4_4
62
63 config GCC_VERSION_4_5
64 bool
65 default y if GCC_VERSION_4_5_0
66
67 endif
68
69 if !TOOLCHAINOPTS
70 config GCC_VERSION_3_4_6
71 default y if LINUX_2_4
72
73 if !LINUX_2_4
74 config GCC_VERSION_4_2_4
75 default y if avr32
76
77 config GCC_VERSION_4_3_3
78 default y if powerpc64
79 default y if TARGET_etrax
80 default y if TARGET_coldfire
81
82 config GCC_VERSION_4_3_4
83 default y if TARGET_gemini
84
85 config GCC_VERSION_4_3_3_CS
86 default y if (mips || mipsel) && !(TARGET_octeon || TARGET_sibyte)
87 default y if (arm || armeb) && !TARGET_gemini
88
89 config GCC_VERSION_4_4_1
90 default y if ubicom32
91
92 config GCC_VERSION_4_4_3
93 default y if powerpc
94 default y if (TARGET_octeon || TARGET_sibyte)
95
96 endif
97 endif