toolchain/gcc-4.6-linaro: fix v4bx patch
[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_4_6_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.2"     if GCC_VERSION_4_6_2
18         default "4.5-linaro"    if GCC_VERSION_4_5_LINARO
19         default "4.6-linaro"    if GCC_VERSION_4_6_LINARO
20         default "llvm"      if GCC_VERSION_LLVM
21         default "4.6-linaro"
22
23 config GCC_VERSION_4_4
24         bool
25         default y       if GCC_VERSION_4_4_6
26
27 config GCC_VERSION_4_5
28         bool
29         default y       if GCC_VERSION_4_5_LINARO
30
31 config GCC_VERSION_4_6
32         bool
33         default y       if (GCC_VERSION_4_6_2 || GCC_VERSION_4_6_LINARO)
34
35 if !TOOLCHAINOPTS
36
37         config GCC_VERSION_4_4_6
38                 default y if GCC_DEFAULT_VERSION_4_4_6
39                 bool
40
41         config GCC_VERSION_4_6_LINARO
42                 default y if GCC_DEFAULT_VERSION_4_6_LINARO
43                 bool
44
45 endif