[toolchain/gcc]: add support for Linaro GCC 2010.10
[openwrt/svn-archive/archive.git] / toolchain / gcc / Config.version
1 config GCC_VERSION
2 string
3 default "4.1.2" if GCC_VERSION_4_1_2
4 default "4.2.4" if GCC_VERSION_4_2_4
5 default "4.3.3" if GCC_VERSION_4_3_3
6 default "4.3.3+cs" if GCC_VERSION_4_3_3_CS
7 default "4.3.4" if GCC_VERSION_4_3_4
8 default "4.3.5" if GCC_VERSION_4_3_5
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.4.4" if GCC_VERSION_4_4_4
14 default "4.4.5" if GCC_VERSION_4_4_5
15 default "4.5.0" if GCC_VERSION_4_5_0
16 default "4.5.1" if GCC_VERSION_4_5_1
17 default "4.5.1+l" if GCC_VERSION_4_5_1_LINARO
18 default "4.4.3+cs" if GCC_VERSION_4_4_3_CS
19 default "llvm" if GCC_VERSION_LLVM
20 default "4.1.2"
21
22 config GCC_VERSION_4
23 bool
24 default y if GCC_VERSION_4_1
25 default y if GCC_VERSION_4_2
26 default y if GCC_VERSION_4_3
27 default y if GCC_VERSION_4_4
28 default y if GCC_VERSION_4_5
29
30 config GCC_VERSION_4_1
31 bool
32 default y if GCC_VERSION_4_1_2
33
34 config GCC_VERSION_4_2
35 bool
36 default y if GCC_VERSION_4_2_4
37 default y if GCC_VERSION_LLVM
38
39 config GCC_VERSION_4_3
40 bool
41 default y if GCC_VERSION_4_3_3
42 default y if GCC_VERSION_4_3_3_CS
43 default y if GCC_VERSION_4_3_4
44 default y if GCC_VERSION_4_3_5
45
46 config GCC_VERSION_4_4
47 bool
48 default y if GCC_VERSION_4_4_1
49 default y if GCC_VERSION_4_4_1_CS
50 default y if GCC_VERSION_4_4_2
51 default y if GCC_VERSION_4_4_3
52 default y if GCC_VERSION_4_4_3_CS
53 default y if GCC_VERSION_4_4_4
54 default y if GCC_VERSION_4_4_5
55
56 config GCC_VERSION_4_5
57 bool
58 default y if GCC_VERSION_4_5_0
59 default y if GCC_VERSION_4_5_1
60 default y if GCC_VERSION_4_5_1_LINARO
61
62 if !TOOLCHAINOPTS
63 config GCC_VERSION_4_2_4
64 default y if avr32
65
66 config GCC_VERSION_4_3_3_CS
67 default y if (mips || mipsel) && !(TARGET_octeon || TARGET_sibyte)
68 default y if (arm || armeb) && !(TARGET_gemini || TARGET_omap35xx)
69
70 config GCC_VERSION_4_3_5
71 default y if powerpc64
72 default y if TARGET_etrax
73 default y if TARGET_coldfire
74 default y if TARGET_gemini
75
76 config GCC_VERSION_4_4_5
77 default y if (TARGET_octeon || TARGET_sibyte || TARGET_omap35xx)
78 default y if powerpc
79 default y if ubicom32
80
81 endif