[backfire] scripts: merge r29944 - r29948
[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.2"     if GCC_VERSION_4_4_2
11         default "4.4.3"     if GCC_VERSION_4_4_3
12         default "4.1.2"
13
14 config GCC_VERSION_3
15         bool
16         default y       if GCC_VERSION_3_4_6
17
18 config GCC_VERSION_3_4
19         bool
20         default y       if GCC_VERSION_3_4_6
21
22 if !LINUX_2_4
23
24 config GCC_VERSION_4
25         bool
26         default y       if GCC_VERSION_4_1
27         default y       if GCC_VERSION_4_2
28         default y       if GCC_VERSION_4_3
29         default y       if GCC_VERSION_4_4
30
31 config GCC_VERSION_4_1
32         bool
33         default y       if GCC_VERSION_4_1_2
34
35 config GCC_VERSION_4_2
36         bool
37         default y       if GCC_VERSION_4_2_4
38
39 config GCC_VERSION_4_3
40         bool
41         default y       if GCC_VERSION_4_3_3
42         default y       if GCC_VERSION_4_3_3_CS
43         default y       if GCC_VERSION_4_3_4
44
45 config GCC_VERSION_4_4
46         bool
47         default y       if GCC_VERSION_4_4_1
48         default y       if GCC_VERSION_4_4_2
49         default y       if GCC_VERSION_4_4_3
50
51 endif
52
53 if !TOOLCHAINOPTS
54         config GCC_VERSION_3_4_6
55                 default y if LINUX_2_4
56
57 if !LINUX_2_4
58         config GCC_VERSION_4_2_4
59                 default y if avr32
60
61         config GCC_VERSION_4_3_3
62                 default y if powerpc64
63
64         config GCC_VERSION_4_3_3_CS
65                 default y if (mips || mipsel)
66                 default y if (arm || armeb)
67
68         config GCC_VERSION_4_4_1
69                 default y if ubicom32
70
71         config GCC_VERSION_4_4_3
72                 default y if powerpc
73
74 endif
75 endif