source: Config.in@ 610a5c4

ablfs-more legacy trunk
Last change on this file since 610a5c4 was fd4a798, checked in by Pierre Labastie <pierre.labastie@…>, 3 years ago

Remove $Id$ comments, they are useless with git

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