source: Config.in@ 52cced4

ablfs-more legacy trunk
Last change on this file since 52cced4 was 1e686d1, checked in by Pierre Labastie <pierre.labastie@…>, 4 years ago

Moving to git:

Change names and help in Config.in

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