source: Config.in@ 5c575e1

2.3 2.3.x 2.4 ablfs ablfs-more legacy new_features trunk
Last change on this file since 5c575e1 was 5c575e1, checked in by Manuel Canales Esparcia <manuel@…>, 17 years ago

HLFS: Added support to select the kernel series based book.

  • Property mode set to 100644
File size: 23.9 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/Build style you wish to configure.
9
10 config BOOK_LFS
11 bool "Linux From Scratch"
12
13 config BOOK_CLFS
14 bool "Cross-Compiled Linux From Scratch"
15
16 config BOOK_CLFS2
17 bool "Cross-Compiled Linux From Scratch (Sysroot method)"
18
19 config BOOK_CLFS3
20 bool "Cross-Compiled Linux From Scratch (Embedded Systems)"
21
22 config BOOK_HLFS
23 bool "Hardened Linux From Scratch"
24
25 config BOOK_BLFS
26 bool "Beyond Linux From Scratch"
27 endchoice
28
29 config PROGNAME
30 string
31 default "lfs" if BOOK_LFS
32 default "clfs" if BOOK_CLFS
33 default "clfs2" if BOOK_CLFS2
34 default "clfs3" if BOOK_CLFS3
35 default "hlfs" if BOOK_HLFS
36 default "blfs" if BOOK_BLFS
37
38 config RUN_ME
39 string
40 default "./jhalfs run" if !BOOK_BLFS
41 default "./blfs-tool" if BOOK_BLFS
42 #--- End BOOK/script
43
44 #--- Book version
45 choice
46 prompt "Release"
47 default relSVN
48 config relSVN
49 bool "SVN"
50 help
51 #-- Current development version as in trunk
52
53 config WORKING_COPY
54 bool "Working Copy"
55 depends on !BOOK_BLFS
56 help
57 #-- A local working copy
58
59 config BRANCH
60 bool "Branch or stable book" if !BOOK_CLFS2 && !BOOK_CLFS3
61 help
62 #-- A supported SVN branch or stable released book
63 endchoice
64
65 config BRANCH_ID
66 string "Book Version (mandatory)"
67 default "**EDIT ME**"
68 depends BRANCH
69 help
70 #-- A list of valid branches and stable books ID's is available here.
71 # http://wiki.linuxfromscratch.org/alfs/wiki/SupportedBooks
72
73 config BOOK
74 string "Loc of working copy (mandatory)"
75 default "**EDIT ME**"
76 depends WORKING_COPY
77 help
78 #-- The full path to a local copy of the book XML sources
79 #
80 #--- End BOOK version
81
82 #--- CLFS specific params
83 choice
84 prompt "Target architecture"
85 default ARCH_X86
86 depends BOOK_CLFS || BOOK_CLFS2 || BOOK_CLFS3
87 help
88 #-- Choose the target system base architecture
89
90 config ARCH_X86
91 bool "x86"
92
93 config ARCH_MIPS
94 bool "mips" if !BOOK_CLFS2
95
96 config ARCH_PPC
97 bool "ppc" if BOOK_CLFS
98
99 config ARCH_SPARC
100 bool "sparc" if BOOK_CLFS
101
102 config ARCH_ALPHA
103 bool "alpha" if !BOOK_CLFS3
104
105 config ARCH_ARM
106 bool "arm" if !BOOK_CLFS
107
108 config ARCH_HPPA
109 bool "hppa" if BOOK_CLFS2
110 endchoice
111
112 choice
113 prompt "Hardware Platform"
114 depends BOOK_CLFS3 && ARCH_MIPS
115 default PLATFORM_GENERIC
116 help
117 # Chose a destination platform
118 # Platform specific files will be included
119
120 config PLATFORM_GENERIC
121 bool "Generic platform"
122
123 config PLATFORM_WRT
124 bool "WRT - MIPS based wireless router" if ARCH_MIPS
125 endchoice
126
127 choice
128 prompt "Library"
129 depends (BOOK_CLFS && !ARCH_ALPHA) || (BOOK_CLFS3 && ARCH_MIPS)
130 default DATA_32
131 help
132 #-- Choose the target system libraries type
133
134 config DATA_32
135 bool "32-bit"
136
137 config DATA_64
138 bool "64-bit" if !ARCH_PPC
139
140 config DATA_MULTI
141 bool "multilib" if !(BOOK_CLFS3 && ARCH_MIPS )
142 endchoice
143
144 choice
145 prompt "Processor type"
146 depends (BOOK_CLFS || BOOK_CLFS2 || BOOK_CLFS3) && ((ARCH_X86 && !(DATA_64 || DATA_MULTI)) || ARCH_MIPS || ARCH_HPPA || ARCH_ALPHA || (ARCH_ARM && BOOK_CLFS3))
147 help
148 #-- Choose the target system processor
149
150 config PROC_i486
151 bool "486 Compatibles" if ARCH_X86
152
153 config PROC_i586
154 bool "Pentium, K6, 586 Compatibles" if ARCH_X86
155
156 config PROC_i686
157 bool "Pentium II, Pentium III, Pentium 4, Athlon, Duron" if ARCH_X86
158
159 config PROC_mipsel
160 bool "MIPS Little Endian" if ARCH_MIPS
161
162 config PROC_mips
163 bool "MIPS Big Endian" if ARCH_MIPS
164
165 config PROC_unknown
166 bool "Unknown" if ARCH_HPPA || ARCH_ALPHA
167
168 config PROC_hppa1
169 bool "PA 7000 Series" if ARCH_HPPA
170
171 config PROC_hppa2
172 bool "PA 8000 Series" if ARCH_HPPA
173
174 config PROC_EV5
175 bool "EV5 Series" if ARCH_ALPHA
176
177 config PROC_EV56
178 bool "EV56 Series" if ARCH_ALPHA
179
180 config PROC_PCA56
181 bool "PCA56 Series" if ARCH_ALPHA
182
183 config PROC_PCA57
184 bool "PCA57 Series" if ARCH_ALPHA
185
186 config PROC_EV6
187 bool "EV6 Series" if ARCH_ALPHA
188
189 config PROC_EV67
190 bool "EV67 Series" if ARCH_ALPHA
191
192 config PROC_EV68
193 bool "EV68 Series" if ARCH_ALPHA
194
195 config PROC_ARM
196 bool "Generic arm, little endian" if ARCH_ARM
197
198 config PROC_ARM5L
199 bool "Generic arm, version 5, little endian" if ARCH_ARM
200
201 config PROC_ARM5B
202 bool "Generic arm, version 5, big endian" if ARCH_ARM
203 endchoice
204
205 choice
206 prompt "MIPS 64 ABI"
207 depends BOOK_CLFS3 && ARCH_MIPS && DATA_64
208 default ABI_64
209 help
210 #-- Choose the target system ABI to use
211
212 config ABI_32
213 bool "o32"
214
215 config ABI_N32
216 bool "n32"
217
218 config ABI_64
219 bool "n64"
220 endchoice
221
222 config TARGET
223 string
224 default "i486-pc-linux-gnu" if !BOOK_CLFS3 && PROC_i486
225 default "i586-pc-linux-gnu" if !BOOK_CLFS3 && PROC_i586
226 default "i686-pc-linux-gnu" if !BOOK_CLFS3 && PROC_i686
227
228 default "i486-pc-linux-uclibc" if BOOK_CLFS3 && PROC_i486
229 default "i586-pc-linux-uclibc" if BOOK_CLFS3 && PROC_i586
230 default "i686-pc-linux-uclibc" if BOOK_CLFS3 && PROC_i686
231
232 default "x86_64-unknown-linux-gnu" if ARCH_X86 && (DATA_64 || DATA_MULTI)
233
234 default "mipsel-unknown-linux-gnu" if !BOOK_CLFS3 && PROC_mipsel && DATA_32
235 default "mips-unknown-linux-gnu" if !BOOK_CLFS3 && PROC_mips && DATA_32
236 default "mips64el-unknown-linux-gnu" if !BOOK_CLFS3 && PROC_mipsel && (DATA_64 || DATA_MULTI)
237 default "mips64-unknown-linux-gnu" if !BOOK_CLFS3 && PROC_mips && (DATA_64 || DATA_MULTI)
238
239 default "mipsel-unknown-linux-uclibc" if BOOK_CLFS3 && PROC_mipsel && DATA_32
240 default "mips-unknown-linux-uclibc" if BOOK_CLFS3 && PROC_mips && DATA-32
241 default "mips64el-unknown-linux-uclibc" if BOOK_CLFS3 && PROC_mipsel && DATA_64
242 default "mips64-unknown-linux-uclibc" if BOOK_CLFS3 && PROC_mips && DATA_64
243
244 default "powerpc-unknown-linux-gnu" if ARCH_PPC && DATA_32
245 default "powerpc64-unknown-linux-gnu" if ARCH_PPC && DATA_MULTI
246
247 default "sparc-unknown-linux-gnu" if ARCH_SPARC && DATA_32
248 default "sparc64-unknown-linux-gnu" if ARCH_SPARC && (DATA_64 || DATA_MULTI)
249
250 default "hppa-unknown-linux-gnu" if PROC_unknown && ARCH_HPPA
251 default "hppa1.1-unknown-linux-gnu" if PROC_hppa1
252 default "hppa2.0-unknown-linux-gnu" if PROC_hppa2
253
254 default "arm-unknown-linux-gnu" if ARCH_ARM && BOOK_CLFS2
255
256 default "arm-unknown-linux-uclibc" if PROC_ARM
257 default "armv5l-unknown-linux-uclibc" if PROC_ARM5L
258 default "armv5b-unknown-linux-uclibc" if PROC_ARM5B
259
260 default "alpha-unknown-linux-gnu" if PROC_unknown && ARCH_ALPHA
261 default "alphaev5-unknown-linux-gnu" if PROC_EV5
262 default "alphaev56-unknown-linux-gnu" if PROC_EV56
263 default "alphapca56-unknown-linux-gnu" if PROC_PCA56
264 default "alphapca57-unknown-linux-gnu" if PROC_PCA57
265 default "alphaev6-unknown-linux-gnu" if PROC_EV6
266 default "alphaev67-unknown-linux-gnu" if PROC_EV67
267 default "alphaev68-unknown-linux-gnu" if PROC_EV68
268
269 config TARGET32
270 string
271 depends DATA_MULTI
272 default "i686-pc-linux-gnu" if ARCH_X86
273 default "mipsel-unknown-linux-gnu" if PROC_mipsel
274 default "mips-unknown-linux-gnu" if PROC_mips
275 default "sparc-unknown-linux-gnu" if ARCH_SPARC
276 default "powerpc-unknown-linux-gnu" if ARCH_PPC
277
278 config PLATFORM
279 string
280 default "GENERIC" if (!BOOK_CLFS3) || PLATFORM_GENERIC
281 default "WRT - Wireless Router" if PLATFORM_WRT
282
283 config ARCH
284 string
285 default "x86" if ARCH_X86 && (DATA_32 || BOOK_CLFS2 || BOOK_CLFS3)
286 default "x86_64" if ARCH_X86 && DATA_MULTI
287 default "x86_64-64" if ARCH_X86 && DATA_64
288
289 default "wrt" if PLATFORM_WRT && BOOK_CLFS3
290
291 default "mips" if ARCH_MIPS && (DATA_32 || BOOK_CLFS3)
292 default "mips64" if ARCH_MIPS && DATA_MULTI
293 default "mips64-64" if ARCH_MIPS && DATA_64 && BOOK_CLFS
294
295
296 default "ppc" if ARCH_PPC && DATA_32
297 default "ppc64" if ARCH_PPC && DATA_MULTI
298
299 default "sparc" if ARCH_SPARC && DATA_32
300 default "sparc64" if ARCH_SPARC && DATA_MULTI
301 default "sparc64-64" if ARCH_SPARC && DATA_64
302
303 default "alpha" if ARCH_ALPHA
304 default "arm" if ARCH_ARM
305 default "hppa" if ARCH_HPPA
306
307 config MIPS_LEVEL
308 string
309 depends BOOK_CLFS3 && ARCH_MIPS
310 default "1" if DATA_32
311 default "3" if DATA_64
312
313 config ABI
314 string
315 depends BOOK_CLFS3
316 default "-m32" if ARCH_X86
317# default "-m64" if NO USED YET IN THE BOOK
318 default "-mabi=32" if ABI_32 || (ARCH_MIPS && DATA_32)
319 default "-mabi=n32" if ABI_N32
320 default "-mabi=64" if ABI_64
321
322 choice
323 prompt "Build method"
324 depends BOOK_CLFS
325 help
326 #-- What build method should be used: a chroot jail or minimal boot system
327 # Review the Cross-LFS book chap6 "TO BOOT OR CHROOT" for a full explanation.
328
329 config BUILD_CHROOT
330 bool "chroot"
331
332 config BUILD_BOOT
333 bool "boot"
334 endchoice
335
336 config METHOD
337 string
338 default "chroot" if BUILD_CHROOT
339 default "boot" if BUILD_BOOT
340
341 config BOOT_CONFIG
342 string "BOOT kernel config file (mandatory)"
343 default "***EDIT ME***"
344 depends on BUILD_BOOT
345 help
346 #-- If METHOD=boot, location of boot-kernel config file
347 # The config file will be copied to ${BUILD_DIR}/sources
348 # and renamed 'bootkernel-config'
349 #
350 # NOTE: this setting is required
351 #--- End CLFS specific params
352
353 #--- HLFS specific params
354 config GRSECURITY_HOST
355 bool "Building on grsecurity enabled host?"
356 default n
357 depends on BOOK_HLFS
358 help
359 #-- If your build system has grsecurity patches applied
360 # you MUST enable this switch.
361
362 choice
363 prompt "Library"
364 depends on BOOK_HLFS
365 help
366 #-- Which library model to use: uClibc/glibc
367
368 config LIB_GLIBC
369 bool "glibc"
370
371 config LIB_UCLIBC
372 bool "uClibc"
373 endchoice
374
375 config MODEL
376 depends on BOOK_HLFS
377 string
378 default "glibc" if LIB_GLIBC
379 default "uclibc" if LIB_UCLIBC
380
381 choice
382 prompt "Kernel series"
383 depends on BOOK_HLFS
384 help
385 #-- Which kernel series to use: 2.6/2.4
386
387 config KERNEL_26
388 bool "2.6 kernel series"
389
390 config KERNEL_24
391 bool "2.4 kernel series"
392 endchoice
393
394 config KERNEL
395 depends on BOOK_HLFS
396 string
397 default "2.6" if KERNEL_26
398 default "2.4" if KERNEL_24
399 #--- End HLFS specific params
400
401 #--- Custom Tools support
402 config CUSTOM_TOOLS
403 bool "Add custom tools support"
404 default n
405 depends on !BOOK_BLFS
406 help
407 #--- Activating this option additional packages you create
408 # will be installed after finished the xLFS system build.
409 #
410 #--- End Custom Tools support
411
412 #--- blfs-tool Support
413 config BLFS_TOOL
414 bool "Add blfs-tool support"
415 default n
416 depends on !BOOK_BLFS && !BOOK_CLFS3
417 help
418 #--- Activating this option additional packages needed to
419 # use blfs-tool will be installed.
420 #
421 # The blfs-tool files will be installed under
422 # $BUILD_DIR/blfs_root.
423
424 # After booting the new xLFS system you should to
425 # create an user account and move the /blfs-root
426 # directory to the user's home, making he the
427 # directory and files owner, before start
428 # using blfs-tool.
429 #
430 # Also, be sure to bring to that user read and write
431 # privileges over the $TRACKING_DIR directory and
432 # the files that it contains.
433 #
434 # And don't forget to configure sudo properly.
435
436 choice
437 prompt "BLFS Release"
438 default BLFS_SVN
439 depends on BLFS_TOOL
440 config BLFS_SVN
441 bool "BLFS SVN"
442 help
443 #-- Current development version as in trunk
444
445 config BLFS_BRANCH
446 bool "BLFS Branch or stable book"
447 help
448 #-- A supported SVN branch or stable released book
449 endchoice
450
451 config BLFS_BRANCH_ID
452 string "BLFS Book Version (mandatory)"
453 default "**EDIT ME**"
454 depends on BLFS_BRANCH
455 help
456 #-- A list of valid branches and stable books ID's is available here.
457 # http://wiki.linuxfromscratch.org/alfs/wiki/SupportedBooks
458
459 menu "blfs-tool dependencies"
460 depends on BLFS_TOOL
461
462 config DEP_LIBXML
463 bool "libxml2 (required)"
464 default y
465
466 config DEP_LIBXSLT
467 bool "libxslt (required)"
468 default y
469
470 config DEP_TIDY
471 bool "tidy (required)"
472 default y
473
474 config DEP_DBXML
475 bool "DocBook XML DTD (required)"
476 default y
477
478 config DEP_UNZIP
479 bool "UnZip (required to install DocBook XML DTD)"
480 default y
481 depends on DEP_DBXML
482
483 config DEP_DBXSL
484 bool "DocBook XSL (required)"
485 default y
486
487 config DEP_LINKS
488 bool "links (required)"
489 default y
490
491 config DEP_SUDO
492 bool "sudo (recommended)"
493 default y
494
495 config DEP_WGET
496 bool "wget (recommended)"
497 default y
498
499 config DEP_SVN
500 bool "SVN client (optional)"
501 default y
502
503 config DEP_GPM
504 bool "GPM (optional, see help)"
505 default y
506 help
507 #-- You MUST to install manually the gpm bootscript
508 # and create its configuration file
509 endmenu
510 #--- End blfs-tool Support
511
512 #--- BLFS specific params
513 config BLFS_ROOT
514 string "Directory root"
515 default "$HOME/blfs_root" if BOOK_BLFS
516 default "/blfs_root" if BLFS_TOOL
517 depends on BOOK_BLFS || BLFS_TOOL
518 help
519 #-- Full path to the directory where all required
520 # files and scripts will be stored.
521
522 config BLFS_XML
523 string "BLFS sources directory"
524 default "blfs-xml"
525 depends on BOOK_BLFS || BLFS_TOOL
526 help
527 #-- The directory name under $BLFS_ROOT where BLFS book
528 # sources will be checkout.
529
530 config TRACKING_DIR
531 string "Installed packages database directory"
532 default "/var/lib/jhalfs/BLFS"
533 depends on BOOK_BLFS || BLFS_TOOL || CUSTOM_TOOLS
534 help
535 #-- Full path to the directory where the installed
536 # packages database will be created.
537 #
538 # If you are installing blfs-tool on a running xLFS system
539 # you MUST to create manually this directory.
540 #
541 # If you are installing blfs-tool as part of a xLFS build
542 # and/or using the customized scripts feature, you will
543 # need to fix that directory permissions after booting
544 # the new system.
545 #
546 # Note that the user that will build the packages must
547 # have read and write privileges on that directory.
548 #--- End BLFS specific params
549
550#--- End BOOK Settings
551endmenu
552
553menu "--- General Settings"
554 depends on !BOOK_BLFS
555
556 #--- Set User Account
557 config CONFIG_USER
558 bool "Change the default user/group and homedir for this build"
559 default n
560 help #-- Unprivileged user and group name
561 # If you do not have the priv to create/delete
562 # users and groups you can specifiy your own
563 # user id for the build
564 #
565 # default values for each book
566 # LFS lfs
567 # CLFS* clfs
568 # HLFS hlfs
569 #
570 # Also, if your host place users home dirs into a
571 # directory other than /home you can specify it here.
572
573 config DEF_USER
574 string
575 default "lfs" if BOOK_LFS
576 default "clfs" if BOOK_CLFS || BOOK_CLFS2 || BOOK_CLFS3
577 default "hlfs" if BOOK_HLFS
578
579 config SET_USER
580 string "User account"
581 depends CONFIG_USER
582 default DEF_USER
583
584 config CONFIG_GROUP
585 bool "Set Group?"
586 default n
587 depends CONFIG_USER
588
589 config SET_GROUP
590 string "GROUP account"
591 depends CONFIG_GROUP
592 default DEF_USER
593
594 config CONFIG_HOME
595 bool "Set home dir?"
596 default n
597 depends CONFIG_USER
598
599 config SET_HOME
600 string "Path to the directory where user home dir will be created"
601 depends CONFIG_HOME
602 default "/home"
603
604 config LUSER
605 string
606 default DEF_USER if !CONFIG_USER
607 default SET_USER if CONFIG_USER
608
609 config LGROUP
610 string
611 default LUSER if !CONFIG_GROUP
612 default SET_GROUP if CONFIG_GROUP
613
614 config LHOME
615 string
616 default "/home" if !CONFIG_HOME
617 default SET_HOME if CONFIG_HOME
618 #--- End Set User Account
619
620 config BUILDDIR
621 string "Build Directory"
622 default "/mnt/build_dir"
623 help
624 #-- The directory where the created system will be located.
625
626 config GETPKG
627 bool "Retrieve source files"
628 default n
629 help
630 #-- Download all packages and patches required by the book selected
631 # NOTE: Looks for files in the local archive defined by SRC_ARCHIVE
632 # first and if necessary retrieve them from the 'net.
633 # Files will be transfered to $BUILDDIR/sources.
634
635 config SRC_ARCHIVE
636 string "Package Archive Directory"
637 default "$SRC_ARCHIVE"
638 depends GETPKG
639 help
640 #-- A local archive for packages/file (not $BUILDDIR/sources)
641 # Used only if GETPKG = 1
642 # Any missing file will be downloaded and archived here,
643 # if the user has the right priviledges.
644
645 config SERVER
646 string "FTP mirror"
647 default "ftp://ftp.lfs-matrix.net"
648 depends GETPKG
649 help
650 #-- FTP mirror to download packages and patches if not found
651 # in $SRC_ARCHIVE
652 # As a last resort, the files will dowloaded from upstream,
653 # if possible.
654
655 config GETKERNEL
656 bool "Always retrieve kernel package (see help)"
657 default y if BOOK_LFS || BOOK_HLFS
658 depends GETPKG
659 help
660 #-- Get the kernel package and patches even if no kernel
661 # configuration file has been supplied.
662
663 # NOTE:
664 # The kernel package must be available when building
665 # the SVN version of LFS or HLFS to can install the
666 # headers files.
667 #
668 # If building LFS-6.2 this setting can be disabled.
669
670 config RUNMAKE
671 bool "Run the makefile"
672 default n
673 help
674 #-- Automatically run the makefile once it has been created
675
676 config CLEAN
677 bool "Rebuild files"
678 default n
679 help
680 #-- Clean the build directory before performing any other task.
681 # The directory is cleaned only if it was populated by a
682 # previous JHALFS run.
683 #
684
685#--- End General Settings
686endmenu
687
688menu "--- Build Settings"
689 depends on !BOOK_BLFS
690
691 #--- Test Suites
692 config CONFIG_TESTS
693 bool "Run testsuites"
694 depends !BOOK_CLFS2 && !BOOK_CLFS3
695 default y
696 help
697 #-- Run test suites
698 #
699 # You will can to select between:
700 #
701 # - Only final system Glibc, GCC and Binutils testsuites
702 # - All final system testsuites
703 # - Both temporary tools and final system testsuites
704 #
705 # HLFS and CLFS has no testsuites available in the
706 # temporary tools phase
707
708 # You will be promt also about the "flavour" of the
709 # testsuites run:
710 #
711 # - Don't stop on test suite failures
712 # - Abort the build at the first test suite failure
713 #
714
715 choice
716 prompt "Tests level"
717 depends CONFIG_TESTS
718 default TEST_1
719
720 config TST_1
721 bool "Only final system Glibc, GCC and Binutils testsuites"
722
723 config TST_2
724 bool "All final system testsuites"
725
726 config TST_3
727 bool "Both temporary tools and final system testsuites" if !BOOK_HLFS && !BOOK_CLFS
728 endchoice
729
730 config TEST
731 int
732 default "0" if !CONFIG_TESTS
733 default "1" if TST_1
734 default "2" if TST_2
735 default "3" if TST_3
736
737 choice
738 prompt "Flavour"
739 depends CONFIG_TESTS
740
741 config NO_BOMB
742 bool "Don't stop on test suite failures"
743
744 config BOMB
745 bool "Abort the build at the first test suite failure"
746 endchoice
747
748 config BOMB_TEST
749 bool
750 default n if NO_BOMB
751 default y if BOMB
752
753 #--- End Test Suites
754
755 #--- Installed files logs
756 config INSTALL_LOG
757 bool "Create installed files logs"
758 default n
759 help
760 #-- Select this if you want to create logs of the files
761 # installed by each package on the final system.
762
763 #--- End Installed files logs
764
765 #--- FSTAB
766 config HAVE_FSTAB
767 bool "Use a custom fstab file"
768 default n
769 help
770 #-- Select this if you have ready a proper fstab file
771
772 config FSTAB
773 string "Fstab file (optional)"
774 default "***EDIT ME***"
775 depends on HAVE_FSTAB
776 help
777 #-- The location of fstab file (if empty, a template is created)
778 #--- End FSTAB
779
780 #--- Kernel
781 config CONFIG_BUILD_KERNEL
782 bool "Build the kernel"
783 default n
784 help
785 #-- Select this option if you wish to build the kernel.
786 #
787 # You will be prompted for the full path to the .config
788 # file. It will be copied to the 'sources' directory and
789 # rename kernel-config
790
791 config CONFIG
792 string "Kernel config file"
793 default "***EDIT ME***"
794 depends on CONFIG_BUILD_KERNEL
795 help
796 #-- Fully qualified path to a kernel config file
797 # The config file will be copied to ${BUILD_DIR}/sources
798 # and renamed 'kernel-config'
799 #--- End Kernel
800
801 config STRIP
802 bool "Strip Installed Binaries/Libraries"
803 default y
804 depends on !BOOK_CLFS3
805
806 config VIMLANG
807 bool "Install vim-lang package"
808 default y
809 depends on !BOOK_HLFS && !BOOK_CLFS3
810 help
811 #-- Install the optional vim-lang package
812
813 config TIMEZONE
814 string "TimeZone"
815 default "GMT"
816 help
817 #-- The timezone as output by tzselect
818 # This will be copied to /etc/localtime
819
820 config LANG
821 string "Language"
822 default "$LANG"
823 help
824 #-- Language information in /etc/profile See <locale -a> for values
825
826 #--- Groff page
827 choice
828 prompt "Groff page size"
829 default PAGE_LETTER
830 help
831 #-- Page definition for groff: letter or A4
832
833 config PAGE_LETTER
834 bool "letter"
835
836 config PAGE_A4
837 bool "A4"
838 endchoice
839
840 config PAGE
841 string
842 default "letter" if PAGE_LETTER
843 default "A4" if PAGE_A4
844 #--- End Groff page
845
846#--- End Build Settings
847endmenu
848
849menu "--- Advanced Features"
850 depends on !BOOK_BLFS
851
852 config REPORT
853 bool "Create SBU and disk usage report"
854 default y
855
856 #--- ICA/farce
857 config COMPARE
858 bool "Run comparison analysis on final stage"
859 depends !BOOK_CLFS2 && !BOOK_CLFS3
860 default n
861 help
862 #-- Should some iterative comparison analysis by made?
863 #
864 # Unless you are familiar with ICA and/or FARCE do not
865 # select this option
866 #
867 # ICA and FARCE are analysis tools for comparing one
868 # build to the next. Builds mays differ from one iteration
869 # to another due to the build order and these tools try
870 # to ferret out those differences by examining the stored
871 # build logs and binary files.
872 #
873 # The scripts are well commented and can be found in ./extras/*
874 #
875
876 config ITERATIONS
877 int "Number of test runs (2,3,4,5)" if COMPARE
878 depends on COMPARE
879 range 2 5
880 default 3
881
882 config RUN_ICA
883 bool "ICA testing"
884 depends on COMPARE
885 default y
886 help
887 #-- Run ICA testing
888
889 config RUN_FARCE
890 bool "farce testing"
891 depends on COMPARE
892 default n
893 help
894 #-- Run farce testing
895 #--- End ICA/farce
896
897 #--- Optimizations
898if !BOOK_CLFS2 && !BOOK_CLFS3
899 config CONFIG_OPTIMIZE
900 bool "Use optimization (see help)"
901 default n
902 help
903 #-- Actual optimzation flags MUST be defined in ./optimize/*
904 # files before activate this option.
905 #
906 # WARNING: The use of build optimizations may be dangerous.
907 # You should know what you are doing and be sure that the
908 # optimization settings listed below are what you want.
909 # It there are build issues or the system doesn't work as
910 # expected, please rebuild without optimizations before
911 # asking for support.
912
913 choice
914 prompt "Optimization level "
915 default OPT_1
916 depends CONFIG_OPTIMIZE
917 help
918 #-- Optimization values are set in optimize/* files
919
920 config OPT_1
921 bool "Final system only"
922
923 config OPT_2
924 bool "Both temp tools and final system"
925 endchoice
926
927 config OPTIMIZE
928 int
929 default "0" if !CONFIG_OPTIMIZE
930 default "1" if OPT_1
931 default "2" if OPT_2
932endif
933 #--- End Optimizations
934
935 #-- Internal Settings
936 menu "--- Internal Settings (WARNING: for jhalfs developers only)"
937
938 config SCRIPT_ROOT
939 string "Scripts root"
940 default "jhalfs"
941
942 config JHALFSDIR
943 string "jhalfs directory"
944 default "$BUILDDIR/$SCRIPT_ROOT"
945
946 config LOGDIRBASE
947 string "Build logs directory basename"
948 default "logs"
949
950 config LOGDIR
951 string "Build logs directory"
952 default "$JHALFSDIR/$LOGDIRBASE"
953
954 config TESTLOGDIRBASE
955 string "Test suites logs directory basename"
956 default "test-logs"
957
958 config TESTLOGDIR
959 string "Test suites logs directory"
960 default "$JHALFSDIR/$TESTLOGDIRBASE"
961
962 config FILELOGDIRBASE
963 string "Installed files logs directory basename"
964 default "installed-files"
965
966 config FILELOGDIR
967 string "Installed files logs directory"
968 default "$JHALFSDIR/$FILELOGDIRBASE"
969
970 config ICALOGDIR
971 string "ICA logs directory"
972 default "$LOGDIR/ICA"
973
974 config FARCELOGDIR
975 string "farce logs directory"
976 default "$LOGDIR/farce"
977
978 config MKFILE
979 string "Makefile"
980 default "$JHALFSDIR/Makefile"
981
982 config XSL
983 string "XSL stylesheet"
984 default "$PROGNAME.xsl"
985
986 config PKG_LST
987 string "Package contents list"
988 default "unpacked"
989
990 #--- End Internal Settings
991 endmenu
992
993#--- End Advanced Features
994endmenu
995
996config REBUILD_MAKEFILE
997 bool "Rebuild the Makefile (see help)"
998 default n
999 depends on !BOOK_BLFS
1000 help
1001 #-- Rebuild the Makefile
1002 #
1003 # This option alow to rebuild the Makefile after
1004 # customizing the base system build scripts.
1005 #
1006 # See README.CUSTOM for more info about this feature.
1007
Note: See TracBrowser for help on using the repository browser.