46da90070d47d34f3dbdd2651a52f3a6409058d3
[openwrt.git] / toolchain / gcc / Config.version
1 config GCC_DEFAULT_VERSION
2         bool
3
4 config GCC_DEFAULT_VERSION_4_4_6
5         select GCC_DEFAULT_VERSION
6         default y if (avr32 || ubicom32)
7         bool
8
9 config GCC_DEFAULT_VERSION_LINARO
10         default y if !(GCC_DEFAULT_VERSION)
11         bool
12
13
14 config GCC_VERSION
15         string
16         default "4.4.6"     if GCC_VERSION_4_4_6
17         default "4.6.1"     if GCC_VERSION_4_6_1
18         default "linaro"    if GCC_VERSION_LINARO
19         default "llvm"      if GCC_VERSION_LLVM
20         default "linaro"
21
22 config GCC_VERSION_4_4
23         bool
24         default y       if GCC_VERSION_4_4_6
25
26 config GCC_VERSION_4_5
27         bool
28         default y       if GCC_VERSION_LINARO
29
30 config GCC_VERSION_4_6
31         bool
32         default y       if GCC_VERSION_4_6_1
33
34 if !TOOLCHAINOPTS
35
36         config GCC_VERSION_4_4_6
37                 default y if GCC_DEFAULT_VERSION_4_4_6
38                 bool
39
40         config GCC_VERSION_LINARO
41                 default y if GCC_DEFAULT_VERSION_LINARO
42                 bool
43
44 endif