add gcc-4.5.0 preliminary support
[openwrt/staging/chunkeey.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.4.1" if GCC_VERSION_4_4_1
10 default "4.4.1+cs" if GCC_VERSION_4_4_1_CS
11 default "4.4.2" if GCC_VERSION_4_4_2
12 default "4.4.3" if GCC_VERSION_4_4_3
13 default "4.5.0" if GCC_VERSION_4_5_0
14 default "4.4.3+cs" if GCC_VERSION_4_4_3_CS
15 default "llvm" if GCC_VERSION_LLVM
16 default "4.1.2"
17
18 config GCC_VERSION_3
19 bool
20 default y if GCC_VERSION_3_4_6
21
22 config GCC_VERSION_3_4
23 bool
24 default y if GCC_VERSION_3_4_6
25
26 if !LINUX_2_4
27
28 config GCC_VERSION_4
29 bool
30 default y if GCC_VERSION_4_1
31 default y if GCC_VERSION_4_2
32 default y if GCC_VERSION_4_3
33 default y if GCC_VERSION_4_4
34 default y if GCC_VERSION_4_5
35
36 config GCC_VERSION_4_1
37 bool
38 default y if GCC_VERSION_4_1_2
39
40 config GCC_VERSION_4_2
41 bool
42 default y if GCC_VERSION_4_2_4
43 default y if GCC_VERSION_LLVM
44
45 config GCC_VERSION_4_3
46 bool
47 default y if GCC_VERSION_4_3_3
48 default y if GCC_VERSION_4_3_3_CS
49 default y if GCC_VERSION_4_3_4
50
51 config GCC_VERSION_4_4
52 bool
53 default y if GCC_VERSION_4_4_1
54 default y if GCC_VERSION_4_4_1_CS
55 default y if GCC_VERSION_4_4_2
56 default y if GCC_VERSION_4_4_3
57 default y if GCC_VERSION_4_4_3_CS
58
59 config GCC_VERSION_4_5
60 bool
61 default y if GCC_VERSION_4_5_0
62
63 endif
64
65 if !TOOLCHAINOPTS
66 config GCC_VERSION_3_4_6
67 default y if LINUX_2_4
68
69 if !LINUX_2_4
70 config GCC_VERSION_4_2_4
71 default y if avr32
72
73 config GCC_VERSION_4_3_3
74 default y if powerpc64
75 default y if TARGET_etrax
76 default y if TARGET_coldfire
77
78 config GCC_VERSION_4_3_4
79 default y if TARGET_gemini
80
81 config GCC_VERSION_4_3_3_CS
82 default y if (mips || mipsel) && !(TARGET_octeon || TARGET_sibyte)
83 default y if (arm || armeb) && !TARGET_gemini
84
85 config GCC_VERSION_4_4_1
86 default y if ubicom32
87
88 config GCC_VERSION_4_4_3
89 default y if powerpc
90 default y if (TARGET_octeon || TARGET_sibyte)
91
92 endif
93 endif