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