81d4374e4be33dd90a69f01f948e983f9f9e1c33
[oweals/openwrt.git] / toolchain / gcc / Config.version
1 config GCC_DEFAULT_VERSION
2         bool
3
4 config GCC_DEFAULT_VERSION_4_3_3_CS
5         select GCC_DEFAULT_VERSION
6         bool
7
8 config GCC_DEFAULT_VERSION_4_3_5
9         select GCC_DEFAULT_VERSION
10         bool
11
12 config GCC_DEFAULT_VERSION_4_4_6
13         select GCC_DEFAULT_VERSION
14         default y if (avr32 || ubicom32)
15         bool
16
17 config GCC_DEFAULT_VERSION_LINARO
18         default y if !(GCC_DEFAULT_VERSION)
19         bool
20
21
22 config GCC_VERSION
23         string
24         default "4.3.3+cs"  if GCC_VERSION_4_3_3_CS
25         default "4.3.5"     if GCC_VERSION_4_3_5
26         default "4.4.1+cs"  if GCC_VERSION_4_4_1_CS
27         default "4.4.6"     if GCC_VERSION_4_4_6
28         default "4.6.1"     if GCC_VERSION_4_6_1
29         default "linaro"    if GCC_VERSION_LINARO
30         default "llvm"      if GCC_VERSION_LLVM
31         default "linaro"
32
33 config GCC_VERSION_4_3
34         bool
35         default y       if GCC_VERSION_4_3_3_CS
36         default y       if GCC_VERSION_4_3_5
37
38 config GCC_VERSION_4_4
39         bool
40         default y       if GCC_VERSION_4_4_1_CS
41         default y       if GCC_VERSION_4_4_6
42
43 config GCC_VERSION_4_5
44         bool
45         default y       if GCC_VERSION_LINARO
46
47 config GCC_VERSION_4_6
48         bool
49         default y       if GCC_VERSION_4_6_1
50
51 if !TOOLCHAINOPTS
52
53         config GCC_VERSION_4_3_3_CS
54                 default y if GCC_DEFAULT_VERSION_4_3_3_CS
55                 bool
56
57         config GCC_VERSION_4_3_5
58                 default y if GCC_DEFAULT_VERSION_4_3_5
59                 bool
60
61         config GCC_VERSION_4_4_6
62                 default y if GCC_DEFAULT_VERSION_4_4_6
63                 bool
64
65         config GCC_VERSION_LINARO
66                 default y if GCC_DEFAULT_VERSION_LINARO
67                 bool
68
69
70 endif