1 menu "Toolchain options"
3 comment "General toolchain options"
7 prompt "Use sysroot'ed toolchain"
10 Use the 'shinny new' sysroot feature of gcc: libraries split between
11 prefix/target/sys-root/lib and prefix/target/sys-root/usr/lib
13 You definitely want to say 'Y' here. Yes you do. I know you do. Say 'Y'.
17 prompt "Build shared libraries"
20 Say 'y' here, unless you don't want shared libraries.
22 You might not want shared librries if you're building for a target that
23 don't support it (maybe some nommu targets, for example, or bare metal).
27 prompt "Threading implentation to use:"
28 default THREADS_NPTL if LIBC_SUPPORT_NPTL
29 default THREADS_LINUXTHREADS if LIBC_SUPPORT_LINUXTHREADS && ! LIBC_SUPPORT_NPTL
30 default THREADS_NONE if ! LIBC_SUPPORT_LINUXTHREADS && ! LIBC_SUPPORT_NPTL
35 depends on LIBC_SUPPORT_NPTL
37 config THREADS_LINUXTHREADS
40 depends on LIBC_SUPPORT_LINUXTHREADS
50 default "nptl" if THREADS_NPTL
51 default "linuxthreads" if THREADS_LINUXTHREADS
52 default "none" if THREADS_NONE
54 config TARGET_MULTILIB
56 # prompt "Enable 'multilib' support (EXPERIMENTAL)"
59 Enable the so-called 'multilib' support.
61 With the same toolchain, and on some architectures, you will be able to
62 build big and little endian binaries, soft- and hard-float, etc...
64 See the gcc configure manual at http://gcc.gnu.org/install/configure.html
65 to see what multilib your target supports.
67 It's preferable for now to build two (or more) toolchains, one for each
68 configuration you need to support (eg. one for thumb and one for ARM,
69 etc...). You can use the vendor string to diferentiate those toolchains.
73 prompt "Vendor string"
76 Vendor part of the machine triplet.
78 A triplet is of the form arch-vendor-kernel-system.
79 You can set the second part, vendor, to whatever you see fit.
80 Use a single word, or use underscores "_" to separate words.
82 Keep the default (unkown) if you don't know better.
84 config TARGET_ALIAS_SED_EXPR
86 prompt "Target sed transform"
89 Normaly, you'd call your toolchain components (especially gcc) by
90 prefixing the target triplet followed by a dash and the component name
91 (eg. armeb-unknown-linux-uclibc-gcc).
93 You can enter here a sed expression to be applied to ${CT_TARGET} to
94 create an alias for your toolchain.
96 For example, "s/${CT_TARGET_VENDOR}/foobar/" (without the double quotes)
97 will create the armeb-foobar-linux-uclibc alias to the above-mentioned
100 You shouldn't need to enter anything here, unless you plan to manually
101 call the tools (autotools-based ./configure will use the standard name).
105 prompt "Target alias"
108 Normaly, you'd call your toolchain components (especially gcc) by
109 prefixing the target triplet followed by a dash and the component name
110 (eg. armeb-unknown-linux-uclibc-gcc).
112 You can enter a shortcut here. This string will be used to create
113 symbolic links to the toolchain tools (eg. if you enter "foo-bar" here,
114 then gcc for your toolchain will also be available as "foo-bar-gcc" along
115 with the original name).
117 You shouldn't need to enter anything here, unless you plan to manually
118 call the tools (autotools-based ./configure will use the standard name).
120 comment "Toolchain type"
129 prompt "Native (EXPERIMENTAL)"
130 depends on EXPERIMENTAL
132 Build a native toolchain.
133 See docs/overview.txt
139 Build a cross-toolchain.
140 See docs/overview.txt
144 prompt "Croos-native (EXPERIMENTAL)"
145 depends on EXPERIMENTAL
147 Build a cross-native toolchain.
148 See docs/overview.txt
152 prompt "Canadian (EXPERIMENTAL)"
153 depends on EXPERIMENTAL
155 Build a canadian-toolchain.
156 See docs/overview.txt
160 config TOOLCHAIN_TYPE
162 default "native" if NATIVE
163 default "cross" if CROSS
164 default "cross-native" if CROSS_NATIVE
165 default "canadian" if CANADIAN
169 prompt "Build system triplet"
172 Canonical name of the machine building the toolchain.
173 You should leave empty, unless you really now what you're doing.
180 The native C compiler.
182 You can set this to an alternative compiler if you have more than one
183 installed (eg. gcc is gcc-4.1.1 and you want to use gcc-3.4.6).
185 You can leave this empty as well, in which case gcc will be used.
189 prompt "Host system triplet"
191 depends on NATIVE || CANADIAN
193 Canonical name of the machine running the toolchain.
197 prompt "Cross-compiler prefix for host system"
198 default "${CT_HOST}-"
199 depends on NATIVE || CANADIAN
201 C compiler targeting the host system.
205 prompt "Cross-compiler prefix for target system"
206 default "${CT_TARGET}-"
209 C compiler targeting the target system.