2 config NATIVE_TOOLCHAIN
4 prompt "Use host's toolchain" if DEVEL && BROKEN
7 If enabled, OpenWrt will compile using your existing toolchain instead of compiling one
9 menuconfig TOOLCHAINOPTS
10 bool "Toolchain Options" if DEVEL
11 depends !NATIVE_TOOLCHAIN
13 source "toolchain/binutils/Config.in"
14 source "toolchain/gcc/Config.in"
15 source "toolchain/uClibc/Config.in"
19 prompt "Build gdb" if TOOLCHAINOPTS
22 Enable if you want to build the gdb
26 prompt "Enable large file (files > 2 GB) support?" if TOOLCHAINOPTS
29 Enable large file (files > 2 GB) support
31 config SHADOW_PASSWORDS
33 prompt "Enable shadow password support?" if TOOLCHAINOPTS
36 Enable shadow password support.
40 prompt "Use software floating point by default" if TOOLCHAINOPTS
42 depends on arm || armeb || powerpc
44 If your target CPU does not have a Floating Point Unit (FPU) or a
45 kernel FPU emulator, but you still wish to support floating point
46 functions, then everything will need to be compiled with soft floating
47 point support (-msoft-float).
49 Most people will answer N.
51 config TARGET_OPTIMIZATION
53 prompt "Target Optimizations" if TOOLCHAINOPTS
54 default "-O2 -pipe -march=i686 -funit-at-a-time" if TARGET_x86_mediacenter
55 default "-O2 -pipe -march=i486 -funit-at-a-time" if TARGET_x86
56 default "-Os -pipe -march=i486 -funit-at-a-time" if TARGET_rdc
57 default "-Os -pipe -mips32 -mtune=mips32 -funit-at-a-time" if mipsel || mips
58 default "-Os -pipe -mabi=aapcs-linux -march=armv5te -mtune=xscale -funit-at-a-time" if armeb || arm
59 default "-Os -pipe -funit-at-a-time"
61 Optimizations to use when building for the target host.
63 source "toolchain/gcc/Config.version"
64 source "toolchain/uClibc/Config.version"