3cfc60ae20d60894ddf58489a6ed1d95f67ffa71
[openwrt-10.03/.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.1"     if GCC_VERSION_4_4_1
10         default "4.4.1+cs"  if GCC_VERSION_4_4_1_CS
11         default "4.4.2"     if GCC_VERSION_4_4_2
12         default "4.4.3"     if GCC_VERSION_4_4_3
13         default "4.4.3+cs"  if GCC_VERSION_4_4_3_CS
14         default "llvm"      if GCC_VERSION_LLVM
15         default "4.1.2"
16
17 config GCC_VERSION_3
18         bool
19         default y       if GCC_VERSION_3_4_6
20
21 config GCC_VERSION_3_4
22         bool
23         default y       if GCC_VERSION_3_4_6
24
25 if !LINUX_2_4
26
27 config GCC_VERSION_4
28         bool
29         default y       if GCC_VERSION_4_1
30         default y       if GCC_VERSION_4_2
31         default y       if GCC_VERSION_4_3
32         default y       if GCC_VERSION_4_4
33
34 config GCC_VERSION_4_1
35         bool
36         default y       if GCC_VERSION_4_1_2
37
38 config GCC_VERSION_4_2
39         bool
40         default y       if GCC_VERSION_4_2_4
41         default y       if GCC_VERSION_LLVM
42
43 config GCC_VERSION_4_3
44         bool
45         default y       if GCC_VERSION_4_3_3
46         default y       if GCC_VERSION_4_3_3_CS
47         default y       if GCC_VERSION_4_3_4
48
49 config GCC_VERSION_4_4
50         bool
51         default y       if GCC_VERSION_4_4_1
52         default y       if GCC_VERSION_4_4_1_CS
53         default y       if GCC_VERSION_4_4_2
54         default y       if GCC_VERSION_4_4_3
55         default y       if GCC_VERSION_4_4_3_CS
56
57 endif
58
59 if !TOOLCHAINOPTS
60         config GCC_VERSION_3_4_6
61                 default y if LINUX_2_4
62
63 if !LINUX_2_4
64         config GCC_VERSION_4_2_4
65                 default y if avr32
66
67         config GCC_VERSION_4_3_3
68                 default y if powerpc64
69                 default y if TARGET_coldfire
70
71         config GCC_VERSION_4_3_4
72                 default y if TARGET_gemini
73
74         config GCC_VERSION_4_3_3_CS
75                 default y if (mips || mipsel) && !(TARGET_octeon || TARGET_sibyte)
76                 default y if (arm || armeb) && !TARGET_gemini
77
78         config GCC_VERSION_4_4_1
79                 default y if ubicom32
80
81         config GCC_VERSION_4_4_3
82                 default y if powerpc
83                 default y if (TARGET_octeon || TARGET_sibyte)
84
85 endif
86 endif