1 | menu "BOOK Settings"
|
---|
2 |
|
---|
3 | #--- BOOK/script
|
---|
4 | choice
|
---|
5 | prompt "Use BOOK"
|
---|
6 | default BOOK_LFS
|
---|
7 | help
|
---|
8 | Select the book where build instructions are retrieved.
|
---|
9 |
|
---|
10 | config BOOK_LFS
|
---|
11 | bool "Linux From Scratch System V"
|
---|
12 | help
|
---|
13 | Set up the tools to build LFS with Sys V init.
|
---|
14 |
|
---|
15 | config BOOK_LFS_SYSD
|
---|
16 | bool "Linux From Scratch systemd"
|
---|
17 | help
|
---|
18 | Set up the tools to build LFS with systemd init.
|
---|
19 |
|
---|
20 | config BOOK_CLFS
|
---|
21 | bool "Cross-Compiled Linux From Scratch"
|
---|
22 | help
|
---|
23 | Set up the tools to build CLFS.
|
---|
24 |
|
---|
25 | config BOOK_CLFS2
|
---|
26 | bool "Cross-Compiled Linux From Scratch (Sysroot method)"
|
---|
27 | help
|
---|
28 | Set up the tools to build CLFS by the sysroot method.
|
---|
29 |
|
---|
30 | config BOOK_CLFS3
|
---|
31 | bool "Cross-Compiled Linux From Scratch (Embedded Systems)"
|
---|
32 | help
|
---|
33 | Set up the tools to build CLFS with tools for embedded systems.
|
---|
34 |
|
---|
35 | config BOOK_BLFS
|
---|
36 | bool "Beyond Linux From Scratch (see help)"
|
---|
37 | help
|
---|
38 | if the (C)LFS system has already been built, install the tools
|
---|
39 | to build BLFS packages.
|
---|
40 | endchoice
|
---|
41 |
|
---|
42 | choice
|
---|
43 | depends BOOK_BLFS
|
---|
44 | prompt "Init system"
|
---|
45 |
|
---|
46 | config BLFS_SYSV
|
---|
47 | bool "BLFS Sys V"
|
---|
48 | help
|
---|
49 | Extract the Sys V flavour of the BLFS book
|
---|
50 |
|
---|
51 | config BLFS_SYSD
|
---|
52 | bool "BLFS systemd"
|
---|
53 | help
|
---|
54 | Extract the systemd flavour of the BLFS book
|
---|
55 |
|
---|
56 | endchoice
|
---|
57 |
|
---|
58 | config INITSYS
|
---|
59 | string
|
---|
60 | default "sysv" if BOOK_LFS || BLFS_SYSV
|
---|
61 | default "systemd" if BOOK_LFS_SYSD || BLFS_SYSD
|
---|
62 |
|
---|
63 | config PROGNAME
|
---|
64 | string
|
---|
65 | default "lfs" if BOOK_LFS || BOOK_LFS_SYSD
|
---|
66 | default "clfs" if BOOK_CLFS
|
---|
67 | default "clfs2" if BOOK_CLFS2
|
---|
68 | default "clfs3" if BOOK_CLFS3
|
---|
69 |
|
---|
70 | config RUN_ME
|
---|
71 | string
|
---|
72 | default "./jhalfs run" if BOOK_LFS || BOOK_LFS_SYSD || BOOK_CLFS || \
|
---|
73 | BOOK_CLFS2 || BOOK_CLFS_3
|
---|
74 | default "./install-blfs-tools.sh auto" if BOOK_BLFS
|
---|
75 | #--- End BOOK/script
|
---|
76 |
|
---|
77 | #--- Book version
|
---|
78 | choice
|
---|
79 | prompt "Release"
|
---|
80 | default relSVN if BOOK_LFS || BOOK_LFS_SYSD || BOOK_BLFS
|
---|
81 | default relGIT if BOOK_CLFS || BOOK_CLFS2 || BOOK_CLFS3
|
---|
82 |
|
---|
83 | config relSVN
|
---|
84 | bool "SVN"
|
---|
85 | depends on BOOK_LFS || BOOK_BLFS || BOOK_LFS_SYSD
|
---|
86 | help
|
---|
87 | Current development version as in trunk
|
---|
88 |
|
---|
89 | config relGIT
|
---|
90 | bool "GIT"
|
---|
91 | depends on BOOK_CLFS || BOOK_CLFS2 || BOOK_CLFS3
|
---|
92 | help
|
---|
93 | Current development git master branch
|
---|
94 |
|
---|
95 | config WORKING_COPY
|
---|
96 | bool "Working Copy"
|
---|
97 | help
|
---|
98 | A local working copy
|
---|
99 |
|
---|
100 | config BRANCH
|
---|
101 | bool "Branch or stable book" if !BOOK_CLFS2 && !BOOK_CLFS3
|
---|
102 | help
|
---|
103 | A supported SVN/GIT branch or stable released book
|
---|
104 | endchoice
|
---|
105 |
|
---|
106 | config BRANCH_ID
|
---|
107 | string "Branch (preceded by \"branch-\"), stable Version, or tag"
|
---|
108 | default "**EDIT ME**"
|
---|
109 | depends BRANCH
|
---|
110 | help
|
---|
111 | A list of valid branches and stable book IDs is available at
|
---|
112 | http://wiki.linuxfromscratch.org/alfs/wiki/SupportedBooks
|
---|
113 |
|
---|
114 | Enter "branch-XXX" for branch XXX, or just "YYY" for stable (or tag)
|
---|
115 | YYY version.
|
---|
116 |
|
---|
117 | config BOOK
|
---|
118 | string "Loc of working copy (mandatory)"
|
---|
119 | default "**EDIT ME**"
|
---|
120 | depends WORKING_COPY
|
---|
121 | help
|
---|
122 | The full path to a local copy of the book XML sources
|
---|
123 |
|
---|
124 | #--- End BOOK version
|
---|
125 |
|
---|
126 | #--- CLFS specific params
|
---|
127 | choice
|
---|
128 | prompt "Target architecture"
|
---|
129 | default ARCH_X86
|
---|
130 | depends BOOK_CLFS || BOOK_CLFS2 || BOOK_CLFS3
|
---|
131 | help
|
---|
132 | Choose the target system base architecture
|
---|
133 |
|
---|
134 | config ARCH_X86
|
---|
135 | bool "x86"
|
---|
136 |
|
---|
137 | config ARCH_MIPS
|
---|
138 | bool "mips" if !BOOK_CLFS2
|
---|
139 |
|
---|
140 | config ARCH_PPC
|
---|
141 | bool "ppc" if BOOK_CLFS
|
---|
142 |
|
---|
143 | config ARCH_SPARC
|
---|
144 | bool "sparc" if BOOK_CLFS
|
---|
145 |
|
---|
146 | config ARCH_ALPHA
|
---|
147 | bool "alpha" if !BOOK_CLFS3
|
---|
148 |
|
---|
149 | config ARCH_ARM
|
---|
150 | bool "arm" if !BOOK_CLFS
|
---|
151 |
|
---|
152 | config ARCH_HPPA
|
---|
153 | bool "hppa" if BOOK_CLFS2
|
---|
154 | endchoice
|
---|
155 |
|
---|
156 | choice
|
---|
157 | prompt "Hardware Platform"
|
---|
158 | depends BOOK_CLFS3 && ARCH_MIPS
|
---|
159 | default PLATFORM_GENERIC
|
---|
160 | help
|
---|
161 | Choose a destination platform
|
---|
162 | Platform specific files will be included
|
---|
163 |
|
---|
164 | config PLATFORM_GENERIC
|
---|
165 | bool "Generic platform"
|
---|
166 |
|
---|
167 | config PLATFORM_WRT
|
---|
168 | bool "WRT - MIPS based wireless router" if ARCH_MIPS
|
---|
169 | endchoice
|
---|
170 |
|
---|
171 | choice
|
---|
172 | prompt "Library"
|
---|
173 | depends (BOOK_CLFS && !ARCH_ALPHA) || (BOOK_CLFS3 && ARCH_MIPS)
|
---|
174 | default DATA_32
|
---|
175 | help
|
---|
176 | Choose the target system libraries type
|
---|
177 |
|
---|
178 | config DATA_32
|
---|
179 | bool "32-bit"
|
---|
180 |
|
---|
181 | config DATA_64
|
---|
182 | bool "64-bit"
|
---|
183 |
|
---|
184 | config DATA_MULTI
|
---|
185 | bool "multilib" if !(BOOK_CLFS3 && ARCH_MIPS )
|
---|
186 | endchoice
|
---|
187 |
|
---|
188 | choice
|
---|
189 | prompt "Processor type"
|
---|
190 | depends (BOOK_CLFS || BOOK_CLFS2 || BOOK_CLFS3) && ((ARCH_X86 && !(DATA_64 || DATA_MULTI)) || ARCH_MIPS || ARCH_HPPA || ARCH_ALPHA || (ARCH_SPARC && (DATA_64 || DATA_MULTI)) || (ARCH_ARM && BOOK_CLFS3))
|
---|
191 | help
|
---|
192 | Choose the target system processor
|
---|
193 |
|
---|
194 | config PROC_i486
|
---|
195 | bool "486 Compatibles" if ARCH_X86
|
---|
196 |
|
---|
197 | config PROC_i586
|
---|
198 | bool "Pentium, K6, 586 Compatibles" if ARCH_X86
|
---|
199 |
|
---|
200 | config PROC_i686
|
---|
201 | bool "Pentium II, Pentium III, Pentium 4, Athlon, Duron" if ARCH_X86
|
---|
202 |
|
---|
203 | config PROC_mipsel
|
---|
204 | bool "MIPS Little Endian" if ARCH_MIPS
|
---|
205 |
|
---|
206 | config PROC_mips
|
---|
207 | bool "MIPS Big Endian" if ARCH_MIPS
|
---|
208 |
|
---|
209 | config PROC_unknown
|
---|
210 | bool "Unknown" if ARCH_HPPA || ARCH_ALPHA
|
---|
211 |
|
---|
212 | config PROC_hppa1
|
---|
213 | bool "PA 7000 Series" if ARCH_HPPA
|
---|
214 |
|
---|
215 | config PROC_hppa2
|
---|
216 | bool "PA 8000 Series" if ARCH_HPPA
|
---|
217 |
|
---|
218 | config PROC_EV5
|
---|
219 | bool "EV5 Series" if ARCH_ALPHA
|
---|
220 |
|
---|
221 | config PROC_EV56
|
---|
222 | bool "EV56 Series" if ARCH_ALPHA
|
---|
223 |
|
---|
224 | config PROC_PCA56
|
---|
225 | bool "PCA56 Series" if ARCH_ALPHA
|
---|
226 |
|
---|
227 | config PROC_PCA57
|
---|
228 | bool "PCA57 Series" if ARCH_ALPHA
|
---|
229 |
|
---|
230 | config PROC_EV6
|
---|
231 | bool "EV6 Series" if ARCH_ALPHA
|
---|
232 |
|
---|
233 | config PROC_EV67
|
---|
234 | bool "EV67 Series" if ARCH_ALPHA
|
---|
235 |
|
---|
236 | config PROC_EV68
|
---|
237 | bool "EV68 Series" if ARCH_ALPHA
|
---|
238 |
|
---|
239 | config PROC_ARM
|
---|
240 | bool "Generic arm, little endian" if ARCH_ARM
|
---|
241 |
|
---|
242 | config PROC_ARM5L
|
---|
243 | bool "Generic arm, version 5, little endian" if ARCH_ARM
|
---|
244 |
|
---|
245 | config PROC_ARM5B
|
---|
246 | bool "Generic arm, version 5, big endian" if ARCH_ARM
|
---|
247 |
|
---|
248 | config PROC_ULTRA1
|
---|
249 | bool "UtraSparc" if ARCH_SPARC && (DATA_64 || DATA_MULTI)
|
---|
250 |
|
---|
251 | config PROC_ULTRA2
|
---|
252 | bool "UtraSparc2" if ARCH_SPARC && (DATA_64 || DATA_MULTI)
|
---|
253 |
|
---|
254 | config PROC_ULTRA3
|
---|
255 | bool "UtraSparc3" if ARCH_SPARC && (DATA_64 || DATA_MULTI)
|
---|
256 | endchoice
|
---|
257 |
|
---|
258 | choice
|
---|
259 | prompt "MIPS 64 ABI"
|
---|
260 | depends BOOK_CLFS3 && ARCH_MIPS && DATA_64
|
---|
261 | default ABI_64
|
---|
262 | help
|
---|
263 | Choose the target system ABI to use
|
---|
264 |
|
---|
265 | config ABI_32
|
---|
266 | bool "o32"
|
---|
267 |
|
---|
268 | config ABI_N32
|
---|
269 | bool "n32"
|
---|
270 |
|
---|
271 | config ABI_64
|
---|
272 | bool "n64"
|
---|
273 | endchoice
|
---|
274 |
|
---|
275 | config TARGET
|
---|
276 | string
|
---|
277 | default "i486-pc-linux-gnu" if !BOOK_CLFS3 && PROC_i486
|
---|
278 | default "i586-pc-linux-gnu" if !BOOK_CLFS3 && PROC_i586
|
---|
279 | default "i686-pc-linux-gnu" if !BOOK_CLFS3 && PROC_i686
|
---|
280 |
|
---|
281 | default "i486-pc-linux-uclibc" if BOOK_CLFS3 && PROC_i486
|
---|
282 | default "i586-pc-linux-uclibc" if BOOK_CLFS3 && PROC_i586
|
---|
283 | default "i686-pc-linux-uclibc" if BOOK_CLFS3 && PROC_i686
|
---|
284 |
|
---|
285 | default "x86_64-unknown-linux-gnu" if ARCH_X86 && (DATA_64 || DATA_MULTI)
|
---|
286 |
|
---|
287 | default "mipsel-unknown-linux-gnu" if !BOOK_CLFS3 && PROC_mipsel && DATA_32
|
---|
288 | default "mips-unknown-linux-gnu" if !BOOK_CLFS3 && PROC_mips && DATA_32
|
---|
289 | default "mips64el-unknown-linux-gnu" if !BOOK_CLFS3 && PROC_mipsel && (DATA_64 || DATA_MULTI)
|
---|
290 | default "mips64-unknown-linux-gnu" if !BOOK_CLFS3 && PROC_mips && (DATA_64 || DATA_MULTI)
|
---|
291 |
|
---|
292 | default "mipsel-unknown-linux-uclibc" if BOOK_CLFS3 && PROC_mipsel && DATA_32
|
---|
293 | default "mips-unknown-linux-uclibc" if BOOK_CLFS3 && PROC_mips && DATA_32
|
---|
294 | default "mips64el-unknown-linux-uclibc" if BOOK_CLFS3 && PROC_mipsel && DATA_64
|
---|
295 | default "mips64-unknown-linux-uclibc" if BOOK_CLFS3 && PROC_mips && DATA_64
|
---|
296 |
|
---|
297 | default "powerpc-unknown-linux-gnu" if ARCH_PPC && DATA_32
|
---|
298 | default "powerpc64-unknown-linux-gnu" if ARCH_PPC && (DATA_MULTI || DATA_64)
|
---|
299 |
|
---|
300 | default "sparc-unknown-linux-gnu" if ARCH_SPARC && DATA_32
|
---|
301 | default "sparc64-unknown-linux-gnu" if ARCH_SPARC && (DATA_64 || DATA_MULTI)
|
---|
302 |
|
---|
303 | default "hppa-unknown-linux-gnu" if PROC_unknown && ARCH_HPPA
|
---|
304 | default "hppa1.1-unknown-linux-gnu" if PROC_hppa1
|
---|
305 | default "hppa2.0-unknown-linux-gnu" if PROC_hppa2
|
---|
306 |
|
---|
307 | default "arm-unknown-linux-gnueabi" if ARCH_ARM && BOOK_CLFS2
|
---|
308 |
|
---|
309 | default "arm-unknown-linux-uclibc" if PROC_ARM
|
---|
310 | default "armv5l-unknown-linux-uclibc" if PROC_ARM5L
|
---|
311 | default "armv5b-unknown-linux-uclibc" if PROC_ARM5B
|
---|
312 |
|
---|
313 | default "alpha-unknown-linux-gnu" if PROC_unknown && ARCH_ALPHA
|
---|
314 | default "alphaev5-unknown-linux-gnu" if PROC_EV5
|
---|
315 | default "alphaev56-unknown-linux-gnu" if PROC_EV56
|
---|
316 | default "alphapca56-unknown-linux-gnu" if PROC_PCA56
|
---|
317 | default "alphapca57-unknown-linux-gnu" if PROC_PCA57
|
---|
318 | default "alphaev6-unknown-linux-gnu" if PROC_EV6
|
---|
319 | default "alphaev67-unknown-linux-gnu" if PROC_EV67
|
---|
320 | default "alphaev68-unknown-linux-gnu" if PROC_EV68
|
---|
321 |
|
---|
322 | config TARGET32
|
---|
323 | string
|
---|
324 | depends DATA_MULTI
|
---|
325 | default "i686-pc-linux-gnu" if ARCH_X86
|
---|
326 | default "mipsel-unknown-linux-gnu" if PROC_mipsel
|
---|
327 | default "mips-unknown-linux-gnu" if PROC_mips
|
---|
328 | default "sparc-unknown-linux-gnu" if ARCH_SPARC
|
---|
329 | default "powerpc-unknown-linux-gnu" if ARCH_PPC
|
---|
330 |
|
---|
331 | config PLATFORM
|
---|
332 | string
|
---|
333 | default "GENERIC" if (!BOOK_CLFS3) || PLATFORM_GENERIC
|
---|
334 | default "WRT - Wireless Router" if PLATFORM_WRT
|
---|
335 |
|
---|
336 | config SPARC64_PROC
|
---|
337 | string
|
---|
338 | default "none" if !(ARCH_SPARC && (DATA_64 || DATA_MULTI))
|
---|
339 | default "1" if PROC_ULTRA1
|
---|
340 | default "2" if PROC_ULTRA2
|
---|
341 | default "3" if PROC_ULTRA3
|
---|
342 |
|
---|
343 | config ARCH
|
---|
344 | string
|
---|
345 | default "x86" if ARCH_X86 && (DATA_32 || BOOK_CLFS2 || BOOK_CLFS3)
|
---|
346 | default "x86_64" if ARCH_X86 && DATA_MULTI
|
---|
347 | default "x86_64-64" if ARCH_X86 && DATA_64
|
---|
348 |
|
---|
349 | default "wrt" if PLATFORM_WRT && BOOK_CLFS3
|
---|
350 |
|
---|
351 | default "mips" if ARCH_MIPS && (DATA_32 || BOOK_CLFS3)
|
---|
352 | default "mips64" if ARCH_MIPS && DATA_MULTI
|
---|
353 | default "mips64-64" if ARCH_MIPS && DATA_64 && BOOK_CLFS
|
---|
354 |
|
---|
355 |
|
---|
356 | default "ppc" if ARCH_PPC && DATA_32
|
---|
357 | default "ppc64" if ARCH_PPC && DATA_MULTI
|
---|
358 | default "ppc64-64" if ARCH_PPC && DATA_64
|
---|
359 |
|
---|
360 | default "sparc" if ARCH_SPARC && DATA_32
|
---|
361 | default "sparc64" if ARCH_SPARC && DATA_MULTI
|
---|
362 | default "sparc64-64" if ARCH_SPARC && DATA_64
|
---|
363 |
|
---|
364 | default "alpha" if ARCH_ALPHA
|
---|
365 | default "arm" if ARCH_ARM
|
---|
366 | default "hppa" if ARCH_HPPA
|
---|
367 |
|
---|
368 | config MIPS_LEVEL
|
---|
369 | string
|
---|
370 | depends BOOK_CLFS3 && ARCH_MIPS
|
---|
371 | default "1" if DATA_32
|
---|
372 | default "3" if DATA_64
|
---|
373 |
|
---|
374 | config ABI
|
---|
375 | string
|
---|
376 | depends BOOK_CLFS3
|
---|
377 | default "-m32" if ARCH_X86 || ARCH_ARM
|
---|
378 | # default "-m64" if NO USED YET IN THE BOOK
|
---|
379 | default "-mabi=32" if ABI_32 || (ARCH_MIPS && DATA_32)
|
---|
380 | default "-mabi=n32" if ABI_N32
|
---|
381 | default "-mabi=64" if ABI_64
|
---|
382 |
|
---|
383 | config ENDIAN
|
---|
384 | string
|
---|
385 | depends BOOK_CLFS3 && (ARCH_MIPS || ARCH_ARM)
|
---|
386 | default "little" if PROC_mipsel || PROC_ARM || PROC_ARM5L
|
---|
387 | default "big" if PROC_mips || PROC_ARM5B
|
---|
388 |
|
---|
389 | choice
|
---|
390 | prompt "Build method"
|
---|
391 | depends BOOK_CLFS
|
---|
392 | help
|
---|
393 | What build method should be used: a chroot jail or minimal boot
|
---|
394 | system. Review the Cross-LFS book chap6 "TO BOOT OR CHROOT" for
|
---|
395 | a full explanation.
|
---|
396 |
|
---|
397 | config BUILD_CHROOT
|
---|
398 | bool "chroot"
|
---|
399 |
|
---|
400 | config BUILD_BOOT
|
---|
401 | bool "boot"
|
---|
402 | endchoice
|
---|
403 |
|
---|
404 | config METHOD
|
---|
405 | string
|
---|
406 | default "chroot" if BUILD_CHROOT
|
---|
407 | default "boot" if BUILD_BOOT
|
---|
408 |
|
---|
409 | config BOOT_CONFIG
|
---|
410 | string "BOOT kernel config file (mandatory)"
|
---|
411 | default "***EDIT ME***"
|
---|
412 | depends on BUILD_BOOT
|
---|
413 | help
|
---|
414 | If METHOD=boot, location of boot-kernel config file
|
---|
415 | The config file will be copied to ${BUILD_DIR}/sources
|
---|
416 | and renamed 'bootkernel-config'
|
---|
417 | NOTE: this setting is required
|
---|
418 | #--- End CLFS specific params
|
---|
419 |
|
---|
420 | #--- blfs-tool Support
|
---|
421 | config BLFS_TOOL
|
---|
422 | bool "Add blfs-tool support"
|
---|
423 | default n
|
---|
424 | depends on !BOOK_CLFS3 && !BOOK_BLFS
|
---|
425 | help
|
---|
426 | Activating this option will install additional packages needed
|
---|
427 | to use blfs tools after booting the new system.
|
---|
428 | The blfs-tool files will be installed under $BUILD_DIR/blfs_root
|
---|
429 | (see below).
|
---|
430 | After booting the new xLFS system, but before using the blfs tools,
|
---|
431 | you should create a user account, move the /blfs_root directory
|
---|
432 | to that user's home, and change its ownership to that of the user.
|
---|
433 | Also, be sure to give the user read and write access on the
|
---|
434 | $TRACKING_DIR directory and the files that it contains.
|
---|
435 | Don't forget to configure sudo properly on the new system.
|
---|
436 |
|
---|
437 | config DUMMY # Avoid indenting the items below
|
---|
438 | bool
|
---|
439 |
|
---|
440 | if BLFS_TOOL
|
---|
441 | menu "blfs-tool dependencies"
|
---|
442 |
|
---|
443 | config DEP_LIBXML
|
---|
444 | bool "libxml2 (required)"
|
---|
445 | default y
|
---|
446 |
|
---|
447 | config DEP_LIBXSLT
|
---|
448 | bool "libxslt (required)"
|
---|
449 | default y
|
---|
450 |
|
---|
451 | config DEP_DBXML
|
---|
452 | bool "DocBook XML DTD (required)"
|
---|
453 | default y
|
---|
454 |
|
---|
455 | config DEP_LYNX
|
---|
456 | bool "lynx (optional, for reading the generated book)"
|
---|
457 | default y
|
---|
458 |
|
---|
459 | config DEP_SUDO
|
---|
460 | bool "sudo (recommended)"
|
---|
461 | default y
|
---|
462 |
|
---|
463 | config DEP_WGET
|
---|
464 | bool "wget (recommended)"
|
---|
465 | default y
|
---|
466 |
|
---|
467 | config DEP_GPM
|
---|
468 | bool "GPM (optional, see help)"
|
---|
469 | default n
|
---|
470 | help
|
---|
471 | if you install gpm, it will be started
|
---|
472 | automatically on boot. You'll have to edit
|
---|
473 | /etc/sysconfig/mouse for your system
|
---|
474 |
|
---|
475 | config DEP_SVN
|
---|
476 | bool "SVN client (optional, see help)"
|
---|
477 | default n
|
---|
478 | help
|
---|
479 | Subversion is needed for updating the book
|
---|
480 | sources. If you want ssl support, select
|
---|
481 | OPENSSL below.
|
---|
482 |
|
---|
483 | config DEP_OPENSSL
|
---|
484 | bool "OPENSSL (optional, see help)"
|
---|
485 | default n
|
---|
486 | help
|
---|
487 | selecting OPENSSL here allows to build
|
---|
488 | subversion with ssl support, avoiding a later
|
---|
489 | recompilation
|
---|
490 |
|
---|
491 | config DEP_PYTHON
|
---|
492 | bool "PYTHON 2 (optional, see help)"
|
---|
493 | default n
|
---|
494 | help
|
---|
495 | selecting PYTHON 2 here allows to build
|
---|
496 | the libxml2 and libxslt python modules,
|
---|
497 | avoiding a later recompilation
|
---|
498 |
|
---|
499 | endmenu
|
---|
500 |
|
---|
501 | choice
|
---|
502 | prompt "BLFS Release"
|
---|
503 | default BLFS_SVN
|
---|
504 |
|
---|
505 | config BLFS_SVN
|
---|
506 | bool "BLFS SVN"
|
---|
507 | help
|
---|
508 | Current development version as in trunk
|
---|
509 |
|
---|
510 | config BLFS_WORKING_COPY
|
---|
511 | bool "BLFS working copy"
|
---|
512 | help
|
---|
513 | A local working copy of the BLFS book.
|
---|
514 |
|
---|
515 | config BLFS_BRANCH
|
---|
516 | bool "BLFS Branch or stable book"
|
---|
517 | help
|
---|
518 | A supported SVN branch or stable book release
|
---|
519 | endchoice
|
---|
520 |
|
---|
521 | config BLFS_WC_LOCATION
|
---|
522 | string "Location of the local BLFS working copy (mandatory)"
|
---|
523 | default "**EDIT ME**"
|
---|
524 | depends on BLFS_WORKING_COPY
|
---|
525 | help
|
---|
526 | Full path to the BLFS book working copy"
|
---|
527 |
|
---|
528 | config BLFS_BRANCH_ID
|
---|
529 | string "BLFS Book Version (mandatory)"
|
---|
530 | default "**EDIT ME**"
|
---|
531 | depends on BLFS_BRANCH
|
---|
532 | help
|
---|
533 | A list of valid branches and stable book IDs is available at
|
---|
534 | http://wiki.linuxfromscratch.org/alfs/wiki/SupportedBooks.
|
---|
535 | endif
|
---|
536 | #--- End blfs-tool Support
|
---|
537 |
|
---|
538 | #--- BLFS params (Used for installing the tools, either after a jhalfs run
|
---|
539 | # or directly)
|
---|
540 | config BLFS_ROOT
|
---|
541 | string "Root of the tools directory (see help)"
|
---|
542 | default "/blfs_root"
|
---|
543 | depends on BLFS_TOOL || BOOK_BLFS
|
---|
544 | help
|
---|
545 | Path to the directory where all required files and scripts
|
---|
546 | will be stored.
|
---|
547 |
|
---|
548 | This path must begin with a slash, and:
|
---|
549 | - is relative to the user's HOME directory when installing the
|
---|
550 | blfs tools on an already existing LFS system.
|
---|
551 | - is relative to the root of the build directory (`/' in chroot)
|
---|
552 | when adding the tools after a jhalfs run
|
---|
553 |
|
---|
554 | CAUTION: this directory will be removed if it already exists.
|
---|
555 |
|
---|
556 | config BLFS_XML
|
---|
557 | string "BLFS sources directory (internal parameter)"
|
---|
558 | default "blfs-xml"
|
---|
559 | depends BLFS_TOOL || BOOK_BLFS
|
---|
560 | help
|
---|
561 | The directory name under $BLFS_ROOT where the BLFS
|
---|
562 | book sources will be copied or checked out. Do not change that
|
---|
563 | unless you know what you are doing...
|
---|
564 | # End of BLFS parameters
|
---|
565 |
|
---|
566 | #--- Custom Tools support
|
---|
567 | config CUSTOM_TOOLS
|
---|
568 | depends !BOOK_BLFS
|
---|
569 | bool "Add custom tools support"
|
---|
570 | default n
|
---|
571 | help
|
---|
572 | Activating this option additional packages you create
|
---|
573 | will be installed after finished the xLFS system build.
|
---|
574 | #--- End Custom Tools support
|
---|
575 |
|
---|
576 | #--- This direcotry is needed for blfs tools installation and custom tools
|
---|
577 | # As well.
|
---|
578 | config TRACKING_DIR
|
---|
579 | string "Installed packages database directory"
|
---|
580 | default "/var/lib/jhalfs/BLFS"
|
---|
581 | depends on BOOK_BLFS || BLFS_TOOL || CUSTOM_TOOLS
|
---|
582 | help
|
---|
583 | Full path to the directory where the database of
|
---|
584 | installed packages will be created.
|
---|
585 |
|
---|
586 | If the blfs tools are installed on a running xLFS system,
|
---|
587 | the user must have enough privileges to create this directory.
|
---|
588 | It may be necessary to create the /var/lib/jhalfs directory as
|
---|
589 | root, and make it writable by the user before running this tool.
|
---|
590 |
|
---|
591 | If you are installing the blfs tools as part of an xLFS build
|
---|
592 | and/or using the customized scripts feature, you will
|
---|
593 | need to fix this directory's permissions after booting
|
---|
594 | the new system.
|
---|
595 |
|
---|
596 | Note that the user that will build the packages must
|
---|
597 | have read and write access to this directory.
|
---|
598 |
|
---|
599 | #--- End BOOK Settings
|
---|
600 | endmenu
|
---|
601 |
|
---|
602 | menu "General Settings"
|
---|
603 | depends !BOOK_BLFS
|
---|
604 |
|
---|
605 | #--- Set User Account
|
---|
606 | config CONFIG_USER
|
---|
607 | bool "Change the default user/group and homedir for this build"
|
---|
608 | default n
|
---|
609 | help #-- Unprivileged user and group name
|
---|
610 | # If you do not have the privilege to create/delete
|
---|
611 | # users and groups you can specify your own
|
---|
612 | # user ID for the build
|
---|
613 | #
|
---|
614 | # default values for each book
|
---|
615 | # LFS lfs
|
---|
616 | # CLFS* clfs
|
---|
617 | # HLFS hlfs
|
---|
618 | #
|
---|
619 | # Also, if your host places users' home dirs into a
|
---|
620 | # directory other than /home you can specify it here.
|
---|
621 |
|
---|
622 | config DEF_USER
|
---|
623 | string
|
---|
624 | default "lfs" if BOOK_LFS || BOOK_LFS_SYSD
|
---|
625 | default "clfs" if BOOK_CLFS || BOOK_CLFS2 || BOOK_CLFS3
|
---|
626 | default "hlfs" if BOOK_HLFS
|
---|
627 |
|
---|
628 | config SET_USER
|
---|
629 | string "User account"
|
---|
630 | depends CONFIG_USER
|
---|
631 | default DEF_USER
|
---|
632 |
|
---|
633 | config CONFIG_GROUP
|
---|
634 | bool "Set Group?"
|
---|
635 | default n
|
---|
636 | depends CONFIG_USER
|
---|
637 |
|
---|
638 | config SET_GROUP
|
---|
639 | string "GROUP account"
|
---|
640 | depends CONFIG_GROUP
|
---|
641 | default DEF_USER
|
---|
642 |
|
---|
643 | config CONFIG_HOME
|
---|
644 | bool "Set home dir?"
|
---|
645 | default n
|
---|
646 | depends CONFIG_USER
|
---|
647 |
|
---|
648 | config SET_HOME
|
---|
649 | string "Path to the directory under which the user's home directory will be created"
|
---|
650 | depends CONFIG_HOME
|
---|
651 | default "/home"
|
---|
652 |
|
---|
653 | config LUSER
|
---|
654 | string
|
---|
655 | default DEF_USER if !CONFIG_USER
|
---|
656 | default SET_USER if CONFIG_USER
|
---|
657 |
|
---|
658 | config LGROUP
|
---|
659 | string
|
---|
660 | default LUSER if !CONFIG_GROUP
|
---|
661 | default SET_GROUP if CONFIG_GROUP
|
---|
662 |
|
---|
663 | config LHOME
|
---|
664 | string
|
---|
665 | default "/home" if !CONFIG_HOME
|
---|
666 | default SET_HOME if CONFIG_HOME
|
---|
667 | #--- End Set User Account
|
---|
668 |
|
---|
669 | config BUILDDIR
|
---|
670 | string "Build Directory"
|
---|
671 | default "/mnt/build_dir"
|
---|
672 | help
|
---|
673 | #-- The directory where the created system will be located.
|
---|
674 | # NOTE: A working directory named jhalfs will be created
|
---|
675 | # here, so ensure this does not conflict with the jhalfs
|
---|
676 | # source directory.
|
---|
677 |
|
---|
678 | config GETPKG
|
---|
679 | bool "Retrieve source files"
|
---|
680 | default n
|
---|
681 | help
|
---|
682 | #-- Download all packages and patches required by the selected book
|
---|
683 | # NOTE: Looks for files in the local archive defined by SRC_ARCHIVE
|
---|
684 | # first and if necessary retrieves them from the 'net.
|
---|
685 | # Files will be transferred to $BUILDDIR/sources.
|
---|
686 |
|
---|
687 | config SRC_ARCHIVE
|
---|
688 | string "Package Archive Directory"
|
---|
689 | default "$SRC_ARCHIVE"
|
---|
690 | depends GETPKG
|
---|
691 | help
|
---|
692 | #-- A local archive for packages/files (not $BUILDDIR/sources)
|
---|
693 | # Any missing file will be downloaded and archived here,
|
---|
694 | # if the user has the right privileges.
|
---|
695 |
|
---|
696 | config RETRYSRCDOWNLOAD
|
---|
697 | bool "Retry on 'connection refused' failure"
|
---|
698 | default n
|
---|
699 | depends GETPKG
|
---|
700 | help
|
---|
701 | #-- Attempt to download a source package again if it fails
|
---|
702 | # with a 'connection refused' error. This can happen on
|
---|
703 | # servers that are overloaded.
|
---|
704 |
|
---|
705 | config RETRYDOWNLOADCNT
|
---|
706 | int "Number of retry attempts on download failures"
|
---|
707 | default 20
|
---|
708 | depends GETPKG
|
---|
709 | help
|
---|
710 | #-- Number of times to retry a failed download.
|
---|
711 |
|
---|
712 | config DOWNLOADTIMEOUT
|
---|
713 | int "Download timeout (in seconds)"
|
---|
714 | default 30
|
---|
715 | depends GETPKG
|
---|
716 | help
|
---|
717 | #-- Number of seconds to wait for a download to start before
|
---|
718 | # timing out.
|
---|
719 |
|
---|
720 | config SERVER
|
---|
721 | string "FTP mirror"
|
---|
722 | default "http://ftp.osuosl.org"
|
---|
723 | depends GETPKG
|
---|
724 | help
|
---|
725 | #-- FTP mirror to download packages and patches if not found
|
---|
726 | # in $SRC_ARCHIVE
|
---|
727 | # As a last resort, the files will downloaded from upstream,
|
---|
728 | # if possible.
|
---|
729 |
|
---|
730 | config RUNMAKE
|
---|
731 | bool "Run the makefile"
|
---|
732 | default n
|
---|
733 | help
|
---|
734 | #-- Automatically run the makefile once it has been created
|
---|
735 |
|
---|
736 | config CLEAN
|
---|
737 | bool "Rebuild files"
|
---|
738 | default n
|
---|
739 | help
|
---|
740 | #-- Clean the build directory before performing any other task.
|
---|
741 | # The directory is cleaned only if it was populated by a
|
---|
742 | # previous JHALFS run.
|
---|
743 |
|
---|
744 | #--- End General Settings
|
---|
745 | endmenu
|
---|
746 |
|
---|
747 | menu "Build Settings"
|
---|
748 | depends !BOOK_BLFS
|
---|
749 |
|
---|
750 | #--- Test Suites
|
---|
751 | config CONFIG_TESTS
|
---|
752 | bool "Run testsuites"
|
---|
753 | depends !BOOK_CLFS2 && !BOOK_CLFS3
|
---|
754 | default y
|
---|
755 | help
|
---|
756 | #-- Run test suites
|
---|
757 | #
|
---|
758 | # You will have to select between:
|
---|
759 | #
|
---|
760 | # - Only critical final system testsuites
|
---|
761 | # - All final system testsuites
|
---|
762 | # - Both temporary tools and final system testsuites
|
---|
763 | #
|
---|
764 | # HLFS and CLFS have no testsuites available in the
|
---|
765 | # temporary tools phase
|
---|
766 | # You will be prompted also about the "flavour" of the
|
---|
767 | # testsuites run:
|
---|
768 | #
|
---|
769 | # - Don't stop on test suite failures
|
---|
770 | # - Abort the build at the first test suite failure
|
---|
771 | #
|
---|
772 |
|
---|
773 | menu "Test settings"
|
---|
774 | depends CONFIG_TESTS
|
---|
775 | choice
|
---|
776 | prompt "Tests level"
|
---|
777 | default TST_1
|
---|
778 |
|
---|
779 | config TST_1
|
---|
780 | bool "Only final system critical testsuites"
|
---|
781 | help
|
---|
782 | #-- Critical tests:
|
---|
783 | # Only Glibc, Binutils, GMP, MPFR, MPC and GCC
|
---|
784 | # testsuites for final system
|
---|
785 |
|
---|
786 | config TST_2
|
---|
787 | bool "All final system testsuites"
|
---|
788 |
|
---|
789 | config TST_3
|
---|
790 | bool "All testsuites" if !BOOK_HLFS && !BOOK_CLFS
|
---|
791 | help
|
---|
792 | #-- All tests:
|
---|
793 | # Runs all the testsuites for both temporary tools
|
---|
794 | # and final system
|
---|
795 | endchoice
|
---|
796 |
|
---|
797 | choice
|
---|
798 | prompt "Flavour"
|
---|
799 |
|
---|
800 | config NO_BOMB
|
---|
801 | bool "Don't stop on test failures"
|
---|
802 |
|
---|
803 | config BOMB
|
---|
804 | bool "Abort the build on the first test failure"
|
---|
805 | endchoice
|
---|
806 |
|
---|
807 | config TEST
|
---|
808 | int
|
---|
809 | default "0" if !CONFIG_TESTS
|
---|
810 | default "1" if TST_1
|
---|
811 | default "2" if TST_2
|
---|
812 | default "3" if TST_3
|
---|
813 |
|
---|
814 | config BOMB_TEST
|
---|
815 | bool
|
---|
816 | default n if NO_BOMB
|
---|
817 | default y if BOMB
|
---|
818 |
|
---|
819 | #--- End Test Suites
|
---|
820 | endmenu # test settings
|
---|
821 |
|
---|
822 | #--- Package Management
|
---|
823 | config PKGMNGT
|
---|
824 | bool "Package management"
|
---|
825 | depends BOOK_LFS || BOOK_LFS_SYSD
|
---|
826 | default n
|
---|
827 | help
|
---|
828 | #-- Use package management
|
---|
829 | #
|
---|
830 | # If set, you'll have to choose between
|
---|
831 | # two package management styles:
|
---|
832 | # - Build and install:
|
---|
833 | # the packages in the final phase are built
|
---|
834 | # in a separate directory, PKG_DEST.
|
---|
835 | # You should provide a bash function for
|
---|
836 | # packaing and installing the package.
|
---|
837 | # - Preload a library before install:
|
---|
838 | # Run the install instructions inside a
|
---|
839 | # wrapper command, which monitors the
|
---|
840 | # installed files.
|
---|
841 | #
|
---|
842 | # Also, you have to provide the instructions
|
---|
843 | # to build the package manager during the
|
---|
844 | # temporary tools phase, in the form of a
|
---|
845 | # sect1 of the book identical to a package
|
---|
846 | # sect1. See README.PACKAGE_MANAGEMENT
|
---|
847 | #
|
---|
848 | # For now, this only works with LFS
|
---|
849 | choice
|
---|
850 | depends PKGMNGT
|
---|
851 | prompt "Package management style"
|
---|
852 | default PKG_PACK
|
---|
853 |
|
---|
854 | config PKG_PACK
|
---|
855 | bool "Build and pack (pacman or dpkg style)"
|
---|
856 |
|
---|
857 | config LIB_LOAD
|
---|
858 | bool "Preload a library before installing (porg style)"
|
---|
859 | endchoice
|
---|
860 |
|
---|
861 | config WRAP_INSTALL
|
---|
862 | bool
|
---|
863 | default y if LIB_LOAD
|
---|
864 | default n if PKG_PACK
|
---|
865 | #--- End package management
|
---|
866 |
|
---|
867 | #--- Installed files logs
|
---|
868 | config INSTALL_LOG
|
---|
869 | bool "Create a log of installed files for each package"
|
---|
870 | default n
|
---|
871 | help
|
---|
872 | #-- Select this if you want to create logs of the files
|
---|
873 | # installed by each package on the final system.
|
---|
874 |
|
---|
875 | #--- End Installed files logs
|
---|
876 |
|
---|
877 | config STRIP
|
---|
878 | bool "Strip Installed Binaries/Libraries"
|
---|
879 | default n
|
---|
880 | depends on !BOOK_CLFS3
|
---|
881 |
|
---|
882 | config NO_PROGRESS_BAR
|
---|
883 | bool "DO NOT use/display progress_bar "
|
---|
884 | default n
|
---|
885 | help
|
---|
886 | #-- Do not use the progress bar routine. On slower machines
|
---|
887 | # this function consumes precious CPU cycles.
|
---|
888 |
|
---|
889 | #--- End Build Settings
|
---|
890 | endmenu
|
---|
891 |
|
---|
892 | menu "System configuration
|
---|
893 | depends !BOOK_BLFS
|
---|
894 |
|
---|
895 | #--- FSTAB
|
---|
896 | config HAVE_FSTAB
|
---|
897 | bool "Use a custom fstab file"
|
---|
898 | default n
|
---|
899 | help
|
---|
900 | #-- Select this if you have an fstab file with entries
|
---|
901 | # for the target system
|
---|
902 |
|
---|
903 | config FSTAB
|
---|
904 | string "Fstab file (optional)"
|
---|
905 | default "***EDIT ME***"
|
---|
906 | depends on HAVE_FSTAB
|
---|
907 | help
|
---|
908 | #-- The location of fstab file (if empty, a template is created)
|
---|
909 | #--- End FSTAB
|
---|
910 |
|
---|
911 | #--- Kernel
|
---|
912 | config CONFIG_BUILD_KERNEL
|
---|
913 | bool "Build the kernel"
|
---|
914 | default n
|
---|
915 | help
|
---|
916 | #-- Select this option if you wish to build the kernel.
|
---|
917 | #
|
---|
918 | # You will be prompted for the full path to the .config
|
---|
919 | # file. It will be copied to the 'sources' directory and
|
---|
920 | # renamed kernel-config
|
---|
921 |
|
---|
922 | config CONFIG
|
---|
923 | string "Kernel config file"
|
---|
924 | default "***EDIT ME***"
|
---|
925 | depends on CONFIG_BUILD_KERNEL
|
---|
926 | help
|
---|
927 | #-- Fully qualified path to a kernel config file
|
---|
928 | # The config file will be copied to ${BUILD_DIR}/sources
|
---|
929 | # and renamed 'kernel-config'
|
---|
930 | #--- End Kernel
|
---|
931 |
|
---|
932 | config VIMLANG
|
---|
933 | bool "Install vim-lang package"
|
---|
934 | default n
|
---|
935 | depends on !BOOK_HLFS && !BOOK_CLFS3
|
---|
936 | help
|
---|
937 | #-- Install the optional vim-lang package
|
---|
938 | # NOTE: This option is obsolete with the 7.3 release of Vim
|
---|
939 | # which is included in all recent releases of LFS.
|
---|
940 |
|
---|
941 | config TIMEZONE
|
---|
942 | string "TimeZone"
|
---|
943 | default "GMT"
|
---|
944 | help
|
---|
945 | #-- The timezone as output by tzselect
|
---|
946 | # This will be copied to /etc/localtime
|
---|
947 |
|
---|
948 | config LANG
|
---|
949 | string "Language"
|
---|
950 | default "$LANG"
|
---|
951 | help
|
---|
952 | #-- LANG variable set in /etc/profile
|
---|
953 | # See http://sourceware.org/git/?p=glibc.git;a=blob;f=localedata/SUPPORTED
|
---|
954 | # for values (or the file localedata/SUPPORTED in glibc tarball)
|
---|
955 |
|
---|
956 | config FULL_LOCALE
|
---|
957 | bool "Install the full set of locales"
|
---|
958 | default n
|
---|
959 | help
|
---|
960 | #-- If set to y, the full set of supported locales
|
---|
961 | # will be installed. Otherwise, only the minimal set
|
---|
962 | # necessary for the tests will be installed,
|
---|
963 | # together with the locale associated with the
|
---|
964 | # LANG you have chosen, if not in the minimal set.
|
---|
965 |
|
---|
966 | #--- Groff page
|
---|
967 | choice
|
---|
968 | prompt "Groff page size"
|
---|
969 | default PAGE_LETTER
|
---|
970 | help
|
---|
971 | #-- Page definition for groff: letter or A4
|
---|
972 |
|
---|
973 | config PAGE_LETTER
|
---|
974 | bool "letter"
|
---|
975 |
|
---|
976 | config PAGE_A4
|
---|
977 | bool "A4"
|
---|
978 | endchoice
|
---|
979 |
|
---|
980 | config PAGE
|
---|
981 | string
|
---|
982 | default "letter" if PAGE_LETTER
|
---|
983 | default "A4" if PAGE_A4
|
---|
984 | #--- End Groff page
|
---|
985 |
|
---|
986 | config HOSTNAME
|
---|
987 | string "Hostname"
|
---|
988 | default "**EDITME**"
|
---|
989 |
|
---|
990 | menu "Network configuration"
|
---|
991 | config INTERFACE
|
---|
992 | string "netword card name"
|
---|
993 | default "eth0"
|
---|
994 | config IP_ADDR
|
---|
995 | string "Static IP address"
|
---|
996 | default "10.0.2.9"
|
---|
997 | config GATEWAY
|
---|
998 | string "Gateway"
|
---|
999 | default "10.0.2.2"
|
---|
1000 | config PREFIX
|
---|
1001 | string "Subnet prefix"
|
---|
1002 | default "24"
|
---|
1003 | config BROADCAST
|
---|
1004 | string "Broadcast address"
|
---|
1005 | default "10.0.2.255"
|
---|
1006 | config DOMAIN
|
---|
1007 | string "Domain name"
|
---|
1008 | default "lfs.org"
|
---|
1009 | config DNS1
|
---|
1010 | string "Primary Name server"
|
---|
1011 | default "10.0.2.3"
|
---|
1012 | config DNS2
|
---|
1013 | string "Secondary Name server"
|
---|
1014 | default "8.8.8.8"
|
---|
1015 | endmenu # Network configuration
|
---|
1016 |
|
---|
1017 | menu "Console configuration"
|
---|
1018 | config FONT
|
---|
1019 | string "Console font"
|
---|
1020 | default "lat0-16"
|
---|
1021 | config FONTMAP
|
---|
1022 | string "Font map (-m option to setfont)"
|
---|
1023 | default "8859-1"
|
---|
1024 | config UNICODE
|
---|
1025 | bool "Unicode mode"
|
---|
1026 | default y
|
---|
1027 | config KEYMAP
|
---|
1028 | string "Keymap name"
|
---|
1029 | default "us"
|
---|
1030 | endmenu # Console configuration
|
---|
1031 |
|
---|
1032 | endmenu #--- System configuration
|
---|
1033 |
|
---|
1034 | menu "Advanced Features"
|
---|
1035 | depends !BOOK_BLFS
|
---|
1036 |
|
---|
1037 | config REPORT
|
---|
1038 | depends !PKGMNGT
|
---|
1039 | bool "Create SBU and disk usage report"
|
---|
1040 | default y
|
---|
1041 |
|
---|
1042 | #--- ICA/farce
|
---|
1043 | config COMPARE
|
---|
1044 | bool "Run comparison analysis on final stage"
|
---|
1045 | depends !BOOK_CLFS2 && !BOOK_CLFS3
|
---|
1046 | default n
|
---|
1047 | help
|
---|
1048 | #-- Should an iterative comparison analysis be performed?
|
---|
1049 | #
|
---|
1050 | # Unless you are familiar with ICA and/or FARCE do not
|
---|
1051 | # select this option
|
---|
1052 | #
|
---|
1053 | # ICA and FARCE are analysis tools for comparing one
|
---|
1054 | # build to the next. Builds mays differ from one iteration
|
---|
1055 | # to another due to the build order and these tools try
|
---|
1056 | # to ferret out those differences by examining the stored
|
---|
1057 | # build logs and binary files.
|
---|
1058 | #
|
---|
1059 | # The scripts are well commented and can be found in ./extras/*
|
---|
1060 | #
|
---|
1061 |
|
---|
1062 | config ITERATIONS
|
---|
1063 | int "Number of test runs (2,3,4,5)" if COMPARE
|
---|
1064 | depends on COMPARE
|
---|
1065 | range 2 5
|
---|
1066 | default 3
|
---|
1067 |
|
---|
1068 | config RUN_ICA
|
---|
1069 | bool "ICA testing"
|
---|
1070 | depends on COMPARE
|
---|
1071 | default y
|
---|
1072 | help
|
---|
1073 | #-- Run ICA testing
|
---|
1074 |
|
---|
1075 | config RUN_FARCE
|
---|
1076 | bool "farce testing"
|
---|
1077 | depends on COMPARE
|
---|
1078 | default n
|
---|
1079 | help
|
---|
1080 | #-- Run farce testing
|
---|
1081 | #--- End ICA/farce
|
---|
1082 |
|
---|
1083 | #--- Optimizations
|
---|
1084 | if !BOOK_CLFS2 && !BOOK_CLFS3
|
---|
1085 | config CONFIG_OPTIMIZE
|
---|
1086 | bool "Optimization and parallelization"
|
---|
1087 | default n
|
---|
1088 | help
|
---|
1089 | # Opens a menu for various optimization settings:
|
---|
1090 | # Actual optimization flags MUST be defined in ./optimize/*
|
---|
1091 | # before activating this option.
|
---|
1092 | #
|
---|
1093 | # WARNING: The use of build optimizations may lead to build issues.
|
---|
1094 | # If the system doesn't work as expected, please rebuild
|
---|
1095 | # without optimizations before asking for support.
|
---|
1096 | menu "Optimization settings"
|
---|
1097 | depends on CONFIG_OPTIMIZE
|
---|
1098 |
|
---|
1099 | config N_PARALLEL
|
---|
1100 | int "Number of parallel `make' jobs"
|
---|
1101 | default 1
|
---|
1102 | help
|
---|
1103 | #-- The usual recommandation is (number of CPU cores)+1
|
---|
1104 | # Do not set for meaningful SBU calculations.
|
---|
1105 |
|
---|
1106 | choice
|
---|
1107 | prompt "Optimization level "
|
---|
1108 | default OPT_1
|
---|
1109 | help
|
---|
1110 | #-- Optimization values are set in optimize/* files
|
---|
1111 |
|
---|
1112 | config OPT_1
|
---|
1113 | bool "Final system only"
|
---|
1114 |
|
---|
1115 | config OPT_2
|
---|
1116 | bool "Both temp tools and final system"
|
---|
1117 |
|
---|
1118 | config OPT_3
|
---|
1119 | bool "Cross tools (only MAKEFLAGS), temp tools and final system" if BOOK_CLFS
|
---|
1120 | endchoice
|
---|
1121 | endmenu
|
---|
1122 | config OPTIMIZE
|
---|
1123 | int
|
---|
1124 | default "0" if !CONFIG_OPTIMIZE
|
---|
1125 | default "1" if OPT_1
|
---|
1126 | default "2" if OPT_2
|
---|
1127 | default "3" if OPT_3
|
---|
1128 | endif
|
---|
1129 | #--- End Optimizations
|
---|
1130 |
|
---|
1131 | #-- Internal Settings
|
---|
1132 | menu "Internal Settings (WARNING: for jhalfs developers only)"
|
---|
1133 |
|
---|
1134 | config SCRIPT_ROOT
|
---|
1135 | string "Scripts root"
|
---|
1136 | default "jhalfs"
|
---|
1137 |
|
---|
1138 | config JHALFSDIR
|
---|
1139 | string "jhalfs directory"
|
---|
1140 | default "$BUILDDIR/$SCRIPT_ROOT"
|
---|
1141 |
|
---|
1142 | config LOGDIRBASE
|
---|
1143 | string "Build logs directory basename"
|
---|
1144 | default "logs"
|
---|
1145 |
|
---|
1146 | config LOGDIR
|
---|
1147 | string "Build logs directory"
|
---|
1148 | default "$JHALFSDIR/$LOGDIRBASE"
|
---|
1149 |
|
---|
1150 | config TESTLOGDIRBASE
|
---|
1151 | string "Test suites logs directory basename"
|
---|
1152 | default "test-logs"
|
---|
1153 |
|
---|
1154 | config TESTLOGDIR
|
---|
1155 | string "Test suites logs directory"
|
---|
1156 | default "$JHALFSDIR/$TESTLOGDIRBASE"
|
---|
1157 |
|
---|
1158 | config FILELOGDIRBASE
|
---|
1159 | string "Installed files logs directory basename"
|
---|
1160 | default "installed-files"
|
---|
1161 |
|
---|
1162 | config FILELOGDIR
|
---|
1163 | string "Installed files logs directory"
|
---|
1164 | default "$JHALFSDIR/$FILELOGDIRBASE"
|
---|
1165 |
|
---|
1166 | config ICALOGDIR
|
---|
1167 | string "ICA logs directory"
|
---|
1168 | default "$LOGDIR/ICA"
|
---|
1169 |
|
---|
1170 | config FARCELOGDIR
|
---|
1171 | string "farce logs directory"
|
---|
1172 | default "$LOGDIR/farce"
|
---|
1173 |
|
---|
1174 | config MKFILE
|
---|
1175 | string "Makefile"
|
---|
1176 | default "$JHALFSDIR/Makefile"
|
---|
1177 |
|
---|
1178 | config XSL
|
---|
1179 | string "XSL stylesheet"
|
---|
1180 | default "$PROGNAME.xsl"
|
---|
1181 |
|
---|
1182 | config PKG_LST
|
---|
1183 | string "Package contents list"
|
---|
1184 | default "unpacked"
|
---|
1185 |
|
---|
1186 | #--- End Internal Settings
|
---|
1187 | endmenu
|
---|
1188 |
|
---|
1189 | #--- End Advanced Features
|
---|
1190 | endmenu
|
---|
1191 |
|
---|
1192 | config REBUILD_MAKEFILE
|
---|
1193 | depends !BOOK_BLFS
|
---|
1194 | bool "Rebuild the Makefile (see help)"
|
---|
1195 | default n
|
---|
1196 | help
|
---|
1197 | #-- Rebuild the Makefile
|
---|
1198 | #
|
---|
1199 | # This option allows to rebuild the Makefile after
|
---|
1200 | # customizing the base system build scripts.
|
---|
1201 | #
|
---|
1202 | # See README.CUSTOM for more info about this feature.
|
---|
1203 |
|
---|