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