octeon: select gcc 4.6 by default
[openwrt.git] / toolchain / gcc / Config.version
1 config GCC_VERSION_4_4_7
2         default y if (!TOOLCHAINOPTS && avr32)
3         bool
4
5 config GCC_VERSION_4_6_LINARO
6         default y if (!TOOLCHAINOPTS && TARGET_octeon)
7         bool
8
9 config GCC_VERSION_4_8_LINARO
10         default y if (!TOOLCHAINOPTS && !avr32 && !TARGET_octeon)
11         bool
12
13 config GCC_VERSION_4_8_0
14         bool
15
16 config GCC_VERSION
17         string
18         default "4.4.7"     if GCC_VERSION_4_4_7
19         default "4.6.3"     if GCC_VERSION_4_6_3
20         default "4.8.0"     if GCC_VERSION_4_8_0
21         default "4.6-linaro"    if GCC_VERSION_4_6_LINARO
22         default "4.8-linaro"    if GCC_VERSION_4_8_LINARO
23         default "4.6-linaro"
24
25 config GCC_VERSION_4_4
26         bool
27         default y       if GCC_VERSION_4_4_7
28
29 config GCC_VERSION_4_6
30         bool
31         default y       if GCC_VERSION_4_6_LINARO
32
33 config GCC_VERSION_4_8
34         bool
35         default y       if (GCC_VERSION_4_8_0 || GCC_VERSION_4_8_LINARO)
36