26081b99370a064ae6ca93ad81798ad012259973
[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 "linaro"    if GCC_VERSION_LINARO
9         default "llvm"      if GCC_VERSION_LLVM
10         default "linaro"
11
12 config GCC_VERSION_4_3
13         bool
14         default y       if GCC_VERSION_4_3_3_CS
15         default y       if GCC_VERSION_4_3_5
16
17 config GCC_VERSION_4_4
18         bool
19         default y       if GCC_VERSION_4_4_1_CS
20         default y       if GCC_VERSION_4_4_5
21
22 config GCC_VERSION_4_5
23         bool
24         default y       if GCC_VERSION_4_5_2
25         default y       if GCC_VERSION_LINARO
26
27 if !TOOLCHAINOPTS
28
29         config GCC_VERSION_4_3_3_CS
30                 default y if (mips || mipsel) && !(TARGET_octeon || TARGET_sibyte)
31                 default y if (arm || armeb) && !(TARGET_gemini || TARGET_cns21xx || TARGET_omap35xx)
32
33         config GCC_VERSION_4_3_5
34                 default y if avr32
35                 default y if powerpc64
36                 default y if TARGET_etrax
37                 default y if TARGET_coldfire
38                 default y if TARGET_gemini
39                 default y if TARGET_cns21xx
40
41         config GCC_VERSION_4_4_5
42                 default y if (TARGET_octeon || TARGET_sibyte || TARGET_omap35xx)
43                 default y if powerpc
44                 default y if ubicom32
45
46         config GCC_VERSION_LINARO
47                 default y
48
49 endif