1034edc571399ecd6b028cbb90bb2d897b0f9cf9
[openwrt/staging/chunkeey.git] / toolchain / gcc / Config.version
1 config GCC_VERSION
2 string
3 default "3.4.6" if GCC_VERSION_3_4_6
4 default "4.1.2" if GCC_VERSION_4_1_2
5 default "4.2.4" if GCC_VERSION_4_2_4
6 default "4.3.3" if GCC_VERSION_4_3_3
7 default "4.3.3+cs" if GCC_VERSION_4_3_3_CS
8 default "4.3.4" if GCC_VERSION_4_3_4
9 default "4.4.0" if GCC_VERSION_4_4_0
10 default "4.4.1" if GCC_VERSION_4_4_1
11 default "4.4.2" if GCC_VERSION_4_4_2
12 default "llvm" if GCC_VERSION_LLVM
13 default "4.1.2"
14
15 config GCC_VERSION_3
16 bool
17 default y if GCC_VERSION_3_4_6
18
19 config GCC_VERSION_3_4
20 bool
21 default y if GCC_VERSION_3_4_6
22
23 if !LINUX_2_4
24
25 config GCC_VERSION_4
26 bool
27 default y if GCC_VERSION_4_1
28 default y if GCC_VERSION_4_2
29 default y if GCC_VERSION_4_3
30 default y if GCC_VERSION_4_4
31
32 config GCC_VERSION_4_1
33 bool
34 default y if GCC_VERSION_4_1_2
35
36 config GCC_VERSION_4_2
37 bool
38 default y if GCC_VERSION_4_2_4
39 default y if GCC_VERSION_LLVM
40
41 config GCC_VERSION_4_3
42 bool
43 default y if GCC_VERSION_4_3_3
44 default y if GCC_VERSION_4_3_3_CS
45 default y if GCC_VERSION_4_3_4
46
47 config GCC_VERSION_4_4
48 bool
49 default y if GCC_VERSION_4_4_0
50 default y if GCC_VERSION_4_4_1
51 default y if GCC_VERSION_4_4_2
52
53 endif
54
55 if !TOOLCHAINOPTS
56 config GCC_VERSION_3_4_6
57 default y if LINUX_2_4
58
59 if !LINUX_2_4
60 config GCC_VERSION_4_2_4
61 default y if TARGET_avr32
62 default y if TARGET_ppc40x
63 default y if TARGET_ppc44x
64
65 config GCC_VERSION_4_3_3
66 default y if powerpc64
67 default y if TARGET_etrax
68 default y if TARGET_coldfire
69
70 config GCC_VERSION_4_3_3_CS
71 default y if mips || mipsel
72 default y if arm || armeb
73
74 config GCC_VERSION_4_4_0
75 default y if ubicom32
76
77 config GCC_VERSION_4_4_1
78 default y if TARGET_octeon
79 endif
80 endif