[toolchain/gcc]: add support for Linaro GCC 2010.10
[openwrt.git] / toolchain / gcc / Config.in
1 # Choose gcc version.
2
3 choice
4         prompt "GCC compiler Version" if TOOLCHAINOPTS
5         default GCC_VERSION_4_2_4 if avr32
6         default GCC_VERSION_4_3_5 if powerpc64
7         default GCC_VERSION_4_3_5 if (TARGET_coldfire || TARGET_etrax || TARGET_gemini)
8         default GCC_VERSION_4_3_3_CS if (arm || armeb) && !(TARGET_gemini || TARGET_omap35xx)
9         default GCC_VERSION_4_3_3_CS if (mips || mipsel) && !(TARGET_octeon || TARGET_sibyte)
10         default GCC_VERSION_4_4_5 if (powerpc || ubicom32)
11         default GCC_VERSION_4_4_5 if (TARGET_omap35xx || TARGET_octeon || TARGET_sibyte)
12         default GCC_VERSION_4_1_2
13         help
14           Select the version of gcc you wish to use.
15
16         config GCC_VERSION_4_1_2
17                 bool "gcc 4.1.2"
18
19         config GCC_VERSION_4_2_4
20                 bool "gcc 4.2.4"
21
22         config GCC_VERSION_4_3_3
23                 bool "gcc 4.3.3"
24
25         config GCC_VERSION_4_3_4
26                 bool "gcc 4.3.4"
27
28         config GCC_VERSION_4_3_5
29                 bool "gcc 4.3.5"
30
31         config GCC_VERSION_4_4_1
32                 bool "gcc 4.4.1"
33
34         config GCC_VERSION_4_4_2
35                 bool "gcc 4.4.2"
36
37         config GCC_VERSION_4_4_3
38                 bool "gcc 4.4.3"
39
40         config GCC_VERSION_4_4_4
41                 bool "gcc 4.4.4"
42
43         config GCC_VERSION_4_4_5
44                 bool "gcc 4.4.5"
45
46         config GCC_VERSION_4_5_0
47                 bool "gcc 4.5.0"
48
49         config GCC_VERSION_4_5_1
50                 bool "gcc 4.5.1"
51
52         config GCC_VERSION_4_5_1_LINARO
53                 bool "gcc 4.5.1 with Linaro enhancements"
54
55         config GCC_VERSION_LLVM
56                 bool "llvm-gcc 4.2"
57                 depends BROKEN
58
59         config GCC_VERSION_4_3_3_CS
60                 bool "gcc 4.3.3 with CodeSourcery enhancements"
61
62         config GCC_VERSION_4_4_1_CS
63                 bool "gcc 4.4.1 with CodeSourcery enhancements"
64
65         config GCC_VERSION_4_4_3_CS
66                 bool "gcc 4.4.3 with CodeSourcery enhancements"
67                 depends BROKEN
68
69 endchoice
70
71 config GCC_USE_GRAPHITE
72         bool
73         prompt "Compile in support for the new Graphite framework in GCC 4.4+" if TOOLCHAINOPTS
74         depends GCC_VERSION_4_4 || GCC_VERSION_4_5
75
76 config GCC_USE_SYSTEM_PPL_CLOOG
77         bool
78         prompt "Use the system versions of PPL and CLooG"
79         depends GCC_USE_GRAPHITE
80         default n
81
82 config EXTRA_GCC_CONFIG_OPTIONS
83         string
84         prompt "Additional gcc configure options" if TOOLCHAINOPTS
85         default ""
86         help
87             Any additional gcc options you may want to include....
88
89 config SSP_SUPPORT
90         bool
91         prompt "Enable Stack-Smashing Protection support" if TOOLCHAINOPTS
92         default n
93         help
94             Enable Stack-Smashing Protection support
95
96 config TLS_SUPPORT
97         bool
98         depends UCLIBC_VERSION_NPTL
99         prompt "Enable Thread-local storage (TLS) support" if TOOLCHAINOPTS
100         default n
101         help
102             Enable Thread-local storage support
103
104 config INSTALL_LIBSTDCPP
105         bool
106         prompt "Build/install c++ compiler and libstdc++?" if TOOLCHAINOPTS
107         default y
108         help
109             Build/install c++ compiler and libstdc++?
110
111 config INSTALL_LIBGCJ
112         bool
113         depends on !(GCC_VERSION_4_1||GCC_VERSION_4_2)
114         prompt "Build/install java compiler and GNU classpath ?" if TOOLCHAINOPTS
115         default n
116         help
117             Build/install java compiler and GNU classpath ?