source: Config.in@ e3f41e33

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

Remove legacy: remove CLFS books from Config.in

There are still some occurrence of CLFS (and HLFS), that will go away
at next commit, when removing temporary tools tests.

  • Property mode set to 100644
File size: 31.1 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 # - Both temporary tools and final system testsuites
484 # You will be prompted also about the "flavour" of the
485 # testsuites run:
486 # - Don't stop on test suite failures
487 # - Abort the build at the first test suite failure
488 #
489 # Note that in any case, all the test instructions will
490 # be generated. Those which are not wanted will be commented
491 # out. If you select 'n' here, the commented test instructions
492 # do not stop on test suite failures.
493
494 menu "Test settings"
495 depends on CONFIG_TESTS
496 choice
497 prompt "Tests level"
498 default TST_1
499
500 config TST_1
501 bool "Only final system critical testsuites"
502 help
503 #-- Critical tests:
504 # Only Glibc, Binutils, GMP, MPFR, MPC and GCC
505 # testsuites for final system. The others are commented
506 # out.
507
508 config TST_2
509 bool "All final system testsuites"
510 help
511 #-- All final system test suites:
512 # Test instructions for the temporary tools (if available)
513 # are commented out.
514
515 config TST_3
516 bool "All testsuites" if !BOOK_HLFS && !BOOK_CLFS
517 help
518 #-- All tests:
519 # Runs all the testsuites for both temporary tools (if
520 # available) and final system
521 endchoice
522
523 choice
524 prompt "Flavour"
525
526 config NO_BOMB
527 bool "Don't stop on test failures"
528
529 config BOMB
530 bool "Abort the build on the first test failure"
531 endchoice
532
533 endmenu # test settings
534
535 config TEST
536 int
537 default "0" if !CONFIG_TESTS
538 default "1" if TST_1
539 default "2" if TST_2
540 default "3" if TST_3
541
542 config BOMB_TEST
543 bool
544 default n if NO_BOMB
545 default y if BOMB
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 DEL_LA_FILES
606 bool "Remove libtool .la files"
607 default y
608 help
609 #-- Remove files libxxx.la installed by libtool. For a rationale
610 # see https://blog.flameeyes.eu/tags/lafiles/
611
612 config NO_PROGRESS_BAR
613 bool "DO NOT use/display progress_bar"
614 default n
615 help
616 #-- Do not use the progress bar routine. On slower machines
617 # this function consumes precious CPU cycles.
618
619#--- End Build Settings
620endmenu
621
622menu "System configuration"
623 depends on !BOOK_BLFS
624
625 #--- FSTAB
626 config HAVE_FSTAB
627 bool "Use a custom fstab file"
628 default n
629 help
630 #-- Select this if you have an fstab file with entries
631 # for the target system
632
633 config FSTAB
634 string "Fstab file (optional)"
635 default "***EDIT ME***"
636 depends on HAVE_FSTAB
637 help
638 #-- The location of fstab file (if empty, a template is created)
639 #--- End FSTAB
640
641 #--- Kernel
642 config CONFIG_BUILD_KERNEL
643 bool "Build the kernel"
644 default n
645 help
646 #-- Select this option if you wish to build the kernel.
647 #
648 # You will be prompted for the full path to the .config
649 # file. It will be copied to the 'sources' directory and
650 # renamed kernel-config
651
652 config CONFIG
653 string "Kernel config file"
654 default "***EDIT ME***"
655 depends on CONFIG_BUILD_KERNEL
656 help
657 #-- Fully qualified path to a kernel config file
658 # The config file will be copied to ${BUILD_DIR}/sources
659 # and renamed 'kernel-config'
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 insterfaces 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.169.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 config REPORT
813 bool "Create SBU and disk usage report"
814 default y
815
816 config SAVE_CH5
817 bool "Save Chapter 5 work"
818 depends on BOOK_LFS || BOOK_LFS_SYSD
819 default n
820 help
821 Save the state of jhalfs at the end of chapter 5:
822
823 if you tick this item, the whole $LFS directory is
824 saved when chapter 5 is finished. It'll be in an xz
825 compressed tarball in the $LFS/jhalfs directory
826
827 #--- ICA
828 config COMPARE
829 bool "Run comparison analysis on final stage"
830 default n
831 help
832 #-- Should an iterative comparison analysis be performed?
833 #
834 # Unless you are familiar with ICA, do not
835 # select this option
836 #
837 # ICA is an analysis tool for comparing one
838 # build to the next. Builds mays differ from one iteration
839 # to another due to the build order and this tool try
840 # to ferret out those differences by examining the stored
841 # build logs and binary files.
842 #
843 # The scripts are well commented and can be found in ./extras/*
844 #
845
846 config ITERATIONS
847 int "Number of test runs (2,3,4,5)" if COMPARE
848 depends on COMPARE
849 range 2 5
850 default 3
851
852 config RUN_ICA
853 bool
854 default y if COMPARE
855
856 #--- End ICA
857
858 #--- Optimizations
859 config CONFIG_OPTIMIZE
860 bool "Optimization and parallelization"
861 default n
862 help
863 # Opens a menu for various optimization settings:
864 # Actual optimization flags MUST be defined in ./optimize/*
865 # before activating this option.
866 #
867 # WARNING: The use of build optimizations may lead to build issues.
868 # If the system doesn't work as expected, please rebuild
869 # without optimizations before asking for support.
870 menu "Optimization settings"
871 depends on CONFIG_OPTIMIZE
872
873 config N_PARALLEL
874 int "Number of parallel `make' jobs"
875 default 1
876 help
877 #-- The usual recommandation is (number of CPU cores)+1
878 # Do not set for meaningful SBU calculations.
879
880 choice
881 prompt "Optimization level"
882 default OPT_1
883 help
884 #-- Optimization values are set in optimize/* files
885
886 config OPT_1
887 bool "Final system only"
888
889 config OPT_2
890 bool "Both temp tools and final system"
891
892 config OPT_3
893 bool "Cross tools (only MAKEFLAGS), temp tools and final system" if BOOK_CLFS
894 endchoice
895
896 config REALSBU
897 bool "Build Binutls pass1 without optimization (Real SBU)"
898 depends on (BOOK_LFS || BOOK_LFS_SYSD) && OPT_2
899 default n
900 help
901 #-- Use -j1 in make invokation for Binutils pass1 to
902 # get a valid SBU value.
903
904endmenu
905 config OPTIMIZE
906 int
907 default "0" if !CONFIG_OPTIMIZE
908 default "1" if OPT_1
909 default "2" if OPT_2
910 default "3" if OPT_3
911endif
912
913 #--- End Optimizations
914
915 #-- Internal Settings
916 menu "Internal Settings (WARNING: for jhalfs developers only)"
917
918 config SCRIPT_ROOT
919 string "Scripts root"
920 default "jhalfs"
921
922 config JHALFSDIR
923 string "jhalfs directory"
924 default "$BUILDDIR/$SCRIPT_ROOT"
925
926 config LOGDIRBASE
927 string "Build logs directory basename"
928 default "logs"
929
930 config LOGDIR
931 string "Build logs directory"
932 default "$JHALFSDIR/$LOGDIRBASE"
933
934 config TESTLOGDIRBASE
935 string "Test suites logs directory basename"
936 default "test-logs"
937
938 config TESTLOGDIR
939 string "Test suites logs directory"
940 default "$JHALFSDIR/$TESTLOGDIRBASE"
941
942 config FILELOGDIRBASE
943 string "Installed files logs directory basename"
944 default "installed-files"
945
946 config FILELOGDIR
947 string "Installed files logs directory"
948 default "$JHALFSDIR/$FILELOGDIRBASE"
949
950 config ICALOGDIR
951 string "ICA logs directory"
952 default "$LOGDIR/ICA"
953
954 config MKFILE
955 string "Makefile"
956 default "$JHALFSDIR/Makefile"
957
958 config XSL
959 string "XSL stylesheet"
960 default "$PROGNAME.xsl"
961
962 config PKG_LST
963 string "Package contents list"
964 default "unpacked"
965
966 #--- End Internal Settings
967 endmenu
968
969#--- End Advanced Features
970endmenu
971
972config REBUILD_MAKEFILE
973# depends on !BOOK_BLFS
974 bool "Rebuild the Makefile (see help)"
975 default n
976 help
977 #-- Rebuild the Makefile
978 #
979 # This option allows to rebuild the Makefile after
980 # customizing the base system build scripts.
981 #
982 # See README.CUSTOM for more info about this feature.
983 # Note that you should do that after configuring a jhalfs
984 # build, and only if you need changing the build scripts order
985 # or add a new one.
Note: See TracBrowser for help on using the repository browser.