[toolchain]: get rid of gcc 4.1.2 and 4.2.4 support
[openwrt.git] / toolchain / gcc / Config.version
1 config GCC_VERSION
2         string
3         default "4.3.3+cs"  if GCC_VERSION_4_3_3_CS
4         default "4.3.5"     if GCC_VERSION_4_3_5
5         default "4.4.1+cs"  if GCC_VERSION_4_4_1_CS
6         default "4.4.5"     if GCC_VERSION_4_4_5
7         default "4.5.2"     if GCC_VERSION_4_5_2
8         default "4.5.1+l"   if GCC_VERSION_4_5_1_LINARO
9         default "llvm"      if GCC_VERSION_LLVM
10         default "4.5.1+l"
11
12 config GCC_VERSION_4
13         bool
14         default y       if GCC_VERSION_4_2
15         default y       if GCC_VERSION_4_3
16         default y       if GCC_VERSION_4_4
17         default y       if GCC_VERSION_4_5
18
19 config GCC_VERSION_4_2
20         bool
21         default y       if GCC_VERSION_LLVM
22
23 config GCC_VERSION_4_3
24         bool
25         default y       if GCC_VERSION_4_3_3_CS
26         default y       if GCC_VERSION_4_3_5
27
28 config GCC_VERSION_4_4
29         bool
30         default y       if GCC_VERSION_4_4_1_CS
31         default y       if GCC_VERSION_4_4_5
32
33 config GCC_VERSION_4_5
34         bool
35         default y       if GCC_VERSION_4_5_2
36         default y       if GCC_VERSION_4_5_1_LINARO
37
38 if !TOOLCHAINOPTS
39
40         config GCC_VERSION_4_3_3_CS
41                 default y if (mips || mipsel) && !(TARGET_octeon || TARGET_sibyte)
42                 default y if (arm || armeb) && !(TARGET_gemini || TARGET_cns21xx || TARGET_omap35xx)
43
44         config GCC_VERSION_4_3_5
45                 default y if avr32
46                 default y if powerpc64
47                 default y if TARGET_etrax
48                 default y if TARGET_coldfire
49                 default y if TARGET_gemini
50                 default y if TARGET_cns21xx
51
52         config GCC_VERSION_4_4_5
53                 default y if (TARGET_octeon || TARGET_sibyte || TARGET_omap35xx)
54                 default y if powerpc
55                 default y if ubicom32
56
57         config GCC_VERSION_4_5_1_LINARO
58                 default y if sparc
59
60 endif