source: Config.in@ a78cfc9

ablfs-more legacy trunk
Last change on this file since a78cfc9 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
Line 
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
13 Set up the tools to build LFS with SysV 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 on BOOK_BLFS
44 prompt "Init system"
45
46 config BLFS_SYSV
47 bool "BLFS SysV"
48 help
49 Extract the SysV 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 relGIT
81
82 config relGIT
83 bool "GIT"
84 help
85 Current development git trunk branch
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
95 A supported GIT branch or tag
96 endchoice
97
98 config BRANCH_ID
99 string "Branch (preceded by \"branch-\"), stable Version, or tag"
100 default "**EDIT ME**"
101 depends on BRANCH
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**"
112 depends on WORKING_COPY
113 help
114 The full path to a local copy of the book XML sources
115
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
123 Use standard LFS book (choose this if not multilib source)
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
149 #--- End BOOK version
150
151 #--- CLFS specific params
152 choice
153 prompt "Target architecture"
154 default ARCH_X86
155 depends on BOOK_CLFS || BOOK_CLFS2 || BOOK_CLFS3
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"
183 depends on BOOK_CLFS3 && ARCH_MIPS
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"
198 depends on (BOOK_CLFS && !ARCH_ALPHA) || (BOOK_CLFS3 && ARCH_MIPS)
199 default DATA_32
200 help
201 Choose the target system libraries type
202
203 config DATA_32
204 bool "32-bit"
205
206 config DATA_64
207 bool "64-bit"
208
209 config DATA_MULTI
210 bool "multilib" if !(BOOK_CLFS3 && ARCH_MIPS )
211 endchoice
212
213 choice
214 prompt "Processor type"
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))
216 help
217 Choose the target system processor
218
219 config PROC_i486
220 bool "486 Compatibles" if ARCH_X86
221
222 config PROC_i586
223 bool "Pentium, K6, 586 Compatibles" if ARCH_X86
224
225 config PROC_i686
226 bool "Pentium II, Pentium III, Pentium 4, Athlon, Duron" if ARCH_X86
227
228 config PROC_mipsel
229 bool "MIPS Little Endian" if ARCH_MIPS
230
231 config PROC_mips
232 bool "MIPS Big Endian" if ARCH_MIPS
233
234 config PROC_unknown
235 bool "Unknown" if ARCH_HPPA || ARCH_ALPHA
236
237 config PROC_hppa1
238 bool "PA 7000 Series" if ARCH_HPPA
239
240 config PROC_hppa2
241 bool "PA 8000 Series" if ARCH_HPPA
242
243 config PROC_EV5
244 bool "EV5 Series" if ARCH_ALPHA
245
246 config PROC_EV56
247 bool "EV56 Series" if ARCH_ALPHA
248
249 config PROC_PCA56
250 bool "PCA56 Series" if ARCH_ALPHA
251
252 config PROC_PCA57
253 bool "PCA57 Series" if ARCH_ALPHA
254
255 config PROC_EV6
256 bool "EV6 Series" if ARCH_ALPHA
257
258 config PROC_EV67
259 bool "EV67 Series" if ARCH_ALPHA
260
261 config PROC_EV68
262 bool "EV68 Series" if ARCH_ALPHA
263
264 config PROC_ARM
265 bool "Generic arm, little endian" if ARCH_ARM
266
267 config PROC_ARM5L
268 bool "Generic arm, version 5, little endian" if ARCH_ARM
269
270 config PROC_ARM5B
271 bool "Generic arm, version 5, big endian" if ARCH_ARM
272
273 config PROC_ULTRA1
274 bool "UtraSparc" if ARCH_SPARC && (DATA_64 || DATA_MULTI)
275
276 config PROC_ULTRA2
277 bool "UtraSparc2" if ARCH_SPARC && (DATA_64 || DATA_MULTI)
278
279 config PROC_ULTRA3
280 bool "UtraSparc3" if ARCH_SPARC && (DATA_64 || DATA_MULTI)
281 endchoice
282
283 choice
284 prompt "MIPS 64 ABI"
285 depends on BOOK_CLFS3 && ARCH_MIPS && DATA_64
286 default ABI_64
287 help
288 Choose the target system ABI to use
289
290 config ABI_32
291 bool "o32"
292
293 config ABI_N32
294 bool "n32"
295
296 config ABI_64
297 bool "n64"
298 endchoice
299
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
305
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
309
310 default "x86_64-unknown-linux-gnu" if ARCH_X86 && (DATA_64 || DATA_MULTI)
311
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)
316
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
321
322 default "powerpc-unknown-linux-gnu" if ARCH_PPC && DATA_32
323 default "powerpc64-unknown-linux-gnu" if ARCH_PPC && (DATA_MULTI || DATA_64)
324
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
349 depends on DATA_MULTI
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
395 depends on BOOK_CLFS3 && ARCH_MIPS
396 default "1" if DATA_32
397 default "3" if DATA_64
398
399 config ABI
400 string
401 depends on BOOK_CLFS3
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
410 depends on BOOK_CLFS3 && (ARCH_MIPS || ARCH_ARM)
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"
416 depends on BOOK_CLFS
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
497 automatically on boot. It allows copy-paste
498 while Xorg is not installed.
499
500 config DEP_GIT
501 bool "GIT client (optional, see help)"
502 default n
503 help
504 Git is needed for updating the book
505 sources. You do not need it if building a
506 stable book.
507
508 endmenu
509
510 choice
511 prompt "BLFS Release"
512 default BLFS_GIT
513
514 config BLFS_GIT
515 bool "BLFS GIT"
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
527 A supported GIT branch or stable (tag) book release
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
535 Full path to the BLFS book working copy
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"
568 depends on BLFS_TOOL || BOOK_BLFS
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...
573
574 config LFS_XML
575 string "LFS sources directory (internal parameter)"
576 default "lfs-xml"
577 depends on BLFS_TOOL || BOOK_BLFS
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
583 choice
584 prompt "LFS Release"
585 default LFS_relGIT
586 depends on BOOK_BLFS
587
588 config LFS_relGIT
589 bool "LFS GIT"
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
601 A supported GIT branch or stable (tag) book release
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.
618 # End of BLFS parameters
619
620 #--- Custom Tools support
621 config CUSTOM_TOOLS
622 depends on !BOOK_BLFS
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
630 #--- This directory is needed for blfs tools installation and custom tools
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.
652
653#--- End BOOK Settings
654endmenu
655
656menu "General Settings"
657depends on !BOOK_BLFS
658
659 #--- {C,H,}LFS User Account
660
661 config LUSER
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
669 default LUSER
670
671 config LHOME
672 string
673 default "/home"
674
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"
698 depends on GETPKG
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
707 depends on GETPKG
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
716 depends on GETPKG
717 help
718 #-- Number of times to retry a failed download.
719
720 config DOWNLOADTIMEOUT
721 int "Download timeout (in seconds)"
722 default 30
723 depends on GETPKG
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"
731 depends on GETPKG
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.
751
752#--- End General Settings
753endmenu
754
755menu "Build Settings"
756depends on !BOOK_BLFS
757
758 #--- Test Suites
759 config CONFIG_TESTS
760 bool "Run testsuites"
761 depends on !BOOK_CLFS2 && !BOOK_CLFS3
762 default y
763 help
764 #-- Run test suites
765 # If you select 'y' here:
766 # You will have to select between:
767 # - Only critical final system testsuites
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 #
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
782
783 menu "Test settings"
784 depends on CONFIG_TESTS
785 choice
786 prompt "Tests level"
787 default TST_1
788
789 config TST_1
790 bool "Only final system critical testsuites"
791 help
792 #-- Critical tests:
793 # Only Glibc, Binutils, GMP, MPFR, MPC and GCC
794 # testsuites for final system. The others are commented
795 # out.
796
797 config TST_2
798 bool "All final system testsuites"
799 help
800 #-- All final system test suites:
801 # Test instructions for the temporary tools (if available)
802 # are commented out.
803
804 config TST_3
805 bool "All testsuites" if !BOOK_HLFS && !BOOK_CLFS
806 help
807 #-- All tests:
808 # Runs all the testsuites for both temporary tools (if
809 # available) and final system
810 endchoice
811
812 choice
813 prompt "Flavour"
814
815 config NO_BOMB
816 bool "Don't stop on test failures"
817
818 config BOMB
819 bool "Abort the build on the first test failure"
820 endchoice
821
822 endmenu # test settings
823
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
831 config BOMB_TEST
832 bool
833 default n if NO_BOMB
834 default y if BOMB
835 #--- End Test Suites
836
837 #--- Package Management
838 config PKGMNGT
839 bool "Package management"
840 depends on BOOK_LFS || BOOK_LFS_SYSD
841 default n
842 help
843 #-- Use package management
844 #
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
851 # packaging and installing the package.
852 # - Preload a library before install:
853 # Run the install instructions inside a
854 # wrapper command, which monitors the
855 # installed files.
856 #
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
864 choice
865 depends on PKGMNGT
866 prompt "Package management style"
867 default PKG_PACK
868
869 config PKG_PACK
870 bool "Build and pack (pacman or dpkg style)"
871
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
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
892 config STRIP
893 bool "Strip Installed Binaries/Libraries"
894 default n
895 depends on !BOOK_CLFS3
896
897 config DEL_LA_FILES
898 bool "Remove libtool .la files"
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
904 config NO_PROGRESS_BAR
905 bool "DO NOT use/display progress_bar"
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
914menu "System configuration"
915 depends on !BOOK_BLFS
916
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
923 # for the target system
924
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
954 config NCURSES5
955 bool "Install non-wide-character ncurses"
956 default n
957 depends on BOOK_LFS || BOOK_LFS_SYSD
958 help
959 #-- Install the optional non wide character ncurses5 library
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
1005
1006 config HOSTNAME
1007 string "Hostname (see help)"
1008 default "**EDITME**"
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/).
1017
1018 menu "Network configuration"
1019 config INTERFACE
1020 string "netword card name"
1021 default "eth0"
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.
1027 config IP_ADDR
1028 string "Static IP address"
1029 default "10.0.2.9"
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
1036 config GATEWAY
1037 string "Gateway"
1038 default "10.0.2.2"
1039 help
1040 Again, this default is for a qemu network stack. Usually, the
1041 gateway is the address of your firewall.
1042 config PREFIX
1043 string "Subnet prefix"
1044 default "24"
1045 help
1046 Again, this default is for a qemu network stack, but is also
1047 the most used in private networks.
1048 config BROADCAST
1049 string "Broadcast address"
1050 default "10.0.2.255"
1051 config DOMAIN
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.
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"
1076 help
1077 Unicode mode is set by default. Setting FONT_MAP, FONT_UNIMAP,
1078 etc, must be done manually.
1079 config KEYMAP
1080 string "Keymap name"
1081 default "us"
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"
1091 depends on BOOK_LFS
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.
1097 endmenu # Console configuration
1098
1099endmenu #--- System configuration
1100
1101menu "Advanced Features"
1102depends on !BOOK_BLFS
1103
1104 config REPORT
1105 bool "Create SBU and disk usage report"
1106 default y
1107
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
1119 #--- ICA
1120 config COMPARE
1121 bool "Run comparison analysis on final stage"
1122 depends on !BOOK_CLFS2 && !BOOK_CLFS3
1123 default n
1124 help
1125 #-- Should an iterative comparison analysis be performed?
1126 #
1127 # Unless you are familiar with ICA, do not
1128 # select this option
1129 #
1130 # ICA is an analysis tool for comparing one
1131 # build to the next. Builds mays differ from one iteration
1132 # to another due to the build order and this tool try
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
1146 bool
1147 default y if COMPARE
1148
1149 #--- End ICA
1150
1151 #--- Optimizations
1152if !BOOK_CLFS2 && !BOOK_CLFS3
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
1175 prompt "Optimization level"
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
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
1198endmenu
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
1205endif
1206
1207 #--- End Optimizations
1208
1209 #-- Internal Settings
1210 menu "Internal Settings (WARNING: for jhalfs developers only)"
1211
1212 config SCRIPT_ROOT
1213 string "Scripts root"
1214 default "jhalfs"
1215
1216 config JHALFSDIR
1217 string "jhalfs directory"
1218 default "$BUILDDIR/$SCRIPT_ROOT"
1219
1220 config LOGDIRBASE
1221 string "Build logs directory basename"
1222 default "logs"
1223
1224 config LOGDIR
1225 string "Build logs directory"
1226 default "$JHALFSDIR/$LOGDIRBASE"
1227
1228 config TESTLOGDIRBASE
1229 string "Test suites logs directory basename"
1230 default "test-logs"
1231
1232 config TESTLOGDIR
1233 string "Test suites logs directory"
1234 default "$JHALFSDIR/$TESTLOGDIRBASE"
1235
1236 config FILELOGDIRBASE
1237 string "Installed files logs directory basename"
1238 default "installed-files"
1239
1240 config FILELOGDIR
1241 string "Installed files logs directory"
1242 default "$JHALFSDIR/$FILELOGDIRBASE"
1243
1244 config ICALOGDIR
1245 string "ICA logs directory"
1246 default "$LOGDIR/ICA"
1247
1248 config MKFILE
1249 string "Makefile"
1250 default "$JHALFSDIR/Makefile"
1251
1252 config XSL
1253 string "XSL stylesheet"
1254 default "$PROGNAME.xsl"
1255
1256 config PKG_LST
1257 string "Package contents list"
1258 default "unpacked"
1259
1260 #--- End Internal Settings
1261 endmenu
1262
1263#--- End Advanced Features
1264endmenu
1265
1266config REBUILD_MAKEFILE
1267# depends on !BOOK_BLFS
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.
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.