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 menuconfig EXTRA_TARGET_ARCH
15 prompt "Enable an extra toolchain target architecture" if TOOLCHAINOPTS
18 Some builds may require a 'biarch' toolchain. This option
19 allows you to specify an additional target arch.
21 Most people will answer N here.
23 config EXTRA_TARGET_ARCH_NAME
25 prompt "Extra architecture name" if EXTRA_TARGET_ARCH
27 Specify the cpu name (eg powerpc64 or x86_64) of the
28 additional target architecture.
30 config EXTRA_TARGET_ARCH_OPTS
32 prompt "Extra architecture compiler options" if EXTRA_TARGET_ARCH
34 If you're specifying an addition target architecture,
35 you'll probably need to also provide options to make
36 the compiler use this alternate arch.
38 For example, if you're building a compiler that can build
39 both powerpc and powerpc64 binaries, you'll need to
42 source "toolchain/binutils/Config.in"
43 source "toolchain/gcc/Config.in"
46 prompt "LIBC implementation" if TOOLCHAINOPTS
49 Select the LIBC implementation.
66 source "toolchain/eglibc/Config.in"
67 source "toolchain/glibc/Config.in"
68 source "toolchain/uClibc/Config.in"
72 prompt "Build gdb" if TOOLCHAINOPTS
75 Enable if you want to build the gdb
79 prompt "Enable large file (files > 2 GB) support?" if TOOLCHAINOPTS
82 Enable large file (files > 2 GB) support
84 config SHADOW_PASSWORDS
86 prompt "Enable shadow password support?" if TOOLCHAINOPTS
89 Enable shadow password support.
93 prompt "Use software floating point by default" if TOOLCHAINOPTS
95 depends on (arm || armeb || powerpc) && !HAS_FPU
97 If your target CPU does not have a Floating Point Unit (FPU) or a
98 kernel FPU emulator, but you still wish to support floating point
99 functions, then everything will need to be compiled with soft floating
100 point support (-msoft-float).
102 Most people will answer N.
104 config TARGET_OPTIMIZATION
106 prompt "Target Optimizations" if TOOLCHAINOPTS
107 default DEFAULT_TARGET_OPTIMIZATION
109 Optimizations to use when building for the target host.
113 default y if !TOOLCHAINOPTS
115 source "toolchain/gcc/Config.version"
117 source "toolchain/eglibc/Config.version"
118 source "toolchain/glibc/Config.version"
119 source "toolchain/uClibc/Config.version"
123 default "eglibc" if USE_EGLIBC
124 default "glibc" if USE_GLIBC
125 default "uClibc" if USE_UCLIBC
129 default EGLIBC_VERSION if USE_EGLIBC
130 default GLIBC_VERSION if USE_GLIBC
131 default UCLIBC_VERSION if USE_UCLIBC
135 default "gnueabi" if (USE_EGLIBC || USE_GLIBC) && EABI_SUPPORT
136 default "gnu" if (USE_EGLIBC || USE_GLIBC) && !EABI_SUPPORT
137 default "uclibcgnueabi" if USE_UCLIBC && EABI_SUPPORT
138 default "uclibc" if USE_UCLIBC && !EABI_SUPPORT