source: Config.in@ 1242857

ablfs-more trunk
Last change on this file since 1242857 was 8825e69, checked in by Pierre Labastie <pierre.labastie@…>, 3 years ago

Get completely rid of PROGNAME

There is only one PROGNAME: lfs, so no need for a variable.

  • Property mode set to 100644
File size: 30.0 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_BLFS
21 bool "Beyond Linux From Scratch (see help)"
22 help
[e3f41e33]23 if the LFS system has already been built, install the tools
[e5d44f5]24 to build BLFS packages.
25 endchoice
26
[39dc04a]27 choice
[f596dde]28 depends on BOOK_BLFS
[39dc04a]29 prompt "Init system"
30
31 config BLFS_SYSV
[706e5bf]32 bool "BLFS SysV"
[39dc04a]33 help
[706e5bf]34 Extract the SysV flavour of the BLFS book
[39dc04a]35
36 config BLFS_SYSD
37 bool "BLFS systemd"
38 help
39 Extract the systemd flavour of the BLFS book
40
41 endchoice
42
[e5d44f5]43 config INITSYS
44 string
[39dc04a]45 default "sysv" if BOOK_LFS || BLFS_SYSV
46 default "systemd" if BOOK_LFS_SYSD || BLFS_SYSD
[e5d44f5]47
48 config RUN_ME
49 string
[e3f41e33]50 default "./jhalfs run" if BOOK_LFS || BOOK_LFS_SYSD
[e5d44f5]51 default "./install-blfs-tools.sh auto" if BOOK_BLFS
52 #--- End BOOK/script
53
54 #--- Book version
55 choice
[f45af2c]56 prompt "Book version"
57 default BRANCH
[e5d44f5]58
[f45af2c]59 config BRANCH
60 bool "Branch (default to trunk) or any commit"
[e5d44f5]61 help
[f45af2c]62 A GIT branch, tag, or commit
[e5d44f5]63
64 config WORKING_COPY
65 bool "Working Copy"
66 help
67 A local working copy
68 endchoice
69
[f45af2c]70 config COMMIT
71 string "Branch, tag, or any commit"
72 default "trunk"
[f596dde]73 depends on BRANCH
[e5d44f5]74 help
[f45af2c]75 Enter a branch, a tag, or an abbreviated commit sha.
76 The tool will clone the LFS repository and checkout
77 that commit
[e5d44f5]78
79 config BOOK
80 string "Loc of working copy (mandatory)"
81 default "**EDIT ME**"
[f596dde]82 depends on WORKING_COPY
[e5d44f5]83 help
84 The full path to a local copy of the book XML sources
85
[13e52a5]86 choice
87 depends on (BOOK_LFS || BOOK_LFS_SYSD) && (BRANCH || WORKING_COPY)
88 prompt "Mutilib"
89 default LFS_MULTILIB_NO
90 config LFS_MULTILIB_NO
91 bool "Standard LFS on i686 or amd64"
92 help
[b6e981a]93 Use standard LFS book (choose this if not multilib source)
[13e52a5]94
95 config LFS_MULTILIB_I686
96 bool "Multilib LFS on amd64 with i686 libraries"
97 help
98 Use Multilib LFS book with i686 libraries
99
100 config LFS_MULTILIB_X32
101 bool "Multilib LFS on amd64 with x32 libraries"
102 help
103 Use Multilib LFS book with x32 libraries
104
105 config LFS_MULTILIB_ALL
106 bool "Multilib LFS on amd64 with i686 and x32 libraries"
107 help
108 Use Multilib LFS book with i686 and x32 libraries
109
110 endchoice
111
112 config MULTILIB
113 string
114 default "default" if LFS_MULTILIB_NO
115 default "ml_32" if LFS_MULTILIB_I686
116 default "ml_x32" if LFS_MULTILIB_X32
117 default "ml_all" if LFS_MULTILIB_ALL
118
[e5d44f5]119 #--- End BOOK version
120
121 choice
122 prompt "Build method"
[e3f41e33]123 default BUILD_CHROOT
[e5d44f5]124 help
125 What build method should be used: a chroot jail or minimal boot
[e3f41e33]126 system. Review the clfs-ng branch chap6 "TO BOOT OR CHROOT" for
[e5d44f5]127 a full explanation.
128
129 config BUILD_CHROOT
130 bool "chroot"
131
132 config BUILD_BOOT
133 bool "boot"
134 endchoice
135
136 config METHOD
137 string
138 default "chroot" if BUILD_CHROOT
139 default "boot" if BUILD_BOOT
140
141 config BOOT_CONFIG
142 string "BOOT kernel config file (mandatory)"
143 default "***EDIT ME***"
144 depends on BUILD_BOOT
145 help
146 If METHOD=boot, location of boot-kernel config file
147 The config file will be copied to ${BUILD_DIR}/sources
148 and renamed 'bootkernel-config'
149 NOTE: this setting is required
150
151 #--- blfs-tool Support
152 config BLFS_TOOL
153 bool "Add blfs-tool support"
154 default n
[e3f41e33]155 depends on !BOOK_BLFS
[e5d44f5]156 help
157 Activating this option will install additional packages needed
158 to use blfs tools after booting the new system.
159 The blfs-tool files will be installed under $BUILD_DIR/blfs_root
160 (see below).
161 After booting the new xLFS system, but before using the blfs tools,
162 you should create a user account, move the /blfs_root directory
163 to that user's home, and change its ownership to that of the user.
164 Also, be sure to give the user read and write access on the
165 $TRACKING_DIR directory and the files that it contains.
166 Don't forget to configure sudo properly on the new system.
167
168 config DUMMY # Avoid indenting the items below
169 bool
170
171 if BLFS_TOOL
172 menu "blfs-tool dependencies"
173
174 config DEP_LIBXML
175 bool "libxml2 (required)"
176 default y
177
178 config DEP_LIBXSLT
179 bool "libxslt (required)"
180 default y
181
182 config DEP_DBXML
183 bool "DocBook XML DTD (required)"
184 default y
185
186 config DEP_LYNX
187 bool "lynx (optional, for reading the generated book)"
188 default y
189
[7f25c70]190 config DEP_SUDO
191 bool "sudo (recommended)"
192 default y
193
[e5d44f5]194 config DEP_WGET
195 bool "wget (recommended)"
196 default y
197
198 config DEP_GPM
199 bool "GPM (optional, see help)"
200 default n
201 help
202 if you install gpm, it will be started
[90f5b6d]203 automatically on boot. It allows copy-paste
204 while Xorg is not installed.
[e5d44f5]205
[1e686d1]206 config DEP_GIT
207 bool "GIT client (optional, see help)"
[e5d44f5]208 default n
209 help
[1e686d1]210 Git is needed for updating the book
[90f5b6d]211 sources. You do not need it if building a
212 stable book.
[e5d44f5]213
214 endmenu
215
216 choice
217 prompt "BLFS Release"
[1e686d1]218 default BLFS_GIT
[e5d44f5]219
[1e686d1]220 config BLFS_GIT
221 bool "BLFS GIT"
[e5d44f5]222 help
223 Current development version as in trunk
224
225 config BLFS_WORKING_COPY
226 bool "BLFS working copy"
227 help
228 A local working copy of the BLFS book.
229
230 config BLFS_BRANCH
231 bool "BLFS Branch or stable book"
232 help
[1e686d1]233 A supported GIT branch or stable (tag) book release
[e5d44f5]234 endchoice
235
236 config BLFS_WC_LOCATION
237 string "Location of the local BLFS working copy (mandatory)"
238 default "**EDIT ME**"
239 depends on BLFS_WORKING_COPY
240 help
[506120ee]241 Full path to the BLFS book working copy
[e5d44f5]242
243 config BLFS_BRANCH_ID
244 string "BLFS Book Version (mandatory)"
245 default "**EDIT ME**"
246 depends on BLFS_BRANCH
247 help
[f45af2c]248 Can be any branch, tag, or abbreviated (or not) commit sha.
[e5d44f5]249 endif
250 #--- End blfs-tool Support
251
252 #--- BLFS params (Used for installing the tools, either after a jhalfs run
253 # or directly)
254 config BLFS_ROOT
255 string "Root of the tools directory (see help)"
256 default "/blfs_root"
257 depends on BLFS_TOOL || BOOK_BLFS
258 help
259 Path to the directory where all required files and scripts
260 will be stored.
261
262 This path must begin with a slash, and:
263 - is relative to the user's HOME directory when installing the
264 blfs tools on an already existing LFS system.
265 - is relative to the root of the build directory (`/' in chroot)
266 when adding the tools after a jhalfs run
267
268 CAUTION: this directory will be removed if it already exists.
269
270 config BLFS_XML
271 string "BLFS sources directory (internal parameter)"
272 default "blfs-xml"
[f596dde]273 depends on BLFS_TOOL || BOOK_BLFS
[e5d44f5]274 help
275 The directory name under $BLFS_ROOT where the BLFS
276 book sources will be copied or checked out. Do not change that
277 unless you know what you are doing...
[506120ee]278
[f733772]279 config LFS_XML
280 string "LFS sources directory (internal parameter)"
281 default "lfs-xml"
[f596dde]282 depends on BLFS_TOOL || BOOK_BLFS
[f733772]283 help
284 The directory name under $BLFS_ROOT where the LFS
285 book sources will be copied or checked out. Do not change that
286 unless you know what you are doing...
287
[506120ee]288 choice
289 prompt "LFS Release"
[1e686d1]290 default LFS_relGIT
[f596dde]291 depends on BOOK_BLFS
[506120ee]292
[1e686d1]293 config LFS_relGIT
294 bool "LFS GIT"
[506120ee]295 help
296 Current development version as in trunk
297
298 config LFS_WORKING_COPY
299 bool "LFS working copy"
300 help
301 A local working copy of the LFS book.
302
303 config LFS_BRANCH
304 bool "LFS Branch or stable book"
305 help
[1e686d1]306 A supported GIT branch or stable (tag) book release
[506120ee]307 endchoice
308
309 config BLFS_LFS_BOOK
310 string "Location of the local LFS working copy (mandatory)"
311 default "**EDIT ME**"
312 depends on LFS_WORKING_COPY
313 help
314 Full path to the LFS book working copy"
315
316 config BLFS_LFS_BRANCH_ID
317 string "LFS Book Version (mandatory)"
318 default "**EDIT ME**"
319 depends on LFS_BRANCH
320 help
[f45af2c]321 Any branch, tag or abbreviated (or not) commit sha.
[e5d44f5]322 # End of BLFS parameters
323
324 #--- Custom Tools support
325 config CUSTOM_TOOLS
[f596dde]326 depends on !BOOK_BLFS
[e5d44f5]327 bool "Add custom tools support"
328 default n
329 help
330 Activating this option additional packages you create
331 will be installed after finished the xLFS system build.
332 #--- End Custom Tools support
333
[e3ccc27]334 #--- This directory is needed for blfs tools installation and custom tools
[e5d44f5]335 # As well.
336 config TRACKING_DIR
337 string "Installed packages database directory"
338 default "/var/lib/jhalfs/BLFS"
339 depends on BOOK_BLFS || BLFS_TOOL || CUSTOM_TOOLS
340 help
341 Full path to the directory where the database of
342 installed packages will be created.
343
344 If the blfs tools are installed on a running xLFS system,
345 the user must have enough privileges to create this directory.
346 It may be necessary to create the /var/lib/jhalfs directory as
347 root, and make it writable by the user before running this tool.
348
349 If you are installing the blfs tools as part of an xLFS build
350 and/or using the customized scripts feature, you will
351 need to fix this directory's permissions after booting
352 the new system.
353
[f45af2c]354 Note that the user who will build the packages must
[e5d44f5]355 have read and write access to this directory.
[53f291f]356
[a705708]357#--- End BOOK Settings
358endmenu
359
[e5d44f5]360menu "General Settings"
[e3ccc27]361depends on !BOOK_BLFS
[e5d44f5]362
[f45af2c]363 #--- LFS User Account
[b7583ec]364
365 config LUSER
[e5d44f5]366 string
[f45af2c]367 default "lfs"
[e5d44f5]368
369 config LGROUP
370 string
[b7583ec]371 default LUSER
[e5d44f5]372
373 config LHOME
374 string
[b7583ec]375 default "/home"
376
[e5d44f5]377 #--- End Set User Account
378
379 config BUILDDIR
380 string "Build Directory"
381 default "/mnt/build_dir"
382 help
383 #-- The directory where the created system will be located.
384 # NOTE: A working directory named jhalfs will be created
385 # here, so ensure this does not conflict with the jhalfs
386 # source directory.
387
388 config GETPKG
389 bool "Retrieve source files"
390 default n
391 help
392 #-- Download all packages and patches required by the selected book
393 # NOTE: Looks for files in the local archive defined by SRC_ARCHIVE
394 # first and if necessary retrieves them from the 'net.
395 # Files will be transferred to $BUILDDIR/sources.
396
397 config SRC_ARCHIVE
398 string "Package Archive Directory"
399 default "$SRC_ARCHIVE"
[f596dde]400 depends on GETPKG
[e5d44f5]401 help
402 #-- A local archive for packages/files (not $BUILDDIR/sources)
403 # Any missing file will be downloaded and archived here,
404 # if the user has the right privileges.
405
406 config RETRYSRCDOWNLOAD
407 bool "Retry on 'connection refused' failure"
408 default n
[f596dde]409 depends on GETPKG
[e5d44f5]410 help
411 #-- Attempt to download a source package again if it fails
412 # with a 'connection refused' error. This can happen on
413 # servers that are overloaded.
414
415 config RETRYDOWNLOADCNT
416 int "Number of retry attempts on download failures"
417 default 20
[f596dde]418 depends on GETPKG
[e5d44f5]419 help
420 #-- Number of times to retry a failed download.
421
422 config DOWNLOADTIMEOUT
423 int "Download timeout (in seconds)"
424 default 30
[f596dde]425 depends on GETPKG
[e5d44f5]426 help
427 #-- Number of seconds to wait for a download to start before
428 # timing out.
429
430 config SERVER
431 string "FTP mirror"
432 default "http://ftp.osuosl.org"
[f596dde]433 depends on GETPKG
[e5d44f5]434 help
435 #-- FTP mirror to download packages and patches if not found
436 # in $SRC_ARCHIVE
437 # As a last resort, the files will downloaded from upstream,
438 # if possible.
439
440 config RUNMAKE
441 bool "Run the makefile"
442 default n
443 help
444 #-- Automatically run the makefile once it has been created
445
446 config CLEAN
447 bool "Rebuild files"
448 default n
449 help
450 #-- Clean the build directory before performing any other task.
451 # The directory is cleaned only if it was populated by a
452 # previous JHALFS run.
[a705708]453
454#--- End General Settings
455endmenu
456
[e5d44f5]457menu "Build Settings"
[e3ccc27]458depends on !BOOK_BLFS
[e5d44f5]459
460 #--- Test Suites
461 config CONFIG_TESTS
462 bool "Run testsuites"
463 default y
464 help
465 #-- Run test suites
[1d5f3e3]466 # If you select 'y' here:
[e5d44f5]467 # You will have to select between:
[945ccaa]468 # - Only critical final system testsuites
[e5d44f5]469 # - All final system testsuites
470 # You will be prompted also about the "flavour" of the
471 # testsuites run:
472 # - Don't stop on test suite failures
473 # - Abort the build at the first test suite failure
474 #
[1d5f3e3]475 # Note that in any case, all the test instructions will
476 # be generated. Those which are not wanted will be commented
477 # out. If you select 'n' here, the commented test instructions
478 # do not stop on test suite failures.
[e5d44f5]479
[945ccaa]480 menu "Test settings"
[f596dde]481 depends on CONFIG_TESTS
[e5d44f5]482 choice
483 prompt "Tests level"
484 default TST_1
485
486 config TST_1
[945ccaa]487 bool "Only final system critical testsuites"
488 help
489 #-- Critical tests:
490 # Only Glibc, Binutils, GMP, MPFR, MPC and GCC
[1d5f3e3]491 # testsuites for final system. The others are commented
492 # out.
[e5d44f5]493
494 config TST_2
495 bool "All final system testsuites"
[1d5f3e3]496 help
497 #-- All final system test suites:
498 # Test instructions for the temporary tools (if available)
499 # are commented out.
[e5d44f5]500
501 endchoice
502
503 choice
504 prompt "Flavour"
505
506 config NO_BOMB
[945ccaa]507 bool "Don't stop on test failures"
[e5d44f5]508
509 config BOMB
[945ccaa]510 bool "Abort the build on the first test failure"
[e5d44f5]511 endchoice
512
[30a8961]513 endmenu # test settings
514
[945ccaa]515 config TEST
516 int
517 default "0" if !CONFIG_TESTS
518 default "1" if TST_1
519 default "2" if TST_2
520
[e5d44f5]521 config BOMB_TEST
522 bool
523 default n if NO_BOMB
524 default y if BOMB
[30a8961]525 #--- End Test Suites
[e5d44f5]526
527 #--- Package Management
528 config PKGMNGT
529 bool "Package management"
[f596dde]530 depends on BOOK_LFS || BOOK_LFS_SYSD
[e5d44f5]531 default n
532 help
533 #-- Use package management
534 #
[945ccaa]535 # If set, you'll have to choose between
536 # two package management styles:
537 # - Build and install:
538 # the packages in the final phase are built
539 # in a separate directory, PKG_DEST.
540 # You should provide a bash function for
[4b2a5fd]541 # packaging and installing the package.
[945ccaa]542 # - Preload a library before install:
543 # Run the install instructions inside a
544 # wrapper command, which monitors the
545 # installed files.
546 #
[e5d44f5]547 # Also, you have to provide the instructions
548 # to build the package manager during the
549 # temporary tools phase, in the form of a
550 # sect1 of the book identical to a package
551 # sect1. See README.PACKAGE_MANAGEMENT
[945ccaa]552 choice
[f596dde]553 depends on PKGMNGT
[945ccaa]554 prompt "Package management style"
555 default PKG_PACK
556
557 config PKG_PACK
558 bool "Build and pack (pacman or dpkg style)"
[e5d44f5]559
[945ccaa]560 config LIB_LOAD
561 bool "Preload a library before installing (porg style)"
562 endchoice
563
564 config WRAP_INSTALL
565 bool
566 default y if LIB_LOAD
567 default n if PKG_PACK
[e5d44f5]568 #--- End package management
569
570 #--- Installed files logs
571 config INSTALL_LOG
572 bool "Create a log of installed files for each package"
573 default n
574 help
575 #-- Select this if you want to create logs of the files
576 # installed by each package on the final system.
577
578 #--- End Installed files logs
579
[945ccaa]580 config STRIP
581 bool "Strip Installed Binaries/Libraries"
582 default n
583
[dc7fd7b]584 config DEL_LA_FILES
[d2a7ec8]585 bool "Remove libtool .la files"
[dc7fd7b]586 default y
587 help
588 #-- Remove files libxxx.la installed by libtool. For a rationale
589 # see https://blog.flameeyes.eu/tags/lafiles/
590
[945ccaa]591 config NO_PROGRESS_BAR
[f596dde]592 bool "DO NOT use/display progress_bar"
[945ccaa]593 default n
594 help
595 #-- Do not use the progress bar routine. On slower machines
596 # this function consumes precious CPU cycles.
597
598#--- End Build Settings
599endmenu
600
[6990d80]601menu "System configuration"
[e3ccc27]602 depends on !BOOK_BLFS
[945ccaa]603
[e5d44f5]604 #--- FSTAB
605 config HAVE_FSTAB
606 bool "Use a custom fstab file"
607 default n
608 help
609 #-- Select this if you have an fstab file with entries
[945ccaa]610 # for the target system
[a705708]611
[e5d44f5]612 config FSTAB
613 string "Fstab file (optional)"
614 default "***EDIT ME***"
615 depends on HAVE_FSTAB
616 help
617 #-- The location of fstab file (if empty, a template is created)
618 #--- End FSTAB
619
620 #--- Kernel
621 config CONFIG_BUILD_KERNEL
622 bool "Build the kernel"
623 default n
624 help
625 #-- Select this option if you wish to build the kernel.
626 #
627 # You will be prompted for the full path to the .config
628 # file. It will be copied to the 'sources' directory and
629 # renamed kernel-config
630
631 config CONFIG
632 string "Kernel config file"
633 default "***EDIT ME***"
634 depends on CONFIG_BUILD_KERNEL
635 help
636 #-- Fully qualified path to a kernel config file
637 # The config file will be copied to ${BUILD_DIR}/sources
638 # and renamed 'kernel-config'
639 #--- End Kernel
640
[085435e]641 config NCURSES5
642 bool "Install non-wide-character ncurses"
[e5d44f5]643 default n
[085435e]644 depends on BOOK_LFS || BOOK_LFS_SYSD
[e5d44f5]645 help
[085435e]646 #-- Install the optional non wide character ncurses5 library
[e5d44f5]647
648 config TIMEZONE
649 string "TimeZone"
650 default "GMT"
651 help
652 #-- The timezone as output by tzselect
653 # This will be copied to /etc/localtime
654
655 config LANG
656 string "Language"
657 default "$LANG"
658 help
659 #-- LANG variable set in /etc/profile
660 # See http://sourceware.org/git/?p=glibc.git;a=blob;f=localedata/SUPPORTED
661 # for values (or the file localedata/SUPPORTED in glibc tarball)
662
663 config FULL_LOCALE
664 bool "Install the full set of locales"
665 default n
666 help
667 #-- If set to y, the full set of supported locales
668 # will be installed. Otherwise, only the minimal set
669 # necessary for the tests will be installed,
670 # together with the locale associated with the
671 # LANG you have chosen, if not in the minimal set.
672
673 #--- Groff page
674 choice
675 prompt "Groff page size"
676 default PAGE_LETTER
677 help
678 #-- Page definition for groff: letter or A4
679
680 config PAGE_LETTER
681 bool "letter"
682
683 config PAGE_A4
684 bool "A4"
685 endchoice
686
687 config PAGE
688 string
689 default "letter" if PAGE_LETTER
690 default "A4" if PAGE_A4
691 #--- End Groff page
[a705708]692
[945ccaa]693 config HOSTNAME
[6990d80]694 string "Hostname (see help)"
[945ccaa]695 default "**EDITME**"
[6990d80]696 help
697 If you are on a public network, use the hostname given to you by
698 your institution, or corporation, etc. If your network is private,
699 that is, behind a firewall such as a box to connect to your ISP,
700 you can choose anything you'd like. Combined with the domain name
701 "local", you have the possibility to access your computer by name
702 instead of address on the private network (see RFC 6762 and
703 https://www.howtogeek.com/167190/).
[945ccaa]704
705 menu "Network configuration"
706 config INTERFACE
707 string "netword card name"
708 default "eth0"
[6990d80]709 help
[48700c3]710 eth0 is used in most cases. Virtual interfaces may get other
[6990d80]711 names (for example enp0s3 for the default network stack in qemu).
712 Systemd may also rename network interfaces according to their
713 bus addresses.
[945ccaa]714 config IP_ADDR
715 string "Static IP address"
716 default "10.0.2.9"
[6990d80]717 help
718 The default here is for a virtual interface in qemu. Private
[f45af2c]719 networks have addresses in the range 10.x.x.x or 192.168.x.x.
[6990d80]720 You have to know your network prefix. Then the last figure
721 may be anything you like.
722
[945ccaa]723 config GATEWAY
724 string "Gateway"
725 default "10.0.2.2"
[6990d80]726 help
727 Again, this default is for a qemu network stack. Usually, the
728 gateway is the address of your firewall.
[945ccaa]729 config PREFIX
730 string "Subnet prefix"
731 default "24"
[6990d80]732 help
733 Again, this default is for a qemu network stack, but is also
734 the most used in private networks.
[945ccaa]735 config BROADCAST
736 string "Broadcast address"
737 default "10.0.2.255"
738 config DOMAIN
[6990d80]739 string "Domain name (see help)"
740 default "local"
741 help
742 Domain Name:
743 Doamin names are registered, so if your computer is on a public
744 network, you cannot use any name you'd like. On a public
745 network, you should have been given a domain name by
746 your corporation, institution, etc.
747 If your network is really private, that is behind a firewall
748 such as a box for connecting to an ISP, you can choose any
749 domain you'd like. You can also opt for "local", see RFC 6762,
750 or "something.test", see RFC 6761.
[945ccaa]751 config DNS1
752 string "Primary Name server"
753 default "10.0.2.3"
754 config DNS2
755 string "Secondary Name server"
756 default "8.8.8.8"
757 endmenu # Network configuration
758
759 menu "Console configuration"
760 config FONT
761 string "Console font"
762 default "lat0-16"
[3b43e17b]763 help
764 Unicode mode is set by default. Setting FONT_MAP, FONT_UNIMAP,
765 etc, must be done manually.
[945ccaa]766 config KEYMAP
767 string "Keymap name"
768 default "us"
[3b43e17b]769 config LOCAL
770 boolean "Hardware clock is set to local time"
771 default n
772 help
773 If the harware clock is set to local time, answer yes,
774 If it is set to UTC, answer no
775 config LOG_LEVEL
776 string "Default log level (1-8)"
777 default "4"
[f596dde]778 depends on BOOK_LFS
[3b43e17b]779 help
780 This can be changed using dmesg. 1 means "no message",
781 8 shows every message sent by the kernel, which is very
782 noisy. The default at boot time is 7, which is quite
783 noisy too.
[945ccaa]784 endmenu # Console configuration
785
786endmenu #--- System configuration
[a705708]787
[e5d44f5]788menu "Advanced Features"
[e3ccc27]789depends on !BOOK_BLFS
[e5d44f5]790
791 config REPORT
792 bool "Create SBU and disk usage report"
793 default y
794
[f5ecc28]795 config SAVE_CH5
796 bool "Save Chapter 5 work"
797 depends on BOOK_LFS || BOOK_LFS_SYSD
798 default n
799 help
800 Save the state of jhalfs at the end of chapter 5:
801
802 if you tick this item, the whole $LFS directory is
803 saved when chapter 5 is finished. It'll be in an xz
804 compressed tarball in the $LFS/jhalfs directory
805
[f596dde]806 #--- ICA
[e5d44f5]807 config COMPARE
808 bool "Run comparison analysis on final stage"
809 default n
810 help
811 #-- Should an iterative comparison analysis be performed?
812 #
[f596dde]813 # Unless you are familiar with ICA, do not
[e5d44f5]814 # select this option
815 #
[f596dde]816 # ICA is an analysis tool for comparing one
[e5d44f5]817 # build to the next. Builds mays differ from one iteration
[f596dde]818 # to another due to the build order and this tool try
[e5d44f5]819 # to ferret out those differences by examining the stored
820 # build logs and binary files.
821 #
822 # The scripts are well commented and can be found in ./extras/*
823 #
824
825 config ITERATIONS
826 int "Number of test runs (2,3,4,5)" if COMPARE
827 depends on COMPARE
828 range 2 5
829 default 3
830
831 config RUN_ICA
[f596dde]832 bool
833 default y if COMPARE
[e5d44f5]834
[f596dde]835 #--- End ICA
[e5d44f5]836
837 #--- Optimizations
838 config CONFIG_OPTIMIZE
839 bool "Optimization and parallelization"
840 default n
841 help
842 # Opens a menu for various optimization settings:
843 # Actual optimization flags MUST be defined in ./optimize/*
844 # before activating this option.
845 #
846 # WARNING: The use of build optimizations may lead to build issues.
847 # If the system doesn't work as expected, please rebuild
848 # without optimizations before asking for support.
849 menu "Optimization settings"
850 depends on CONFIG_OPTIMIZE
851
852 config N_PARALLEL
853 int "Number of parallel `make' jobs"
854 default 1
855 help
856 #-- The usual recommandation is (number of CPU cores)+1
857 # Do not set for meaningful SBU calculations.
858
859 choice
[f596dde]860 prompt "Optimization level"
[e5d44f5]861 default OPT_1
862 help
863 #-- Optimization values are set in optimize/* files
864
865 config OPT_1
866 bool "Final system only"
867
868 config OPT_2
869 bool "Both temp tools and final system"
870
871 endchoice
[84a3fda]872
873 config REALSBU
874 bool "Build Binutls pass1 without optimization (Real SBU)"
[f45af2c]875 depends on OPT_2
[84a3fda]876 default n
877 help
878 #-- Use -j1 in make invokation for Binutils pass1 to
879 # get a valid SBU value.
880
[9d665db]881 endmenu # Optimization settings
[e5d44f5]882 config OPTIMIZE
883 int
884 default "0" if !CONFIG_OPTIMIZE
885 default "1" if OPT_1
886 default "2" if OPT_2
[84a3fda]887
[e5d44f5]888 #--- End Optimizations
[a705708]889
[e5d44f5]890 #-- Internal Settings
891 menu "Internal Settings (WARNING: for jhalfs developers only)"
[4da2512]892
[e5d44f5]893 config SCRIPT_ROOT
894 string "Scripts root"
895 default "jhalfs"
[4da2512]896
[e5d44f5]897 config JHALFSDIR
898 string "jhalfs directory"
899 default "$BUILDDIR/$SCRIPT_ROOT"
[4da2512]900
[e5d44f5]901 config LOGDIRBASE
902 string "Build logs directory basename"
903 default "logs"
[93346ee]904
[e5d44f5]905 config LOGDIR
906 string "Build logs directory"
907 default "$JHALFSDIR/$LOGDIRBASE"
[93346ee]908
[e5d44f5]909 config TESTLOGDIRBASE
910 string "Test suites logs directory basename"
911 default "test-logs"
[4da2512]912
[e5d44f5]913 config TESTLOGDIR
914 string "Test suites logs directory"
915 default "$JHALFSDIR/$TESTLOGDIRBASE"
[93346ee]916
[e5d44f5]917 config FILELOGDIRBASE
918 string "Installed files logs directory basename"
919 default "installed-files"
[93346ee]920
[e5d44f5]921 config FILELOGDIR
922 string "Installed files logs directory"
923 default "$JHALFSDIR/$FILELOGDIRBASE"
[4da2512]924
[e5d44f5]925 config ICALOGDIR
926 string "ICA logs directory"
927 default "$LOGDIR/ICA"
[4da2512]928
[e5d44f5]929 config MKFILE
930 string "Makefile"
931 default "$JHALFSDIR/Makefile"
[4da2512]932
[e5d44f5]933 config XSL
934 string "XSL stylesheet"
[8825e69]935 default "lfs.xsl"
[4da2512]936
[e5d44f5]937 config PKG_LST
938 string "Package contents list"
939 default "unpacked"
[4da2512]940
[e5d44f5]941 #--- End Internal Settings
942 endmenu
[4da2512]943
[a705708]944#--- End Advanced Features
945endmenu
[7b6ecc5]946
[a16f769]947config REBUILD_MAKEFILE
[06eddf4]948# depends on !BOOK_BLFS
[e5d44f5]949 bool "Rebuild the Makefile (see help)"
950 default n
951 help
952 #-- Rebuild the Makefile
953 #
954 # This option allows to rebuild the Makefile after
955 # customizing the base system build scripts.
956 #
957 # See README.CUSTOM for more info about this feature.
[06eddf4]958 # Note that you should do that after configuring a jhalfs
959 # build, and only if you need changing the build scripts order
960 # or add a new one.
Note: See TracBrowser for help on using the repository browser.