source: Config.in@ 90b5931

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

DocBook-XSL package is not required for now.

  • Property mode set to 100644
File size: 25.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/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 || ARCH_ARM
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 config ENDIAN
323 string
324 depends BOOK_CLFS3 && (ARCH_MIPS || ARCH_ARM)
325 default "little" if PROC_mipsel || PROC_ARM || PROC_ARM5L
326 default "big" if PROC_mips || PROC_ARM5B
327
328 choice
329 prompt "Build method"
330 depends BOOK_CLFS
331 help
332 #-- What build method should be used: a chroot jail or minimal boot system
333 # Review the Cross-LFS book chap6 "TO BOOT OR CHROOT" for a full explanation.
334
335 config BUILD_CHROOT
336 bool "chroot"
337
338 config BUILD_BOOT
339 bool "boot"
340 endchoice
341
342 config METHOD
343 string
344 default "chroot" if BUILD_CHROOT
345 default "boot" if BUILD_BOOT
346
347 config BOOT_CONFIG
348 string "BOOT kernel config file (mandatory)"
349 default "***EDIT ME***"
350 depends on BUILD_BOOT
351 help
352 #-- If METHOD=boot, location of boot-kernel config file
353 # The config file will be copied to ${BUILD_DIR}/sources
354 # and renamed 'bootkernel-config'
355 #
356 # NOTE: this setting is required
357 #--- End CLFS specific params
358
359 #--- HLFS specific params
360 config GRSECURITY_HOST
361 bool "Building on grsecurity enabled host?"
362 default n
363 depends on BOOK_HLFS
364 help
365 #-- If your build system has grsecurity patches applied
366 # you MUST enable this switch.
367
368 choice
369 prompt "Library"
370 depends on BOOK_HLFS
371 help
372 #-- Which library model to use: uClibc/glibc
373
374 config LIB_GLIBC
375 bool "glibc"
376
377 config LIB_UCLIBC
378 bool "uClibc"
379 endchoice
380
381 config MODEL
382 depends on BOOK_HLFS
383 string
384 default "glibc" if LIB_GLIBC
385 default "uclibc" if LIB_UCLIBC
386
387 choice
388 prompt "Kernel series"
389 depends on BOOK_HLFS
390 help
391 #-- Which kernel series to use: 2.6/2.4
392
393 config KERNEL_26
394 bool "2.6 kernel series"
395
396 config KERNEL_24
397 bool "2.4 kernel series"
398 endchoice
399
400 config KERNEL
401 depends on BOOK_HLFS
402 string
403 default "2.6" if KERNEL_26
404 default "2.4" if KERNEL_24
405
406# menu "HLFS Additional Features"
407# depends on BOOK_HLFS
408#
409# config SET_SSP
410# bool "Stack-smashing protector"
411# default y
412#
413# config SET_ASLR
414# bool "Address-space layout randomization"
415# default y
416#
417# config SET_PAX
418# bool "PaX-aware ELF executables and kernel"
419# default y
420#
421# config SET_HARDENED_TMP
422# bool "Hardened temporary files creation"
423# default y
424#
425# config SET_WARNINGS
426# bool "Additional warnings"
427# default y
428#
429# config SET_MISC
430# bool "Miscellaneous features"
431# default y
432#
433# config SET_BLOWFISH
434# bool "Blowfish passwords"
435# default y
436# endmenu
437
438 config SSP
439# depends on SET_SSP
440 string
441 default ",ssp,"
442
443 config ASLR
444# depends on SET_ASLR
445 string
446 default ",aslr,"
447
448 config PAX
449# depends on SET_PAX
450 string
451 default ",pax,"
452
453 config HARDENED_TMP
454# depends on SET_HARDENED_TMP
455 string
456 default ",hardened_tmp,"
457
458 config WARNINGS
459# depends on SET_WARNINGS
460 string
461 default ",warnings,"
462
463 config MISC
464# depends on SET_MISC
465 string
466 default ",misc,"
467
468 config BLOWFISH
469# depends on SET_BLOWFISH
470 string
471 default ",blowfish,"
472 #--- End HLFS specific params
473
474 #--- Custom Tools support
475 config CUSTOM_TOOLS
476 bool "Add custom tools support"
477 default n
478 depends on !BOOK_BLFS
479 help
480 #--- Activating this option additional packages you create
481 # will be installed after finished the xLFS system build.
482 #
483 #--- End Custom Tools support
484
485 #--- blfs-tool Support
486 config BLFS_TOOL
487 bool "Add blfs-tool support"
488 default n
489 depends on !BOOK_BLFS && !BOOK_CLFS3
490 help
491 #--- Activating this option additional packages needed to
492 # use blfs-tool will be installed.
493 #
494 # The blfs-tool files will be installed under
495 # $BUILD_DIR/blfs_root.
496
497 # After booting the new xLFS system you should to
498 # create an user account and move the /blfs-root
499 # directory to the user's home, making he the
500 # directory and files owner, before start
501 # using blfs-tool.
502 #
503 # Also, be sure to bring to that user read and write
504 # privileges over the $TRACKING_DIR directory and
505 # the files that it contains.
506 #
507 # And don't forget to configure sudo properly.
508
509 choice
510 prompt "BLFS Release"
511 default BLFS_SVN
512 depends on BLFS_TOOL
513 config BLFS_SVN
514 bool "BLFS SVN"
515 help
516 #-- Current development version as in trunk
517
518 config BLFS_BRANCH
519 bool "BLFS Branch or stable book"
520 help
521 #-- A supported SVN branch or stable released book
522 endchoice
523
524 config BLFS_BRANCH_ID
525 string "BLFS Book Version (mandatory)"
526 default "**EDIT ME**"
527 depends on BLFS_BRANCH
528 help
529 #-- A list of valid branches and stable books ID's is available here.
530 # http://wiki.linuxfromscratch.org/alfs/wiki/SupportedBooks
531
532 menu "blfs-tool dependencies"
533 depends on BLFS_TOOL
534
535 config DEP_LIBXML
536 bool "libxml2 (required)"
537 default y
538
539 config DEP_LIBXSLT
540 bool "libxslt (required)"
541 default y
542
543 config DEP_TIDY
544 bool "tidy (required)"
545 default y
546
547 config DEP_DBXML
548 bool "DocBook XML DTD (required)"
549 default y
550
551 config DEP_UNZIP
552 bool "UnZip (required to install DocBook XML DTD)"
553 default y
554 depends on DEP_DBXML
555
556 #config DEP_DBXSL
557 #bool "DocBook XSL (required)"
558 #default y
559
560 config DEP_LINKS
561 bool "links (required)"
562 default y
563
564 config DEP_SUDO
565 bool "sudo (recommended)"
566 default y
567
568 config DEP_WGET
569 bool "wget (recommended)"
570 default y
571
572 config DEP_SVN
573 bool "SVN client (optional)"
574 default y
575
576 config DEP_GPM
577 bool "GPM (optional, see help)"
578 default y
579 help
580 #-- You MUST to install manually the gpm bootscript
581 # and create its configuration file
582 endmenu
583 #--- End blfs-tool Support
584
585 #--- BLFS specific params
586 config BLFS_ROOT
587 string "Directory root"
588 default "$HOME/blfs_root" if BOOK_BLFS
589 default "/blfs_root" if BLFS_TOOL
590 depends on BOOK_BLFS || BLFS_TOOL
591 help
592 #-- Full path to the directory where all required
593 # files and scripts will be stored.
594
595 config BLFS_XML
596 string "BLFS sources directory"
597 default "blfs-xml"
598 depends on BOOK_BLFS || BLFS_TOOL
599 help
600 #-- The directory name under $BLFS_ROOT where BLFS book
601 # sources will be checkout.
602
603 config TRACKING_DIR
604 string "Installed packages database directory"
605 default "/var/lib/jhalfs/BLFS"
606 depends on BOOK_BLFS || BLFS_TOOL || CUSTOM_TOOLS
607 help
608 #-- Full path to the directory where the installed
609 # packages database will be created.
610 #
611 # If you are installing blfs-tool on a running xLFS system
612 # you MUST to create manually this directory.
613 #
614 # If you are installing blfs-tool as part of a xLFS build
615 # and/or using the customized scripts feature, you will
616 # need to fix that directory permissions after booting
617 # the new system.
618 #
619 # Note that the user that will build the packages must
620 # have read and write privileges on that directory.
621 #--- End BLFS specific params
622
623#--- End BOOK Settings
624endmenu
625
626menu "--- General Settings"
627 depends on !BOOK_BLFS
628
629 #--- Set User Account
630 config CONFIG_USER
631 bool "Change the default user/group and homedir for this build"
632 default n
633 help #-- Unprivileged user and group name
634 # If you do not have the priv to create/delete
635 # users and groups you can specifiy your own
636 # user id for the build
637 #
638 # default values for each book
639 # LFS lfs
640 # CLFS* clfs
641 # HLFS hlfs
642 #
643 # Also, if your host place users home dirs into a
644 # directory other than /home you can specify it here.
645
646 config DEF_USER
647 string
648 default "lfs" if BOOK_LFS
649 default "clfs" if BOOK_CLFS || BOOK_CLFS2 || BOOK_CLFS3
650 default "hlfs" if BOOK_HLFS
651
652 config SET_USER
653 string "User account"
654 depends CONFIG_USER
655 default DEF_USER
656
657 config CONFIG_GROUP
658 bool "Set Group?"
659 default n
660 depends CONFIG_USER
661
662 config SET_GROUP
663 string "GROUP account"
664 depends CONFIG_GROUP
665 default DEF_USER
666
667 config CONFIG_HOME
668 bool "Set home dir?"
669 default n
670 depends CONFIG_USER
671
672 config SET_HOME
673 string "Path to the directory where user home dir will be created"
674 depends CONFIG_HOME
675 default "/home"
676
677 config LUSER
678 string
679 default DEF_USER if !CONFIG_USER
680 default SET_USER if CONFIG_USER
681
682 config LGROUP
683 string
684 default LUSER if !CONFIG_GROUP
685 default SET_GROUP if CONFIG_GROUP
686
687 config LHOME
688 string
689 default "/home" if !CONFIG_HOME
690 default SET_HOME if CONFIG_HOME
691 #--- End Set User Account
692
693 config BUILDDIR
694 string "Build Directory"
695 default "/mnt/build_dir"
696 help
697 #-- The directory where the created system will be located.
698
699 config GETPKG
700 bool "Retrieve source files"
701 default n
702 help
703 #-- Download all packages and patches required by the book selected
704 # NOTE: Looks for files in the local archive defined by SRC_ARCHIVE
705 # first and if necessary retrieve them from the 'net.
706 # Files will be transfered to $BUILDDIR/sources.
707
708 config SRC_ARCHIVE
709 string "Package Archive Directory"
710 default "$SRC_ARCHIVE"
711 depends GETPKG
712 help
713 #-- A local archive for packages/file (not $BUILDDIR/sources)
714 # Used only if GETPKG = 1
715 # Any missing file will be downloaded and archived here,
716 # if the user has the right priviledges.
717
718 config SERVER
719 string "FTP mirror"
720 default "ftp://ftp.lfs-matrix.net"
721 depends GETPKG
722 help
723 #-- FTP mirror to download packages and patches if not found
724 # in $SRC_ARCHIVE
725 # As a last resort, the files will dowloaded from upstream,
726 # if possible.
727
728 config GETKERNEL
729 bool "Always retrieve kernel package (see help)"
730 default y if BOOK_LFS || BOOK_HLFS
731 depends GETPKG
732 help
733 #-- Get the kernel package and patches even if no kernel
734 # configuration file has been supplied.
735
736 # NOTE:
737 # The kernel package must be available when building
738 # the SVN version of LFS or HLFS to can install the
739 # headers files.
740 #
741 # If building LFS-6.2 this setting can be disabled.
742
743 config RUNMAKE
744 bool "Run the makefile"
745 default n
746 help
747 #-- Automatically run the makefile once it has been created
748
749 config CLEAN
750 bool "Rebuild files"
751 default n
752 help
753 #-- Clean the build directory before performing any other task.
754 # The directory is cleaned only if it was populated by a
755 # previous JHALFS run.
756 #
757
758#--- End General Settings
759endmenu
760
761menu "--- Build Settings"
762 depends on !BOOK_BLFS
763
764 #--- Test Suites
765 config CONFIG_TESTS
766 bool "Run testsuites"
767 depends !BOOK_CLFS2 && !BOOK_CLFS3
768 default y
769 help
770 #-- Run test suites
771 #
772 # You will can to select between:
773 #
774 # - Only final system Glibc, GCC and Binutils testsuites
775 # - All final system testsuites
776 # - Both temporary tools and final system testsuites
777 #
778 # HLFS and CLFS has no testsuites available in the
779 # temporary tools phase
780
781 # You will be promt also about the "flavour" of the
782 # testsuites run:
783 #
784 # - Don't stop on test suite failures
785 # - Abort the build at the first test suite failure
786 #
787
788 choice
789 prompt "Tests level"
790 depends CONFIG_TESTS
791 default TEST_1
792
793 config TST_1
794 bool "Only final system Glibc, GCC and Binutils testsuites"
795
796 config TST_2
797 bool "All final system testsuites"
798
799 config TST_3
800 bool "Both temporary tools and final system testsuites" if !BOOK_HLFS && !BOOK_CLFS
801 endchoice
802
803 config TEST
804 int
805 default "0" if !CONFIG_TESTS
806 default "1" if TST_1
807 default "2" if TST_2
808 default "3" if TST_3
809
810 choice
811 prompt "Flavour"
812 depends CONFIG_TESTS
813
814 config NO_BOMB
815 bool "Don't stop on test suite failures"
816
817 config BOMB
818 bool "Abort the build at the first test suite failure"
819 endchoice
820
821 config BOMB_TEST
822 bool
823 default n if NO_BOMB
824 default y if BOMB
825
826 #--- End Test Suites
827
828 #--- Installed files logs
829 config INSTALL_LOG
830 bool "Create installed files logs"
831 default n
832 help
833 #-- Select this if you want to create logs of the files
834 # installed by each package on the final system.
835
836 #--- End Installed files logs
837
838 #--- FSTAB
839 config HAVE_FSTAB
840 bool "Use a custom fstab file"
841 default n
842 help
843 #-- Select this if you have ready a proper fstab file
844
845 config FSTAB
846 string "Fstab file (optional)"
847 default "***EDIT ME***"
848 depends on HAVE_FSTAB
849 help
850 #-- The location of fstab file (if empty, a template is created)
851 #--- End FSTAB
852
853 #--- Kernel
854 config CONFIG_BUILD_KERNEL
855 bool "Build the kernel"
856 default n
857 help
858 #-- Select this option if you wish to build the kernel.
859 #
860 # You will be prompted for the full path to the .config
861 # file. It will be copied to the 'sources' directory and
862 # rename kernel-config
863
864 config CONFIG
865 string "Kernel config file"
866 default "***EDIT ME***"
867 depends on CONFIG_BUILD_KERNEL
868 help
869 #-- Fully qualified path to a kernel config file
870 # The config file will be copied to ${BUILD_DIR}/sources
871 # and renamed 'kernel-config'
872 #--- End Kernel
873
874 config STRIP
875 bool "Strip Installed Binaries/Libraries"
876 default y
877 depends on !BOOK_CLFS3
878
879 config VIMLANG
880 bool "Install vim-lang package"
881 default y
882 depends on !BOOK_HLFS && !BOOK_CLFS3
883 help
884 #-- Install the optional vim-lang package
885
886 config TIMEZONE
887 string "TimeZone"
888 default "GMT"
889 help
890 #-- The timezone as output by tzselect
891 # This will be copied to /etc/localtime
892
893 config LANG
894 string "Language"
895 default "$LANG"
896 help
897 #-- Language information in /etc/profile See <locale -a> for values
898
899 #--- Groff page
900 choice
901 prompt "Groff page size"
902 default PAGE_LETTER
903 help
904 #-- Page definition for groff: letter or A4
905
906 config PAGE_LETTER
907 bool "letter"
908
909 config PAGE_A4
910 bool "A4"
911 endchoice
912
913 config PAGE
914 string
915 default "letter" if PAGE_LETTER
916 default "A4" if PAGE_A4
917 #--- End Groff page
918
919#--- End Build Settings
920endmenu
921
922menu "--- Advanced Features"
923 depends on !BOOK_BLFS
924
925 config REPORT
926 bool "Create SBU and disk usage report"
927 default y
928
929 #--- ICA/farce
930 config COMPARE
931 bool "Run comparison analysis on final stage"
932 depends !BOOK_CLFS2 && !BOOK_CLFS3
933 default n
934 help
935 #-- Should some iterative comparison analysis by made?
936 #
937 # Unless you are familiar with ICA and/or FARCE do not
938 # select this option
939 #
940 # ICA and FARCE are analysis tools for comparing one
941 # build to the next. Builds mays differ from one iteration
942 # to another due to the build order and these tools try
943 # to ferret out those differences by examining the stored
944 # build logs and binary files.
945 #
946 # The scripts are well commented and can be found in ./extras/*
947 #
948
949 config ITERATIONS
950 int "Number of test runs (2,3,4,5)" if COMPARE
951 depends on COMPARE
952 range 2 5
953 default 3
954
955 config RUN_ICA
956 bool "ICA testing"
957 depends on COMPARE
958 default y
959 help
960 #-- Run ICA testing
961
962 config RUN_FARCE
963 bool "farce testing"
964 depends on COMPARE
965 default n
966 help
967 #-- Run farce testing
968 #--- End ICA/farce
969
970 #--- Optimizations
971if !BOOK_CLFS2 && !BOOK_CLFS3
972 config CONFIG_OPTIMIZE
973 bool "Use optimization (see help)"
974 default n
975 help
976 #-- Actual optimzation flags MUST be defined in ./optimize/*
977 # files before activate this option.
978 #
979 # WARNING: The use of build optimizations may be dangerous.
980 # You should know what you are doing and be sure that the
981 # optimization settings listed below are what you want.
982 # It there are build issues or the system doesn't work as
983 # expected, please rebuild without optimizations before
984 # asking for support.
985
986 choice
987 prompt "Optimization level "
988 default OPT_1
989 depends CONFIG_OPTIMIZE
990 help
991 #-- Optimization values are set in optimize/* files
992
993 config OPT_1
994 bool "Final system only"
995
996 config OPT_2
997 bool "Both temp tools and final system"
998 endchoice
999
1000 config OPTIMIZE
1001 int
1002 default "0" if !CONFIG_OPTIMIZE
1003 default "1" if OPT_1
1004 default "2" if OPT_2
1005endif
1006 #--- End Optimizations
1007
1008 #-- Internal Settings
1009 menu "--- Internal Settings (WARNING: for jhalfs developers only)"
1010
1011 config SCRIPT_ROOT
1012 string "Scripts root"
1013 default "jhalfs"
1014
1015 config JHALFSDIR
1016 string "jhalfs directory"
1017 default "$BUILDDIR/$SCRIPT_ROOT"
1018
1019 config LOGDIRBASE
1020 string "Build logs directory basename"
1021 default "logs"
1022
1023 config LOGDIR
1024 string "Build logs directory"
1025 default "$JHALFSDIR/$LOGDIRBASE"
1026
1027 config TESTLOGDIRBASE
1028 string "Test suites logs directory basename"
1029 default "test-logs"
1030
1031 config TESTLOGDIR
1032 string "Test suites logs directory"
1033 default "$JHALFSDIR/$TESTLOGDIRBASE"
1034
1035 config FILELOGDIRBASE
1036 string "Installed files logs directory basename"
1037 default "installed-files"
1038
1039 config FILELOGDIR
1040 string "Installed files logs directory"
1041 default "$JHALFSDIR/$FILELOGDIRBASE"
1042
1043 config ICALOGDIR
1044 string "ICA logs directory"
1045 default "$LOGDIR/ICA"
1046
1047 config FARCELOGDIR
1048 string "farce logs directory"
1049 default "$LOGDIR/farce"
1050
1051 config MKFILE
1052 string "Makefile"
1053 default "$JHALFSDIR/Makefile"
1054
1055 config XSL
1056 string "XSL stylesheet"
1057 default "$PROGNAME.xsl"
1058
1059 config PKG_LST
1060 string "Package contents list"
1061 default "unpacked"
1062
1063 #--- End Internal Settings
1064 endmenu
1065
1066#--- End Advanced Features
1067endmenu
1068
1069config REBUILD_MAKEFILE
1070 bool "Rebuild the Makefile (see help)"
1071 default n
1072 depends on !BOOK_BLFS
1073 help
1074 #-- Rebuild the Makefile
1075 #
1076 # This option alow to rebuild the Makefile after
1077 # customizing the base system build scripts.
1078 #
1079 # See README.CUSTOM for more info about this feature.
1080
Note: See TracBrowser for help on using the repository browser.