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
16 default y if TARGET_ps3
19 Some builds may require a 'biarch' toolchain. This option
20 allows you to specify an additional target arch.
22 Most people will answer N here.
24 config EXTRA_TARGET_ARCH_NAME
26 default "powerpc64" if TARGET_ps3
27 prompt "Extra architecture name" if EXTRA_TARGET_ARCH
29 Specify the cpu name (eg powerpc64 or x86_64) of the
30 additional target architecture.
32 config EXTRA_TARGET_ARCH_OPTS
34 default "-m64" if TARGET_ps3
35 prompt "Extra architecture compiler options" if EXTRA_TARGET_ARCH
37 If you're specifying an addition target architecture,
38 you'll probably need to also provide options to make
39 the compiler use this alternate arch.
41 For example, if you're building a compiler that can build
42 both powerpc and powerpc64 binaries, you'll need to
45 source "toolchain/binutils/Config.in"
46 source "toolchain/gcc/Config.in"
49 prompt "LIBC implementation" if TOOLCHAINOPTS
52 Select the LIBC implementation.
67 source "toolchain/eglibc/Config.in"
68 source "toolchain/glibc/Config.in"
69 source "toolchain/uClibc/Config.in"
73 prompt "Build gdb" if TOOLCHAINOPTS
76 Enable if you want to build the gdb
80 prompt "Enable large file (files > 2 GB) support?" if TOOLCHAINOPTS
83 Enable large file (files > 2 GB) support
85 config SHADOW_PASSWORDS
87 prompt "Enable shadow password support?" if TOOLCHAINOPTS
90 Enable shadow password support.
94 prompt "Use software floating point by default" if TOOLCHAINOPTS
96 depends on (arm || armeb || powerpc || mipsel || mips) && !HAS_FPU
98 If your target CPU does not have a Floating Point Unit (FPU) or a
99 kernel FPU emulator, but you still wish to support floating point
100 functions, then everything will need to be compiled with soft floating
101 point support (-msoft-float).
103 Most people will answer N.
105 config TARGET_OPTIMIZATION
107 prompt "Target Optimizations" if TOOLCHAINOPTS
108 default DEFAULT_TARGET_OPTIMIZATION
110 Optimizations to use when building for the target host.
114 default y if !TOOLCHAINOPTS
116 source "toolchain/gcc/Config.version"
118 source "toolchain/eglibc/Config.version"
119 source "toolchain/glibc/Config.version"
120 source "toolchain/uClibc/Config.version"
124 default "eglibc" if USE_EGLIBC
125 default "glibc" if USE_GLIBC
126 default "uClibc" if USE_UCLIBC
130 default EGLIBC_VERSION if USE_EGLIBC
131 default GLIBC_VERSION if USE_GLIBC
132 default UCLIBC_VERSION if USE_UCLIBC
136 default "gnueabi" if (USE_EGLIBC || USE_GLIBC) && EABI_SUPPORT
137 default "gnu" if (USE_EGLIBC || USE_GLIBC) && !EABI_SUPPORT
138 default "uclibcgnueabi" if USE_UCLIBC && EABI_SUPPORT
139 default "uclibc" if USE_UCLIBC && !EABI_SUPPORT