gcc: add llvm-gcc and llvm from trunk (does not successfully compile a target yet...
[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.4"     if GCC_VERSION_4_3_4
8         default "4.4.0"     if GCC_VERSION_4_4_0
9         default "4.4.1"     if GCC_VERSION_4_4_1
10         default "llvm"      if GCC_VERSION_LLVM
11         default "4.1.2"
12
13 config GCC_VERSION_3
14         bool
15         default y       if GCC_VERSION_3_4_6
16
17 config GCC_VERSION_3_4
18         bool
19         default y       if GCC_VERSION_3_4_6
20         
21 config GCC_VERSION_4
22         bool
23         default y       if GCC_VERSION_4_1
24         default y       if GCC_VERSION_4_2
25         default y       if GCC_VERSION_4_3
26         default y       if GCC_VERSION_4_4
27
28 config GCC_VERSION_4_1
29         bool
30         default y       if GCC_VERSION_4_1_2
31
32 config GCC_VERSION_4_2
33         bool
34         default y       if GCC_VERSION_4_2_4
35         default y       if GCC_VERSION_LLVM
36
37 config GCC_VERSION_4_3
38         bool
39         default y       if GCC_VERSION_4_3_3
40         default y       if GCC_VERSION_4_3_4
41
42 config GCC_VERSION_4_4
43         bool
44         default y       if GCC_VERSION_4_4_0
45         default y       if GCC_VERSION_4_4_1
46
47 if !TOOLCHAINOPTS
48         config GCC_VERSION_3_4_6
49                 default y if LINUX_2_4
50
51         config GCC_VERSION_4_2_4
52                 default y if TARGET_avr32
53                 default y if TARGET_ppc40x
54                 default y if TARGET_ppc44x
55
56         config GCC_VERSION_4_3_3
57                 default y if powerpc64
58                 default y if TARGET_etrax
59                 default y if TARGET_coldfire
60
61         config GCC_VERSION_4_4_0
62                 default y if ubicom32
63
64         config GCC_VERSION_4_4_1
65                 default y if TARGET_octeon
66 endif