source: Config.in@ 9d665db

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

Remove legacy: remove tests in temporary tools

There is no way to run them now since we are in a cross build
configuration

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