731e247893a2baf4fa87431ff1edcdf9c14bc0bb
[openwrt/openwrt.git] / toolchain / gcc / Config.version
1 config GCC_VERSION
2 string
3 default "4.1.2" if GCC_VERSION_4_1_2
4 default "4.2.4" if GCC_VERSION_4_2_4
5 default "4.3.3+cs" if GCC_VERSION_4_3_3_CS
6 default "4.3.5" if GCC_VERSION_4_3_5
7 default "4.4.1+cs" if GCC_VERSION_4_4_1_CS
8 default "4.4.5" if GCC_VERSION_4_4_5
9 default "4.5.1" if GCC_VERSION_4_5_1
10 default "4.5.1+l" if GCC_VERSION_4_5_1_LINARO
11 default "llvm" if GCC_VERSION_LLVM
12 default "4.1.2"
13
14 config GCC_VERSION_4
15 bool
16 default y if GCC_VERSION_4_1
17 default y if GCC_VERSION_4_2
18 default y if GCC_VERSION_4_3
19 default y if GCC_VERSION_4_4
20 default y if GCC_VERSION_4_5
21
22 config GCC_VERSION_4_1
23 bool
24 default y if GCC_VERSION_4_1_2
25
26 config GCC_VERSION_4_2
27 bool
28 default y if GCC_VERSION_4_2_4
29 default y if GCC_VERSION_LLVM
30
31 config GCC_VERSION_4_3
32 bool
33 default y if GCC_VERSION_4_3_3_CS
34 default y if GCC_VERSION_4_3_5
35
36 config GCC_VERSION_4_4
37 bool
38 default y if GCC_VERSION_4_4_1_CS
39 default y if GCC_VERSION_4_4_5
40
41 config GCC_VERSION_4_5
42 bool
43 default y if GCC_VERSION_4_5_1
44 default y if GCC_VERSION_4_5_1_LINARO
45
46 if !TOOLCHAINOPTS
47 config GCC_VERSION_4_2_4
48 default y if avr32
49
50 config GCC_VERSION_4_3_3_CS
51 default y if (mips || mipsel) && !(TARGET_octeon || TARGET_sibyte)
52 default y if (arm || armeb) && !(TARGET_gemini || TARGET_omap35xx)
53
54 config GCC_VERSION_4_3_5
55 default y if powerpc64
56 default y if TARGET_etrax
57 default y if TARGET_coldfire
58 default y if TARGET_gemini
59
60 config GCC_VERSION_4_4_5
61 default y if (TARGET_octeon || TARGET_sibyte || TARGET_omap35xx)
62 default y if powerpc
63 default y if ubicom32
64
65 endif