source: Config.in@ d4ef791

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

CLFS* config settings clean-up.

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