source: Config.in@ 5cbb44c

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

Added BLFS_TOOL support to CLFS2 and some bug fixes.

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