modify the kconfig system for openwrt
[openwrt-10.03/.git] / toolchain / Config.in.devel
1 #
2
3 menu "Toolchain Options"
4
5 source "toolchain/uClibc/Config.in"
6 source "toolchain/binutils/Config.in"
7 source "toolchain/gcc/Config.in"
8
9
10 comment "Common Toolchain Options"
11
12 config BR2_ENABLE_MULTILIB
13         bool "Enable multilib support?"
14         default n
15         help
16             If you want multilib enabled, enable this...
17
18 config BR2_LARGEFILE
19         bool "Enable large file (files > 2 GB) support?"
20         depends on !BR2_cris
21         default y
22         help
23             Enable large file (files > 2 GB) support
24
25 config BR2_SOFT_FLOAT
26         bool "Use software floating point by default"
27         default n
28         depends on BR2_arm || BR2_mips || BR2_powerpc
29         help
30           If your target CPU does not have a Floating Point Unit (FPU) or a
31           kernel FPU emulator, but you still wish to support floating point
32           functions, then everything will need to be compiled with soft floating
33           point support (-msoft-float).
34
35           Most people will answer N.
36
37 config BR2_TARGET_OPTIMIZATION
38         string "Target Optimizations"
39         default "-Os -pipe -march=i486 -funit-at-a-time" if BR2_i386
40         default "-Os -pipe -mips32 -mtune=mips32 -funit-at-a-time" if BR2_mipsel || BR2_mips
41         default "-Os -pipe -funit-at-a-time"
42         help
43           Optimizations to use when building for the target host.
44
45 # Might be worth experimenting with for gcc 3.4.x.
46 #GCC_WITH_CPU:=
47 #GCC_WITH_ARCH:=
48 #GCC_WITH_TUNE:=
49
50 #GCC_WITH_CPU:=--with-cpu=
51 #GCC_WITH_ARCH:=--with-arch=
52 #GCC_WITH_TUNE:=--with-tune=
53
54
55 endmenu
56