source: Config.in@ 55e82d2

ablfs-more trunk
Last change on this file since 55e82d2 was 9b99ada, checked in by Pierre Labastie <pierre.labastie@…>, 3 years ago

Change variable names and logic for BLFS book

Only use BLFS_COMMIT instead of BLFS_BRANCH_ID, BLFS_TREE, BLFS_BOOK
Same for le LFS_BLFS variables

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