[toolchain] add support for gcc-4.5.1
[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.5.1"     if GCC_VERSION_4_5_1
17         default "4.4.3+cs"  if GCC_VERSION_4_4_3_CS
18         default "llvm"      if GCC_VERSION_LLVM
19         default "4.1.2"
20
21 config GCC_VERSION_3
22         bool
23         default y       if GCC_VERSION_3_4_6
24
25 config GCC_VERSION_3_4
26         bool
27         default y       if GCC_VERSION_3_4_6
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         default y       if GCC_VERSION_4_4_4
61
62 config GCC_VERSION_4_5
63         bool
64         default y       if GCC_VERSION_4_5_0
65         default y       if GCC_VERSION_4_5_1
66
67 if !TOOLCHAINOPTS
68         config GCC_VERSION_4_2_4
69                 default y if avr32
70
71         config GCC_VERSION_4_3_3
72                 default y if powerpc64
73                 default y if TARGET_etrax
74                 default y if TARGET_coldfire
75
76         config GCC_VERSION_4_3_4
77                 default y if TARGET_gemini
78
79         config GCC_VERSION_4_3_3_CS
80                 default y if (mips || mipsel) && !(TARGET_octeon || TARGET_sibyte)
81                 default y if (arm || armeb) && !TARGET_gemini
82
83         config GCC_VERSION_4_4_1
84                 default y if ubicom32
85
86         config GCC_VERSION_4_4_3
87                 default y if powerpc
88
89         config GCC_VERSION_4_4_4
90                 default y if (TARGET_octeon || TARGET_sibyte || TARGET_omap35xx)
91
92 endif