source: Config.in@ 7f25c70

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

reinstate sudo as a dependency of blfs tools

Was removed at a preceding commit for no good reason
(pebkac?)

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