Linux kernel headers install does not need the kernel to be configured. Dropping this unneccessary step.
1 # Overall toolchain configuration: paths, jobs, etc...
3 menu "Paths and misc options"
7 prompt "Try features marked as EXPERIMENTAL"
10 If you set this to Y, then you will be able to try very experimental
13 Experimental features can be one of:
14 - working, in which case you should tell me it is!
15 - buggy, in which case you could try patching and send me the result
16 - unfinished, in which case you could try hacking it and send me the result
17 - non-existant, in which case you could also try hacking it in and send the result
21 prompt "Use obsolete features"
24 If you set this to Y, you will be able to select obsolete features.
26 Such obsolete features are the use of old kernel headers, old
31 prompt "Number of parallel jobs"
34 Number of jobs make will be allowed to run concurently.
35 Set this higher than the number of processors you have, but not too high.
36 A good rule of thumb is twice the number of processors you have.
38 Enter 1 (or 0) to have only one job at a time.
42 prompt "Maximum allowed load"
45 Specifies that no new jobs should be started if there are others jobs
46 running and the load average is at least this value.
48 Makes sense on SMP machines only.
50 Enter 0 to have no limit on the load average.
52 Note: only the integer part of the load is allowed here (you can't enter
61 Renices the build process up.
68 Use gcc's option -pipe to use pipes rather than temp files when building
75 prompt "Tarballs directory"
76 default "${CT_TOP_DIR}/build/tarballs"
78 This is the directory into which tarballs are going to be stored once
79 they are downloaded (or otherwise retrieved).
83 prompt "Extract directory"
84 default "${CT_TOP_DIR}/build/${CT_TARGET}/${CT_CC}-${CT_CC_VERSION}-${CT_LIBC}-${CT_LIBC_VERSION}/src"
86 This is the directory into which tarballs will be extracted.
88 If you will build multiple toolchains, you should arrange to have one
89 SRC_DIR for each toolchain, as different targets may require different
90 patches to be applied.
92 You should not need to change this from the default.
96 prompt "Build directory"
97 default "${CT_TOP_DIR}/build/${CT_TARGET}/${CT_CC}-${CT_CC_VERSION}-${CT_LIBC}-${CT_LIBC_VERSION}/build"
99 This is the directory into which builds will occur.
101 Once again, arrange for one build directory for each toolchain you build,
104 You should not need to change this from the default.
108 prompt "Prefix directory"
109 default "${HOME}/${CT_TARGET}"
111 This is the path the toolchain will run from.
115 # prompt "Install directory"
116 default "${CT_PREFIX_DIR}"
118 # This is the path the target will be installed into.
120 # Normally, you would set this to ${CT_PREFIX_DIR}, but if for some reasons
121 # you can't write there, you can install somewhere else and have a third
122 # person do the install for you.
123 # The reason you might also want to install elsewhere is if you are going
124 # to package your shinny new toolchain for distribution.
128 prompt "Use custom patch directory"
131 If you have custom patches that you want to be applied, say 'Y' here and
132 enter the path directory below.
134 Note that you must ensure that the patch directory is arranged the same
135 way the official directory is.
137 config CUSTOM_PATCH_ONLY
139 prompt "Only use custom patches"
141 depends on CUSTOM_PATCH
143 Don't apply patches coming with CT-NG, only those patches available in
146 If you say 'N' here, then the patches provided with CT-NG will be applied
147 first, and then your patches.
149 config CUSTOM_PATCH_DIR
151 prompt "Custom patch directory"
153 depends on CUSTOM_PATCH
155 Enter the custom patch directory here.
159 prompt "Remove documentation"
162 Remove the installed documentation (man and info pages).
163 Gains around 8MiB for a uClibc-based, C and C++ compiler.
165 comment "Downloading and extracting"
169 prompt "Avoid downloads"
172 Avoid downloading anything. Bail out if a tarball is missing.
176 prompt "Only download tarballs"
178 depends on ! NO_DOWNLOAD
180 Only download the tarballs. Exit once it done.
182 Usefull to pre-retrieve the tarballs before going off-line.
184 config FORCE_DOWNLOAD
186 prompt "Force downloads"
188 depends on ! NO_DOWNLOAD
190 Force downloading tarballs, even if one already exists.
191 Usefull if you suspect a tarball to be damaged.
195 prompt "Force extractions"
196 depends on ! ONLY_DOWNLOAD
199 Force extraction of already exctracted tarballs.
201 Usefull if you suspect a previous extract did not complete (eg. broken
202 tarball), or you added a new set of patches for this component.
208 prompt "Maximum log level to see:"
215 The build will be silent.
216 Only if there is an error will you see a mesage.
222 The same as above, plus warnings.
228 The same as above, plus informational messages (main steps).
234 The same as above, plus extra messages (sub-steps).
240 The same as above, plus lots of debug information, of which each
241 component's build messages (very noisy!).
247 default "ERROR" if LOG_ERROR
248 default "WARN" if LOG_WARN
249 default "INFO" if LOG_INFO
250 default "EXTRA" if LOG_EXTRA
251 default "DEBUG" if LOG_DEBUG
253 config LOG_SEE_TOOLS_WARN
255 prompt "See warnings from the tool builds"
257 depends on ! LOG_ERROR
259 If you say Y here, then you will have see the warning lines from
260 the components builds.
262 It should suffice to say N here, as those will anyway be visible
263 in the log file (if you want one).
265 config LOG_PROGRESS_BAR
267 prompt "Progress bar"
269 depends on ! LOG_DEBUG
271 This option will print a "rotating bar" (/-\|) below the last log line
272 to show work is not stalled.
274 Available when not in DEBUG log level.
276 config LOG_USE_COLORS
278 prompt "Use colors for logging to console"
281 Use colors to highlight important messages.
290 prompt "Log to a file"
293 Save *full* logs to a file. Even log levels you didn't specify above
294 will be available in this file.
296 As a bonus, there is a script in tools/extractConfig.sh that is able
297 to extract the configuration of crosstool-NG from the log file.
304 default "${CT_PREFIX_DIR}/${CT_TARGET}.log"
305 depends on LOG_TO_FILE
307 File name into which to put logs.