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/sysroot/lib and prefix/target/sysroot/usr/lib
13 You definitely want to say 'Y' here. Yes you do. I know you do. Say 'Y'.
17 prompt "sysroot directory name"
18 depends on USE_SYSROOT
21 Enter the base name of the sysroot directory. Usually, this simply
22 is 'sysroot' (the default) or 'sys-root'.
24 You are free to enter anything here, except for spaces, and '/'
25 (see SYSROOT_DIR_PREFIX, below). If you leave this empy, then the
26 default 'sysroot' is used.
28 config SYSROOT_DIR_PREFIX
30 prompt "sysroot prefix dir (READ HELP)" if ! BACKEND
31 depends on USE_SYSROOT
35 * Unless you realy know you need that, leave it empty!
38 This string will be interpreted as a directory component to be added
39 to the sysroot path, just before the actual sysroot directory.
41 In fact, the sysroot path is constructed as:
42 ${CT_PREFIX_DIR}/${CT_TARGET}/${CT_SYSROOT_DIR_PREFIX}/${CT_SYSROOT_NAME}
44 config STATIC_TOOLCHAIN
46 prompt "Build Static Toolchain (EXPERIMENTAL)"
47 depends on EXPERIMENTAL
50 Build static host binaries.
52 If you wish to move the toolchain to another host, and you are not
53 confident that this host has the required versions of system libs, then
54 you can say 'Y' here, and all the host tools will be linked staticaly.
56 The impacted tools are:
60 The default is 'N', to build dynamicaly-linked host binaries.
62 NOTE: this has no connection to whether the target libraries will be
63 dynamic or static. This only applies to the tools themselves.
65 comment "Tuple completion and aliasing"
69 prompt "Tuple's vendor string"
72 Vendor part of the target tuple.
74 A tuple is of the form arch-vendor-kernel-system.
75 You can set the second part, vendor, to whatever you see fit.
76 Use a single word, or use underscores "_" to separate words.
77 Use neither dash nor space, as it breaks things.
79 Keep the default (unknown) if you don't know better.
81 config TARGET_ALIAS_SED_EXPR
83 prompt "Tuple's sed transform"
86 Normaly, you'd call your toolchain components (especially gcc) by
87 prefixing the target tuple followed by a dash and the component name
88 (eg. armeb-unknown-linux-uclibc-gcc).
90 You can enter here a sed expression to be applied to ${CT_TARGET} to
91 create an alias for your toolchain.
93 For example, "s/${CT_TARGET_VENDOR}/foobar/" (without the double quotes)
94 will create the armeb-foobar-linux-uclibc alias to the above-mentioned
97 You shouldn't need to enter anything here, unless you plan to manually
98 call the tools (autotools-based ./configure will use the standard name).
102 prompt "Tuple's alias"
105 Normaly, you'd call your toolchain components (especially gcc) by
106 prefixing the target tuple followed by a dash and the component name
107 (eg. armeb-unknown-linux-uclibc-gcc).
109 You can enter a shortcut here. This string will be used to create
110 symbolic links to the toolchain tools (eg. if you enter "foo-bar" here,
111 then gcc for your toolchain will also be available as "foo-bar-gcc" along
112 with the original name).
114 You shouldn't need to enter anything here, unless you plan to manually
115 call the tools (autotools-based ./configure will use the standard name).
117 comment "Toolchain type"
126 prompt "Native (NO CODE!) (EXPERIMENTAL)"
127 depends on EXPERIMENTAL
129 Build a native toolchain.
130 See: "docs/6 - Toolchain types.txt"
136 Build a cross-toolchain.
137 See: "docs/6 - Toolchain types.txt"
141 prompt "Cross-native (NO CODE!) (EXPERIMENTAL)"
142 depends on EXPERIMENTAL
144 Build a cross-native toolchain.
145 See: "docs/6 - Toolchain types.txt"
149 prompt "Canadian (EXPERIMENTAL)"
150 depends on EXPERIMENTAL
152 Build a canadian-toolchain.
153 See: "docs/6 - Toolchain types.txt"
157 config TOOLCHAIN_TYPE
159 default "native" if NATIVE
160 default "cross" if CROSS
161 default "cross-native" if CROSS_NATIVE
162 default "canadian" if CANADIAN
164 comment "Build system"
168 prompt "| Tuple (READ HELP!)"
171 Canonical name of the machine building the toolchain.
172 You should leave empty, unless you really now what you're doing.
176 prompt "| Tools prefix (READ HELP!)"
179 If you have your *build system* tools in a weird location, and/or
180 they have an unusual prefix, enter it here.
182 Usually, you should leave that empty!
185 If your *build* gcc is /opt/build-tools/bin/weird-gcc then you
187 /opt/build-tools/bin/weird-
189 If your *build* gcc is /opt/build-tools/bin/weird-gcc and
190 /opt/build-tools/bin is in your PATH, you should enter:
193 If your *build* gcc is /opt/build-tools/bin/gcc then you
194 should enter (do not forget to add the trailing '/'):
195 /opt/build-tools/bin/
199 prompt "| Tools suffix (READ HELP!)"
202 If your *build system* tools have an unusual suffix, enter it
205 Usually, you should leave that empty!
208 If your 'default' gcc is gcc 4.3.1, but you also have gcc-3.4.2
209 installed as gcc-3.4, then you should enter:
212 It can happen that some of the tools have a suffix, when others
213 don't, eg. you can have 'gcc-3.4' and 'ar'. crosstool-NG accounts
214 for that by checking the tools without the suffix in case it can
215 not find some of the tool.
219 comment "Host system"
223 prompt "| Tuple (READ HELP!)"
226 Canonical name of the machine running the toolchain.
230 prompt "| Tools prefix (READ HELP!)"
233 If you have your *host system* tools in a weird location, and/or
234 they have an unusual prefix, enter it here.
236 Usually, you should leave that empty!
239 If your *host* gcc is /opt/host-tools/bin/weird-gcc then you
241 /opt/host-tools/bin/weird-
243 If your *host* gcc is /opt/host-tools/bin/weird-gcc and
244 /opt/host-tools/bin is in your PATH, you should enter:
247 If your *host* gcc is /opt/host-tools/bin/gcc then you
248 should enter (do not forget to add the trailing '/'):
253 prompt "| Tools suffix (READ HELP!)"
256 If your *host system* tools have an unusual suffix, enter it
259 Usually, you should leave that empty!
262 If your 'default' gcc is gcc 4.3.1, but you also have gcc-3.4.2
263 installed as gcc-3.4, then you should enter:
266 It can happen that some of the tools have a suffix, when others
267 don't, eg. you can have 'gcc-3.4' and 'ar'. crosstool-NG accounts
268 for that by checking the tools without the suffix in case it can
269 not find some of the tool.
273 if CROSS_NATIVE || CANADIAN
275 comment "Target system"
279 prompt "| Tools prefix (READ HELP!)"
282 If you have your *target system* tools in a weird location, and/or
283 they have an unusual prefix, enter it here.
285 Usually, you should leave that empty!
288 If your *target* gcc is /opt/target-tools/bin/weird-gcc then you
290 /opt/target-tools/bin/weird-
292 If your *target* gcc is /opt/target-tools/bin/weird-gcc and
293 /opt/target-tools/bin is in your PATH, you should enter:
296 If your *target* gcc is /opt/target-tools/bin/gcc then you
297 should enter (do not forget to add the trailing '/'):
298 /opt/target-tools/bin/
302 prompt "| Tools suffix (READ HELP!)"
305 If your *target system* tools have an unusual suffix, enter it
308 Usually, you should leave that empty!
311 If your 'default' gcc is gcc 4.3.1, but you also have gcc-3.4.2
312 installed as gcc-3.4, then you should enter:
315 It can happen that some of the tools have a suffix, when others
316 don't, eg. you can have 'gcc-3.4' and 'ar'. crosstool-NG accounts
317 for that by checking the tools without the suffix in case it can
318 not find some of the tool.
320 endif # CROSS_NATIVE || CANADIAN