[toolchain]: replace gcc 4.5.2 support with 4.6.1
[openwrt.git] / toolchain / gcc / Config.version
1 config GCC_DEFAULT_VERSION
2         bool
3
4 config GCC_DEFAULT_VERSION_4_3_3_CS
5         select GCC_DEFAULT_VERSION
6         bool
7
8 config GCC_DEFAULT_VERSION_4_3_5
9         select GCC_DEFAULT_VERSION
10         default y if (avr32 || powerpc64 || TARGET_coldfire || TARGET_etrax)
11         bool
12
13 config GCC_DEFAULT_VERSION_4_4_5
14         select GCC_DEFAULT_VERSION
15         default y if (powerpc || ubicom32)
16         bool
17
18 config GCC_DEFAULT_VERSION_LINARO
19         default y if !(GCC_DEFAULT_VERSION)
20         bool
21
22
23 config GCC_VERSION
24         string
25         default "4.3.3+cs"  if GCC_VERSION_4_3_3_CS
26         default "4.3.5"     if GCC_VERSION_4_3_5
27         default "4.4.1+cs"  if GCC_VERSION_4_4_1_CS
28         default "4.4.5"     if GCC_VERSION_4_4_5
29         default "4.6.1"     if GCC_VERSION_4_6_1
30         default "linaro"    if GCC_VERSION_LINARO
31         default "llvm"      if GCC_VERSION_LLVM
32         default "linaro"
33
34 config GCC_VERSION_4_3
35         bool
36         default y       if GCC_VERSION_4_3_3_CS
37         default y       if GCC_VERSION_4_3_5
38
39 config GCC_VERSION_4_4
40         bool
41         default y       if GCC_VERSION_4_4_1_CS
42         default y       if GCC_VERSION_4_4_5
43
44 config GCC_VERSION_4_5
45         bool
46         default y       if GCC_VERSION_LINARO
47
48 config GCC_VERSION_4_6
49         bool
50         default y       if GCC_VERSION_4_6_1
51
52 if !TOOLCHAINOPTS
53
54         config GCC_VERSION_4_3_3_CS
55                 default y if GCC_DEFAULT_VERSION_4_3_3_CS
56                 bool
57
58         config GCC_VERSION_4_3_5
59                 default y if GCC_DEFAULT_VERSION_4_3_5
60                 bool
61
62         config GCC_VERSION_4_4_5
63                 default y if GCC_DEFAULT_VERSION_4_4_5
64                 bool
65
66         config GCC_VERSION_LINARO
67                 default y if GCC_DEFAULT_VERSION_LINARO
68                 bool
69
70
71 endif