source: Config.in@ 2bd2fb8

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

Config.in: simplify selection of book source

Use the variable COMMIT instead of BRANCH_ID.
Also fix various typos, CLFS/HLFS reference, help strings, etc.
For the moment, the selections for the BLFS tools are unchanged.

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