source: Config.in@ 824efca

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

Merge branch 'trunk' into xry111/parallelism

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