source: Config.in@ 10756d0

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

Move the parallelism menu to "Build Settings"

Now that parallelism has been included into the book, this is no
more an advanced configuration...

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