[toolchain] gcc: fix version selection for Magicbox
[openwrt.git] / toolchain / gcc / Config.in
1 # Choose gcc version.
2
3 choice
4         prompt "GCC compiler Version" if TOOLCHAINOPTS
5         default GCC_VERSION_3_4_6 if LINUX_2_4
6         default GCC_VERSION_4_2_0 if TARGET_magicbox
7         default GCC_VERSION_4_1_2
8         help
9           Select the version of gcc you wish to use.
10
11         config GCC_VERSION_3_4_6
12                 bool "gcc 3.4.6"
13
14         config GCC_VERSION_4_1_2
15                 depends !LINUX_2_4
16                 bool "gcc 4.1.2"
17
18         config GCC_VERSION_4_2_0
19                 depends !LINUX_2_4
20                 bool "gcc 4.2.0"
21
22         config GCC_VERSION_4_2_1
23                 depends !LINUX_2_4
24                 bool "gcc 4.2.1"
25
26         config GCC_VERSION_4_2_2
27                 depends !LINUX_2_4
28                 bool "gcc 4.2.2"
29
30 endchoice
31
32 config EXTRA_GCC_CONFIG_OPTIONS
33         string
34         prompt "Additional gcc options" if TOOLCHAINOPTS
35         default ""
36         help
37             Any additional gcc options you may want to include....
38
39 config INSTALL_LIBSTDCPP
40         bool
41         prompt "Build/install c++ compiler and libstdc++?" if TOOLCHAINOPTS
42         default y
43         help
44             Build/install c++ compiler and libstdc++?
45
46 config INSTALL_LIBGCJ
47         bool
48         prompt "Build/install java compiler and GNU classpath ?" if TOOLCHAINOPTS
49         default n
50         help
51             Build/install java compiler and GNU classpath ?