source: Config.in@ 3bc6078

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

CLFS3 don't have a stripping page.

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