source: Config.in@ 9b99ada

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

Change variable names and logic for BLFS book

Only use BLFS_COMMIT instead of BLFS_BRANCH_ID, BLFS_TREE, BLFS_BOOK
Same for le LFS_BLFS variables

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