source: Config.in@ c1f02f2

ablfs-more trunk
Last change on this file since c1f02f2 was c1f02f2, checked in by Pierre Labastie <pierre.labastie@…>, 12 months ago

LFS: remove alternate server code

It's been broken for years, and nobody has complained, so I'd say
it is not useful. If a user wants to use a mirror instead of upstream,
better use a wget-list directly on this server...

  • Property mode set to 100644
File size: 29.7 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)
[8bcaf0d5]89 prompt "Multilib"
[13e52a5]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 RUNMAKE
425 bool "Run the makefile"
426 default n
427 help
428 #-- Automatically run the makefile once it has been created
429
430 config CLEAN
431 bool "Rebuild files"
432 default n
433 help
434 #-- Clean the build directory before performing any other task.
435 # The directory is cleaned only if it was populated by a
436 # previous JHALFS run.
[a705708]437
438#--- End General Settings
439endmenu
440
[e5d44f5]441menu "Build Settings"
[e3ccc27]442depends on !BOOK_BLFS
[e5d44f5]443
444 #--- Test Suites
445 config CONFIG_TESTS
446 bool "Run testsuites"
447 default y
448 help
449 #-- Run test suites
[1d5f3e3]450 # If you select 'y' here:
[e5d44f5]451 # You will have to select between:
[945ccaa]452 # - Only critical final system testsuites
[e5d44f5]453 # - All final system testsuites
454 #
[1d5f3e3]455 # Note that in any case, all the test instructions will
456 # be generated. Those which are not wanted will be commented
457 # out. If you select 'n' here, the commented test instructions
458 # do not stop on test suite failures.
[e5d44f5]459
[945ccaa]460 menu "Test settings"
[f596dde]461 depends on CONFIG_TESTS
[e5d44f5]462 choice
463 prompt "Tests level"
464 default TST_1
465
466 config TST_1
[945ccaa]467 bool "Only final system critical testsuites"
468 help
469 #-- Critical tests:
470 # Only Glibc, Binutils, GMP, MPFR, MPC and GCC
[1d5f3e3]471 # testsuites for final system. The others are commented
472 # out.
[e5d44f5]473
474 config TST_2
475 bool "All final system testsuites"
[1d5f3e3]476 help
477 #-- All final system test suites:
478 # Test instructions for the temporary tools (if available)
479 # are commented out.
[e5d44f5]480
481 endchoice
482
[30a8961]483 endmenu # test settings
484
[945ccaa]485 config TEST
486 int
487 default "0" if !CONFIG_TESTS
488 default "1" if TST_1
489 default "2" if TST_2
[d54e3c9]490 #--- End Test Suites
[e5d44f5]491
492 #--- Package Management
493 config PKGMNGT
494 bool "Package management"
[f596dde]495 depends on BOOK_LFS || BOOK_LFS_SYSD
[e5d44f5]496 default n
497 help
498 #-- Use package management
499 #
[945ccaa]500 # If set, you'll have to choose between
501 # two package management styles:
502 # - Build and install:
503 # the packages in the final phase are built
504 # in a separate directory, PKG_DEST.
505 # You should provide a bash function for
[4b2a5fd]506 # packaging and installing the package.
[945ccaa]507 # - Preload a library before install:
508 # Run the install instructions inside a
509 # wrapper command, which monitors the
510 # installed files.
511 #
[e5d44f5]512 # Also, you have to provide the instructions
513 # to build the package manager during the
514 # temporary tools phase, in the form of a
515 # sect1 of the book identical to a package
516 # sect1. See README.PACKAGE_MANAGEMENT
[945ccaa]517 choice
[f596dde]518 depends on PKGMNGT
[945ccaa]519 prompt "Package management style"
520 default PKG_PACK
521
522 config PKG_PACK
523 bool "Build and pack (pacman or dpkg style)"
[e5d44f5]524
[945ccaa]525 config LIB_LOAD
526 bool "Preload a library before installing (porg style)"
527 endchoice
528
529 config WRAP_INSTALL
530 bool
531 default y if LIB_LOAD
532 default n if PKG_PACK
[e5d44f5]533 #--- End package management
534
535 #--- Installed files logs
536 config INSTALL_LOG
537 bool "Create a log of installed files for each package"
538 default n
539 help
540 #-- Select this if you want to create logs of the files
541 # installed by each package on the final system.
542
543 #--- End Installed files logs
544
[945ccaa]545 config STRIP
546 bool "Strip Installed Binaries/Libraries"
547 default n
548
549 config NO_PROGRESS_BAR
[f596dde]550 bool "DO NOT use/display progress_bar"
[945ccaa]551 default n
552 help
553 #-- Do not use the progress bar routine. On slower machines
554 # this function consumes precious CPU cycles.
555
556#--- End Build Settings
557endmenu
558
[6990d80]559menu "System configuration"
[e3ccc27]560 depends on !BOOK_BLFS
[945ccaa]561
[e5d44f5]562 #--- FSTAB
563 config HAVE_FSTAB
564 bool "Use a custom fstab file"
565 default n
566 help
567 #-- Select this if you have an fstab file with entries
[945ccaa]568 # for the target system
[a705708]569
[e5d44f5]570 config FSTAB
571 string "Fstab file (optional)"
572 default "***EDIT ME***"
573 depends on HAVE_FSTAB
574 help
575 #-- The location of fstab file (if empty, a template is created)
576 #--- End FSTAB
577
578 #--- Kernel
579 config CONFIG_BUILD_KERNEL
580 bool "Build the kernel"
581 default n
582 help
583 #-- Select this option if you wish to build the kernel.
584 #
585 # You will be prompted for the full path to the .config
586 # file. It will be copied to the 'sources' directory and
587 # renamed kernel-config
588
589 config CONFIG
590 string "Kernel config file"
591 default "***EDIT ME***"
592 depends on CONFIG_BUILD_KERNEL
593 help
594 #-- Fully qualified path to a kernel config file
595 # The config file will be copied to ${BUILD_DIR}/sources
596 # and renamed 'kernel-config'
[6d9bd8e]597 #
598 # Important: if the config file is out of date (missing
599 # option), the kernel build will timeout instead of
600 # waiting forever for an input. This will generate error
601 # 124. In this case, update your config file,
602 # copy it to $BUILD_DIR/sources/kernel-config, and
603 # restart the build.
[e5d44f5]604 #--- End Kernel
605
[085435e]606 config NCURSES5
607 bool "Install non-wide-character ncurses"
[e5d44f5]608 default n
[085435e]609 depends on BOOK_LFS || BOOK_LFS_SYSD
[e5d44f5]610 help
[085435e]611 #-- Install the optional non wide character ncurses5 library
[e5d44f5]612
613 config TIMEZONE
614 string "TimeZone"
615 default "GMT"
616 help
617 #-- The timezone as output by tzselect
618 # This will be copied to /etc/localtime
619
620 config LANG
621 string "Language"
622 default "$LANG"
623 help
624 #-- LANG variable set in /etc/profile
625 # See http://sourceware.org/git/?p=glibc.git;a=blob;f=localedata/SUPPORTED
626 # for values (or the file localedata/SUPPORTED in glibc tarball)
627
628 config FULL_LOCALE
629 bool "Install the full set of locales"
630 default n
631 help
632 #-- If set to y, the full set of supported locales
633 # will be installed. Otherwise, only the minimal set
634 # necessary for the tests will be installed,
635 # together with the locale associated with the
636 # LANG you have chosen, if not in the minimal set.
637
638 #--- Groff page
639 choice
640 prompt "Groff page size"
641 default PAGE_LETTER
642 help
643 #-- Page definition for groff: letter or A4
644
645 config PAGE_LETTER
646 bool "letter"
647
648 config PAGE_A4
649 bool "A4"
650 endchoice
651
652 config PAGE
653 string
654 default "letter" if PAGE_LETTER
655 default "A4" if PAGE_A4
656 #--- End Groff page
[a705708]657
[945ccaa]658 config HOSTNAME
[6990d80]659 string "Hostname (see help)"
[945ccaa]660 default "**EDITME**"
[6990d80]661 help
662 If you are on a public network, use the hostname given to you by
663 your institution, or corporation, etc. If your network is private,
664 that is, behind a firewall such as a box to connect to your ISP,
665 you can choose anything you'd like. Combined with the domain name
666 "local", you have the possibility to access your computer by name
667 instead of address on the private network (see RFC 6762 and
668 https://www.howtogeek.com/167190/).
[945ccaa]669
670 menu "Network configuration"
671 config INTERFACE
672 string "netword card name"
673 default "eth0"
[6990d80]674 help
[48700c3]675 eth0 is used in most cases. Virtual interfaces may get other
[6990d80]676 names (for example enp0s3 for the default network stack in qemu).
677 Systemd may also rename network interfaces according to their
678 bus addresses.
[945ccaa]679 config IP_ADDR
680 string "Static IP address"
681 default "10.0.2.9"
[6990d80]682 help
683 The default here is for a virtual interface in qemu. Private
[f45af2c]684 networks have addresses in the range 10.x.x.x or 192.168.x.x.
[6990d80]685 You have to know your network prefix. Then the last figure
686 may be anything you like.
687
[945ccaa]688 config GATEWAY
689 string "Gateway"
690 default "10.0.2.2"
[6990d80]691 help
692 Again, this default is for a qemu network stack. Usually, the
693 gateway is the address of your firewall.
[945ccaa]694 config PREFIX
695 string "Subnet prefix"
696 default "24"
[6990d80]697 help
698 Again, this default is for a qemu network stack, but is also
699 the most used in private networks.
[945ccaa]700 config BROADCAST
701 string "Broadcast address"
702 default "10.0.2.255"
703 config DOMAIN
[6990d80]704 string "Domain name (see help)"
705 default "local"
706 help
707 Domain Name:
708 Doamin names are registered, so if your computer is on a public
709 network, you cannot use any name you'd like. On a public
710 network, you should have been given a domain name by
711 your corporation, institution, etc.
712 If your network is really private, that is behind a firewall
713 such as a box for connecting to an ISP, you can choose any
714 domain you'd like. You can also opt for "local", see RFC 6762,
715 or "something.test", see RFC 6761.
[945ccaa]716 config DNS1
717 string "Primary Name server"
718 default "10.0.2.3"
719 config DNS2
720 string "Secondary Name server"
721 default "8.8.8.8"
722 endmenu # Network configuration
723
724 menu "Console configuration"
725 config FONT
726 string "Console font"
727 default "lat0-16"
[3b43e17b]728 help
729 Unicode mode is set by default. Setting FONT_MAP, FONT_UNIMAP,
730 etc, must be done manually.
[945ccaa]731 config KEYMAP
732 string "Keymap name"
733 default "us"
[3b43e17b]734 config LOCAL
735 boolean "Hardware clock is set to local time"
736 default n
737 help
738 If the harware clock is set to local time, answer yes,
739 If it is set to UTC, answer no
740 config LOG_LEVEL
741 string "Default log level (1-8)"
742 default "4"
[f596dde]743 depends on BOOK_LFS
[3b43e17b]744 help
745 This can be changed using dmesg. 1 means "no message",
746 8 shows every message sent by the kernel, which is very
747 noisy. The default at boot time is 7, which is quite
748 noisy too.
[945ccaa]749 endmenu # Console configuration
750
751endmenu #--- System configuration
[a705708]752
[e5d44f5]753menu "Advanced Features"
[e3ccc27]754depends on !BOOK_BLFS
[e5d44f5]755
756 config REPORT
757 bool "Create SBU and disk usage report"
758 default y
759
[f5ecc28]760 config SAVE_CH5
761 bool "Save Chapter 5 work"
762 depends on BOOK_LFS || BOOK_LFS_SYSD
763 default n
764 help
765 Save the state of jhalfs at the end of chapter 5:
766
767 if you tick this item, the whole $LFS directory is
768 saved when chapter 5 is finished. It'll be in an xz
769 compressed tarball in the $LFS/jhalfs directory
770
[f596dde]771 #--- ICA
[e5d44f5]772 config COMPARE
773 bool "Run comparison analysis on final stage"
774 default n
775 help
776 #-- Should an iterative comparison analysis be performed?
777 #
[f596dde]778 # Unless you are familiar with ICA, do not
[e5d44f5]779 # select this option
780 #
[f596dde]781 # ICA is an analysis tool for comparing one
[e5d44f5]782 # build to the next. Builds mays differ from one iteration
[f596dde]783 # to another due to the build order and this tool try
[e5d44f5]784 # to ferret out those differences by examining the stored
785 # build logs and binary files.
786 #
787 # The scripts are well commented and can be found in ./extras/*
788 #
789
790 config ITERATIONS
791 int "Number of test runs (2,3,4,5)" if COMPARE
792 depends on COMPARE
793 range 2 5
794 default 3
795
796 config RUN_ICA
[f596dde]797 bool
798 default y if COMPARE
[e5d44f5]799
[f596dde]800 #--- End ICA
[e5d44f5]801
802 #--- Optimizations
803 config CONFIG_OPTIMIZE
804 bool "Optimization and parallelization"
805 default n
806 help
807 # Opens a menu for various optimization settings:
808 # Actual optimization flags MUST be defined in ./optimize/*
809 # before activating this option.
810 #
811 # WARNING: The use of build optimizations may lead to build issues.
812 # If the system doesn't work as expected, please rebuild
813 # without optimizations before asking for support.
[e181f75]814 menu "Parallelization and Optimization settings"
[e5d44f5]815 depends on CONFIG_OPTIMIZE
816
817 config N_PARALLEL
818 int "Number of parallel `make' jobs"
819 default 1
820 help
821 #-- The usual recommandation is (number of CPU cores)+1
822 # Do not set for meaningful SBU calculations.
823
824 choice
[f596dde]825 prompt "Optimization level"
[e5d44f5]826 default OPT_1
827 help
828 #-- Optimization values are set in optimize/* files
829
830 config OPT_1
831 bool "Final system only"
832
833 config OPT_2
834 bool "Both temp tools and final system"
835
836 endchoice
[84a3fda]837
838 config REALSBU
839 bool "Build Binutls pass1 without optimization (Real SBU)"
[f45af2c]840 depends on OPT_2
[84a3fda]841 default n
842 help
843 #-- Use -j1 in make invokation for Binutils pass1 to
844 # get a valid SBU value.
845
[9d665db]846 endmenu # Optimization settings
[e5d44f5]847 config OPTIMIZE
848 int
849 default "0" if !CONFIG_OPTIMIZE
850 default "1" if OPT_1
851 default "2" if OPT_2
[84a3fda]852
[e5d44f5]853 #--- End Optimizations
[a705708]854
[e5d44f5]855 #-- Internal Settings
856 menu "Internal Settings (WARNING: for jhalfs developers only)"
[4da2512]857
[e5d44f5]858 config SCRIPT_ROOT
859 string "Scripts root"
860 default "jhalfs"
[4da2512]861
[e5d44f5]862 config JHALFSDIR
863 string "jhalfs directory"
864 default "$BUILDDIR/$SCRIPT_ROOT"
[4da2512]865
[e5d44f5]866 config LOGDIRBASE
867 string "Build logs directory basename"
868 default "logs"
[93346ee]869
[e5d44f5]870 config LOGDIR
871 string "Build logs directory"
872 default "$JHALFSDIR/$LOGDIRBASE"
[93346ee]873
[e5d44f5]874 config TESTLOGDIRBASE
875 string "Test suites logs directory basename"
876 default "test-logs"
[4da2512]877
[e5d44f5]878 config TESTLOGDIR
879 string "Test suites logs directory"
880 default "$JHALFSDIR/$TESTLOGDIRBASE"
[93346ee]881
[e5d44f5]882 config FILELOGDIRBASE
883 string "Installed files logs directory basename"
884 default "installed-files"
[93346ee]885
[e5d44f5]886 config FILELOGDIR
887 string "Installed files logs directory"
888 default "$JHALFSDIR/$FILELOGDIRBASE"
[4da2512]889
[e5d44f5]890 config ICALOGDIR
891 string "ICA logs directory"
892 default "$LOGDIR/ICA"
[4da2512]893
[e5d44f5]894 config MKFILE
895 string "Makefile"
896 default "$JHALFSDIR/Makefile"
[4da2512]897
[e5d44f5]898 config XSL
899 string "XSL stylesheet"
[8825e69]900 default "lfs.xsl"
[4da2512]901
[e5d44f5]902 config PKG_LST
903 string "Package contents list"
904 default "unpacked"
[4da2512]905
[0861416]906 config DEL_LA_FILES
907 bool "Remove libtool .la files"
908 default y
909 help
910 #-- Remove files libxxx.la installed by libtool. Only set to
911 # "n" if you know what you are doing. For a rationale
912 # see https://blog.flameeyes.eu/tags/lafiles/
913
[e5d44f5]914 #--- End Internal Settings
915 endmenu
[4da2512]916
[a705708]917#--- End Advanced Features
918endmenu
[7b6ecc5]919
[a16f769]920config REBUILD_MAKEFILE
[06eddf4]921# depends on !BOOK_BLFS
[e5d44f5]922 bool "Rebuild the Makefile (see help)"
923 default n
924 help
925 #-- Rebuild the Makefile
926 #
927 # This option allows to rebuild the Makefile after
928 # customizing the base system build scripts.
929 #
930 # See README.CUSTOM for more info about this feature.
[06eddf4]931 # Note that you should do that after configuring a jhalfs
932 # build, and only if you need changing the build scripts order
933 # or add a new one.
Note: See TracBrowser for help on using the repository browser.