upgrade to a new public hal build - contains several minor fixes including ani improv...
[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 menuconfig EXTRA_TARGET_ARCH
14 bool
15 prompt "Enable an extra toolchain target architecture" if TOOLCHAINOPTS
16 default y if TARGET_ps3
17 default n
18 help
19 Some builds may require a 'biarch' toolchain. This option
20 allows you to specify an additional target arch.
21
22 Most people will answer N here.
23
24 config EXTRA_TARGET_ARCH_NAME
25 string
26 default "powerpc64" if TARGET_ps3
27 prompt "Extra architecture name" if EXTRA_TARGET_ARCH
28 help
29 Specify the cpu name (eg powerpc64 or x86_64) of the
30 additional target architecture.
31
32 config EXTRA_TARGET_ARCH_OPTS
33 string
34 default "-m64" if TARGET_ps3
35 prompt "Extra architecture compiler options" if EXTRA_TARGET_ARCH
36 help
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.
40
41 For example, if you're building a compiler that can build
42 both powerpc and powerpc64 binaries, you'll need to
43 specify -m64 here.
44
45 source "toolchain/binutils/Config.in"
46 source "toolchain/gcc/Config.in"
47
48 choice
49 prompt "LIBC implementation" if TOOLCHAINOPTS
50 default USE_UCLIBC
51 help
52 Select the LIBC implementation.
53
54 config USE_EGLIBC
55 bool "Use eglibc"
56 depends !avr32
57 select NO_STRIP
58
59 config USE_GLIBC
60 bool "Use glibc"
61 depends !avr32
62 select NO_STRIP
63
64 config USE_UCLIBC
65 bool "Use uClibc"
66
67 endchoice
68
69 source "toolchain/eglibc/Config.in"
70 source "toolchain/glibc/Config.in"
71 source "toolchain/uClibc/Config.in"
72
73 config GDB
74 bool
75 prompt "Build gdb" if TOOLCHAINOPTS
76 default n
77 help
78 Enable if you want to build the gdb
79
80 config LARGEFILE
81 bool
82 prompt "Enable large file (files > 2 GB) support?" if TOOLCHAINOPTS
83 default y
84 help
85 Enable large file (files > 2 GB) support
86
87 config SHADOW_PASSWORDS
88 bool
89 prompt "Enable shadow password support?" if TOOLCHAINOPTS
90 default y
91 help
92 Enable shadow password support.
93
94 config SOFT_FLOAT
95 bool
96 prompt "Use software floating point by default" if TOOLCHAINOPTS
97 default y
98 depends on (arm || armeb || powerpc) && !HAS_FPU
99 help
100 If your target CPU does not have a Floating Point Unit (FPU) or a
101 kernel FPU emulator, but you still wish to support floating point
102 functions, then everything will need to be compiled with soft floating
103 point support (-msoft-float).
104
105 Most people will answer N.
106
107 config TARGET_OPTIMIZATION
108 string
109 prompt "Target Optimizations" if TOOLCHAINOPTS
110 default DEFAULT_TARGET_OPTIMIZATION
111 help
112 Optimizations to use when building for the target host.
113
114 config USE_UCLIBC
115 bool
116 default y if !TOOLCHAINOPTS
117
118 source "toolchain/gcc/Config.version"
119
120 source "toolchain/eglibc/Config.version"
121 source "toolchain/glibc/Config.version"
122 source "toolchain/uClibc/Config.version"
123
124 config LIBC
125 string
126 default "eglibc" if USE_EGLIBC
127 default "glibc" if USE_GLIBC
128 default "uClibc" if USE_UCLIBC
129
130 config LIBC_VERSION
131 string
132 default EGLIBC_VERSION if USE_EGLIBC
133 default GLIBC_VERSION if USE_GLIBC
134 default UCLIBC_VERSION if USE_UCLIBC
135
136 config TARGET_SUFFIX
137 string
138 default "gnueabi" if (USE_EGLIBC || USE_GLIBC) && EABI_SUPPORT
139 default "gnu" if (USE_EGLIBC || USE_GLIBC) && !EABI_SUPPORT
140 default "uclibcgnueabi" if USE_UCLIBC && EABI_SUPPORT
141 default "uclibc" if USE_UCLIBC && !EABI_SUPPORT
142
This page took 0.065866 seconds and 5 git commands to generate.