fix initramfs
[openwrt.git] / toolchain / Config.in
1 #
2 config NATIVE_TOOLCHAIN
3 bool
4 prompt "Use host's toolchain" if DEVEL && BROKEN
5 default n
6 help
7 If enabled, OpenWrt will compile using your existing toolchain instead of compiling one
8
9 menuconfig TOOLCHAINOPTS
10 bool "Toolchain Options" if DEVEL
11 depends !NATIVE_TOOLCHAIN
12
13 source "toolchain/binutils/Config.in"
14 source "toolchain/gcc/Config.in"
15
16 config GDB
17 bool
18 prompt "Build gdb" if TOOLCHAINOPTS
19 default n
20 help
21 Enable if you want to build the gdb
22
23 config LARGEFILE
24 bool
25 prompt "Enable large file (files > 2 GB) support?" if TOOLCHAINOPTS
26 default y
27 help
28 Enable large file (files > 2 GB) support
29
30 config SOFT_FLOAT
31 bool
32 prompt "Use software floating point by default" if TOOLCHAINOPTS
33 default y
34 depends on arm || armeb || powerpc
35 help
36 If your target CPU does not have a Floating Point Unit (FPU) or a
37 kernel FPU emulator, but you still wish to support floating point
38 functions, then everything will need to be compiled with soft floating
39 point support (-msoft-float).
40
41 Most people will answer N.
42
43 config TARGET_OPTIMIZATION
44 string
45 prompt "Target Optimizations" if TOOLCHAINOPTS
46 default "-O2 -pipe -march=i686 -funit-at-a-time" if TARGET_x86_mediacenter
47 default "-O2 -pipe -march=i486 -funit-at-a-time" if TARGET_x86
48 default "-Os -pipe -march=i486 -funit-at-a-time" if TARGET_rdc
49 default "-Os -pipe -mips32 -mtune=mips32 -funit-at-a-time" if mipsel || mips
50 default "-Os -pipe -mabi=aapcs-linux -march=armv5te -mtune=xscale -funit-at-a-time" if armeb || arm
51 default "-Os -pipe -funit-at-a-time"
52 help
53 Optimizations to use when building for the target host.
54
55 source "toolchain/gcc/Config.version"
This page took 0.048695 seconds and 5 git commands to generate.