gcc: add GCC 4.7.2
[openwrt/staging/yousong.git] / toolchain / gcc / Config.version
1 config GCC_DEFAULT_VERSION
2 bool
3
4 config GCC_DEFAULT_VERSION_4_4_7
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.7" if GCC_VERSION_4_4_7
17 default "4.6.2" if GCC_VERSION_4_6_2
18 default "4.6.3" if GCC_VERSION_4_6_3
19 default "4.7.0" if GCC_VERSION_4_7_0
20 default "4.7.2" if GCC_VERSION_4_7_2
21 default "4.5-linaro" if GCC_VERSION_4_5_LINARO
22 default "4.6-linaro" if GCC_VERSION_4_6_LINARO
23 default "4.7-linaro" if GCC_VERSION_4_7_LINARO
24 default "llvm" if GCC_VERSION_LLVM
25 default "4.6-linaro"
26
27 config GCC_VERSION_4_4
28 bool
29 default y if GCC_VERSION_4_4_7
30
31 config GCC_VERSION_4_5
32 bool
33 default y if GCC_VERSION_4_5_LINARO
34
35 config GCC_VERSION_4_6
36 bool
37 default y if (GCC_VERSION_4_6_2 || GCC_VERSION_4_6_3 || GCC_VERSION_4_6_LINARO)
38
39 config GCC_VERSION_4_7
40 bool
41 default y if (GCC_VERSION_4_7_0 || GCC_VERSION_4_7_2 || GCC_VERSION_4_7_LINARO)
42
43 if !TOOLCHAINOPTS
44
45 config GCC_VERSION_4_4_7
46 default y if GCC_DEFAULT_VERSION_4_4_7
47 bool
48
49 config GCC_VERSION_4_6_LINARO
50 default y if GCC_DEFAULT_VERSION_4_6_LINARO
51 bool
52
53 endif