source: Config.in@ 30a444a

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

Try to clarify help in Config.in

Also prevent the chroot/boot method to be prompted for the blfs
book

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