combine the two gcc-4.4.1 selects into a single one
[openwrt/staging/wigyori.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 "llvm" if GCC_VERSION_LLVM
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 default y if GCC_VERSION_LLVM
39
40 config GCC_VERSION_4_3
41 bool
42 default y if GCC_VERSION_4_3_3
43 default y if GCC_VERSION_4_3_3_CS
44 default y if GCC_VERSION_4_3_4
45
46 config GCC_VERSION_4_4
47 bool
48 default y if GCC_VERSION_4_4_1
49 default y if GCC_VERSION_4_4_2
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 TARGET_avr32
60 default y if TARGET_ppc40x
61 default y if TARGET_ppc44x
62
63 config GCC_VERSION_4_3_3
64 default y if powerpc64
65 default y if TARGET_etrax
66 default y if TARGET_coldfire
67
68 config GCC_VERSION_4_3_3_CS
69 default y if mips || mipsel
70 default y if arm || armeb
71
72 config GCC_VERSION_4_4_1
73 default y if ubicom32
74 default y if TARGET_octeon
75 endif
76 endif