[toolchain]: use the linaro gcc by default (right now this only affects x86 targets)
[openwrt.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+cs"  if GCC_VERSION_4_3_3_CS
6         default "4.3.5"     if GCC_VERSION_4_3_5
7         default "4.4.1+cs"  if GCC_VERSION_4_4_1_CS
8         default "4.4.5"     if GCC_VERSION_4_4_5
9         default "4.5.2"     if GCC_VERSION_4_5_2
10         default "4.5.1+l"   if GCC_VERSION_4_5_1_LINARO
11         default "llvm"      if GCC_VERSION_LLVM
12         default "4.5.1+l"
13
14 config GCC_VERSION_4
15         bool
16         default y       if GCC_VERSION_4_1
17         default y       if GCC_VERSION_4_2
18         default y       if GCC_VERSION_4_3
19         default y       if GCC_VERSION_4_4
20         default y       if GCC_VERSION_4_5
21
22 config GCC_VERSION_4_1
23         bool
24         default y       if GCC_VERSION_4_1_2
25
26 config GCC_VERSION_4_2
27         bool
28         default y       if GCC_VERSION_4_2_4
29         default y       if GCC_VERSION_LLVM
30
31 config GCC_VERSION_4_3
32         bool
33         default y       if GCC_VERSION_4_3_3_CS
34         default y       if GCC_VERSION_4_3_5
35
36 config GCC_VERSION_4_4
37         bool
38         default y       if GCC_VERSION_4_4_1_CS
39         default y       if GCC_VERSION_4_4_5
40
41 config GCC_VERSION_4_5
42         bool
43         default y       if GCC_VERSION_4_5_2
44         default y       if GCC_VERSION_4_5_1_LINARO
45
46 if !TOOLCHAINOPTS
47
48         config GCC_VERSION_4_3_3_CS
49                 default y if (mips || mipsel) && !(TARGET_octeon || TARGET_sibyte)
50                 default y if (arm || armeb) && !(TARGET_gemini || TARGET_cns21xx || TARGET_omap35xx)
51
52         config GCC_VERSION_4_3_5
53                 default y if avr32
54                 default y if powerpc64
55                 default y if TARGET_etrax
56                 default y if TARGET_coldfire
57                 default y if TARGET_gemini
58                 default y if TARGET_cns21xx
59
60         config GCC_VERSION_4_4_5
61                 default y if (TARGET_octeon || TARGET_sibyte || TARGET_omap35xx)
62                 default y if powerpc
63                 default y if ubicom32
64
65         config GCC_VERSION_4_5_1_LINARO
66                 default y if sparc
67
68 endif