49129073404513c335172e9a5b4be1a13a2d03ac
[openwrt.git] / toolchain / gcc / Config.in
1 # Choose gcc version.
2
3 if !TOOLCHAINOPTS
4         config GCC_VERSION_3_4_4
5                 default y if LINUX_2_4_BRCM
6                 
7         config GCC_VERSION_4_0_3
8                 default y if LINUX_2_6_ARUBA
9
10 endif
11
12 choice
13         prompt "GCC compiler Version" if TOOLCHAINOPTS
14         default GCC_VERSION_4_0_3 if LINUX_2_6_ARUBA
15         default GCC_VERSION_3_4_4 if LINUX_2_4_BRCM
16         default GCC_VERSION_3_4_6
17         help
18           Select the version of gcc you wish to use.
19
20
21         config GCC_VERSION_3_4_4
22                 bool "gcc 3.4.4"
23
24         config GCC_VERSION_3_4_5
25                 bool "gcc 3.4.5"
26
27         config GCC_VERSION_3_4_6
28                 bool "gcc 3.4.6"
29
30         config GCC_VERSION_4_0_2
31                 bool "gcc 4.0.2"
32
33         config GCC_VERSION_4_0_3
34                 bool "gcc 4.0.3"
35
36         config GCC_VERSION_4_1_0
37                 bool "gcc 4.1.0"
38
39         config GCC_VERSION_4_1_1
40                 bool "gcc 4.1.1"
41
42 endchoice
43
44 config GCC_VERSION
45         string
46         prompt "GCC compiler Version" if (TOOLCHAINOPTS && NULL)
47         default "3.4.4"     if GCC_VERSION_3_4_4
48         default "3.4.5"     if GCC_VERSION_3_4_5
49         default "3.4.6"     if GCC_VERSION_3_4_6
50         default "4.0.2"     if GCC_VERSION_4_0_2
51         default "4.0.3"     if GCC_VERSION_4_0_3
52         default "4.1.0"     if GCC_VERSION_4_1_0
53         default "4.1.1"     if GCC_VERSION_4_1_1
54         default "3.4.6"
55
56
57 config EXTRA_GCC_CONFIG_OPTIONS
58         string
59         prompt "Additional gcc options" if TOOLCHAINOPTS
60         default ""
61         help
62             Any additional gcc options you may want to include....
63
64 config INSTALL_LIBSTDCPP
65         bool
66         prompt "Build/install c++ compiler and libstdc++?" if TOOLCHAINOPTS
67         default y
68         help
69             Build/install c++ compiler and libstdc++?
70