source: Config.in@ 8c2b505

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

Try to clarify help in Config.in

Also prevent the chroot/boot method to be prompted for the blfs
book

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