source: Config.in@ fc87e13

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

CLFS: Updated ALPHA target triplect selection.

  • Property mode set to 100644
File size: 22.2 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
[7d6d6f7]103 bool "alpha" if !BOOK_CLFS3
[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
[9bbf240]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"
[7d6d6f7]122
[9bbf240]123 config PLATFORM_WRT
124 bool "WRT - MIPS based wireless router" if ARCH_MIPS
125 endchoice
[7d6d6f7]126
[a705708]127 choice
128 prompt "Library"
[02c88a6]129 depends (BOOK_CLFS && !ARCH_ALPHA) || (BOOK_CLFS3 && ARCH_MIPS)
130 default DATA_32
[c63c0fa]131 help
132 #-- Choose the target system libraries type
[a705708]133
134 config DATA_32
[02c88a6]135 bool "32-bit"
[a705708]136
137 config DATA_64
[02c88a6]138 bool "64-bit" if !ARCH_PPC
[a705708]139
140 config DATA_MULTI
[9bbf240]141 bool "multilib" if !(BOOK_CLFS3 && ARCH_MIPS )
[a705708]142 endchoice
143
144 choice
[2035ea1]145 prompt "Processor type"
[c560e9a]146 depends (BOOK_CLFS || BOOK_CLFS2 || BOOK_CLFS3) && ((ARCH_X86 && !(DATA_64 || DATA_MULTI)) || ARCH_MIPS || ARCH_HPPA || ARCH_ALPHA)
[c63c0fa]147 help
148 #-- Choose the target system processor
[a705708]149
150 config PROC_i486
[02c88a6]151 bool "486 Compatibles" if ARCH_X86
[a705708]152
153 config PROC_i586
[02c88a6]154 bool "Pentium, K6, 586 Compatibles" if ARCH_X86
[a705708]155
156 config PROC_i686
[02c88a6]157 bool "Pentium II, Pentium III, Pentium 4, Athlon, Duron" if ARCH_X86
[a705708]158
159 config PROC_mipsel
[2035ea1]160 bool "MIPS Little Endian" if ARCH_MIPS
[a705708]161
162 config PROC_mips
[2035ea1]163 bool "MIPS Big Endian" if ARCH_MIPS
164
165 config PROC_unknown
[c560e9a]166 bool "Unknown" if ARCH_HPPA || ARCH_ALPHA
[2035ea1]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
[c560e9a]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
[a705708]194 endchoice
195
[c63c0fa]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
[a705708]213 config TARGET
214 string
[02c88a6]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
[c5ff430]218
[02c88a6]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
[2639f65]222
[02c88a6]223 default "x86_64-unknown-linux-gnu" if ARCH_X86 && (DATA_64 || DATA_MULTI)
[2639f65]224
[02c88a6]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)
[a705708]229
[02c88a6]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
[a705708]234
[02c88a6]235 default "powerpc-unknown-linux-gnu" if ARCH_PPC && DATA_32
236 default "powerpc64-unknown-linux-gnu" if ARCH_PPC && DATA_MULTI
[a705708]237
[02c88a6]238 default "sparc-unknown-linux-gnu" if ARCH_SPARC && DATA_32
239 default "sparc64-unknown-linux-gnu" if ARCH_SPARC && (DATA_64 || DATA_MULTI)
[2035ea1]240
[c560e9a]241 default "hppa-unknown-linux-gnu" if PROC_unknown && ARCH_HPPA
[02c88a6]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
[c560e9a]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
[a705708]255
256 config TARGET32
257 string
258 depends DATA_MULTI
259 default "i686-pc-linux-gnu" if ARCH_X86
[02c88a6]260 default "mipsel-unknown-linux-gnu" if PROC_mipsel
261 default "mips-unknown-linux-gnu" if PROC_mips
[a705708]262 default "sparc-unknown-linux-gnu" if ARCH_SPARC
263 default "powerpc-unknown-linux-gnu" if ARCH_PPC
264
[9bbf240]265 config PLATFORM
266 string
267 default "GENERIC" if (!BOOK_CLFS3) || PLATFORM_GENERIC
268 default "WRT - Wireless Router" if PLATFORM_WRT
269
[a705708]270 config ARCH
271 string
[02c88a6]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
[a705708]275
[9bbf240]276 default "wrt" if PLATFORM_WRT && BOOK_CLFS3
277
[02c88a6]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
[c5ff430]281
[9bbf240]282
[02c88a6]283 default "ppc" if ARCH_PPC && DATA_32
284 default "ppc64" if ARCH_PPC && DATA_MULTI
[a705708]285
[02c88a6]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
[7d6d6f7]293
[c5ff430]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
[a99baaf]300 config ABI
301 string
302 depends BOOK_CLFS3
[c63c0fa]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
[2035ea1]308
[a705708]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
[401f81e]341 config GRSECURITY_HOST
[a705708]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
[53f291f]369 #--- Custom Tools support
370 config CUSTOM_TOOLS
[3e7ceed]371 bool "Add custom tools support"
[53f291f]372 default n
[3e7ceed]373 depends on !BOOK_BLFS
[53f291f]374 help
375 #--- Activating this option additional packages you create
[3e7ceed]376 # will be installed after finished the xLFS system build.
[53f291f]377 #
378 #--- End Custom Tools support
379
[4965fa8]380 #--- blfs-tool Support
381 config BLFS_TOOL
382 bool "Add blfs-tool support"
383 default n
[cd4466f]384 depends on !BOOK_BLFS && !BOOK_CLFS3
[4965fa8]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
[cd4466f]393 # create an user account and move the /blfs-root
[4965fa8]394 # directory to the user's home, making he the
395 # directory and files owner, before start
396 # using blfs-tool.
397 #
[7b84722]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.
[4965fa8]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
[045b2dc]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
[4965fa8]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
[d3ce173]480 #--- BLFS specific params
481 config BLFS_ROOT
482 string "Directory root"
[4965fa8]483 default "$HOME/blfs_root" if BOOK_BLFS
484 default "/blfs_root" if BLFS_TOOL
485 depends on BOOK_BLFS || BLFS_TOOL
[d3ce173]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"
[4965fa8]493 depends on BOOK_BLFS || BLFS_TOOL
[d3ce173]494 help
[4965fa8]495 #-- The directory name under $BLFS_ROOT where BLFS book
496 # sources will be checkout.
[f4ed135]497
498 config TRACKING_DIR
499 string "Installed packages database directory"
500 default "/var/lib/jhalfs/BLFS"
[53f291f]501 depends on BOOK_BLFS || BLFS_TOOL || CUSTOM_TOOLS
[f4ed135]502 help
503 #-- Full path to the directory where the installed
504 # packages database will be created.
505 #
[53f291f]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.
[4965fa8]513 #
[f4ed135]514 # Note that the user that will build the packages must
515 # have read and write privileges on that directory.
[d3ce173]516 #--- End BLFS specific params
[53f291f]517
[a705708]518#--- End BOOK Settings
519endmenu
520
521menu "--- General Settings"
[d3ce173]522 depends on !BOOK_BLFS
[a705708]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
[2639f65]542 default "clfs" if BOOK_CLFS || BOOK_CLFS2 || BOOK_CLFS3
[a705708]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
[401f81e]578 config GETPKG
[a705708]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"
[401f81e]590 depends GETPKG
[a705708]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
[4da2512]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
[401f81e]607 config GETKERNEL
[3d7b6621]608 bool "Always retrieve kernel package (see help)"
[7e45406]609 default y if BOOK_LFS || BOOK_HLFS
[401f81e]610 depends GETPKG
[a705708]611 help
[3d7b6621]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
[7e45406]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.
[a705708]621
[401f81e]622 config RUNMAKE
[a705708]623 bool "Run the makefile"
624 default n
625 help
626 #-- Automatically run the makefile once it has been created
627
[401f81e]628 config CLEAN
[a705708]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"
[d3ce173]641 depends on !BOOK_BLFS
[a705708]642
643 #--- Test Suites
644 config CONFIG_TESTS
645 bool "Run testsuites"
[0536270]646 depends !BOOK_CLFS2 && !BOOK_CLFS3
[401f81e]647 default y
[a705708]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
[8e3ccf7]668 prompt "Tests level"
[a705708]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
[8e3ccf7]690 prompt "Flavour"
[a705708]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
[401f81e]701 bool
[8e3ccf7]702 default n if NO_BOMB
703 default y if BOMB
[401f81e]704
[a705708]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
[401f81e]743 config STRIP
[a705708]744 bool "Strip Installed Binaries/Libraries"
745 default y
746
[401f81e]747 config VIMLANG
[a705708]748 bool "Install vim-lang package"
749 default y
750 help
[401f81e]751 #-- Install the optional vim-lang package
[a705708]752
753 config TIMEZONE
754 string "TimeZone"
755 default "GMT"
756 help
757 #-- The timezone as output by tzselect
758 # This will be copied to /etc/localtime
759
760 config LANG
761 string "Language"
762 default "$LANG"
763 help
764 #-- Language information in /etc/profile See <locale -a> for values
765
766 config LC_ALL
767 string "Language"
768 default "$LC_ALL"
[113d767]769 depends on BOOK_HLFS
[a705708]770 help
771 #-- Language information in /etc/profile See <locale -a> for values
772
773 #--- Groff page
774 choice
775 prompt "Groff page size"
776 default PAGE_LETTER
777 help
778 #-- Page definition for groff: letter or A4
779
780 config PAGE_LETTER
781 bool "letter"
782
783 config PAGE_A4
784 bool "A4"
785 endchoice
786
787 config PAGE
788 string
789 default "letter" if PAGE_LETTER
790 default "A4" if PAGE_A4
791 #--- End Groff page
792
793#--- End Build Settings
794endmenu
795
796menu "--- Advanced Features"
[d3ce173]797 depends on !BOOK_BLFS
[a705708]798
[401f81e]799 config REPORT
[a705708]800 bool "Create SBU and disk usage report"
801 default y
802
803 #--- ICA/farce
[401f81e]804 config COMPARE
[a705708]805 bool "Run comparison analysis on final stage"
[0536270]806 depends !BOOK_CLFS2 && !BOOK_CLFS3
[a705708]807 default n
808 help
809 #-- Should some iterative comparison analysis by made?
810 #
811 # Unless you are familiar with ICA and/or FARCE do not
812 # select this option
813 #
814 # ICA and FARCE are analysis tools for comparing one
815 # build to the next. Builds mays differ from one iteration
816 # to another due to the build order and these tools try
817 # to ferret out those differences by examining the stored
818 # build logs and binary files.
819 #
820 # The scripts are well commented and can be found in ./extras/*
821 #
822
823 config ITERATIONS
[401f81e]824 int "Number of test runs (2,3,4,5)" if COMPARE
825 depends on COMPARE
[a705708]826 range 2 5
827 default 3
828
[401f81e]829 config RUN_ICA
[a705708]830 bool "ICA testing"
[401f81e]831 depends on COMPARE
[a705708]832 default y
833 help
834 #-- Run ICA testing
835
[401f81e]836 config RUN_FARCE
[a705708]837 bool "farce testing"
[401f81e]838 depends on COMPARE
[a705708]839 default n
840 help
841 #-- Run farce testing
842 #--- End ICA/farce
843
[4da2512]844 #--- Optimizations
[0536270]845if !BOOK_CLFS2 && !BOOK_CLFS3
[a705708]846 config CONFIG_OPTIMIZE
[4da2512]847 bool "Use optimization (see help)"
[a705708]848 default n
849 help
850 #-- Actual optimzation flags MUST be defined in ./optimize/*
851 # files before activate this option.
852 #
853 # WARNING: The use of build optimizations may be dangerous.
854 # You should know what you are doing and be sure that the
855 # optimization settings listed below are what you want.
856 # It there are build issues or the system doesn't work as
857 # expected, please rebuild without optimizations before
858 # asking for support.
859
860 choice
861 prompt "Optimization level "
862 default OPT_1
863 depends CONFIG_OPTIMIZE
864 help
865 #-- Optimization values are set in optimize/* files
866
867 config OPT_1
868 bool "Final system only"
869
870 config OPT_2
871 bool "Both temp tools and final system"
872 endchoice
873
874 config OPTIMIZE
875 int
876 default "0" if !CONFIG_OPTIMIZE
877 default "1" if OPT_1
878 default "2" if OPT_2
[045b2dc]879endif
[a705708]880 #--- End Optimizations
881
[4da2512]882 #-- Internal Settings
883 menu "--- Internal Settings (WARNING: for jhalfs developers only)"
884
885 config SCRIPT_ROOT
886 string "Scripts root"
887 default "jhalfs"
888
889 config JHALFSDIR
890 string "jhalfs directory"
891 default "$BUILDDIR/$SCRIPT_ROOT"
892
893 config LOGDIR
894 string "Build logs directory"
895 default "$JHALFSDIR/logs"
896
897 config TESTLOGDIR
898 string "Test suites logs directory"
899 default "$JHALFSDIR/test-logs"
900
901 config ICALOGDIR
902 string "ICA logs directory"
903 default "$LOGDIR/ICA"
904
905 config FARCELOGDIR
906 string "farce logs directory"
907 default "$LOGDIR/farce"
908
909 config MKFILE
910 string "Makefile"
911 default "$JHALFSDIR/Makefile"
912
913 config XSL
914 string "XSL stylesheet"
915 default "$PROGNAME.xsl"
916
917 config PKG_LST
918 string "Package contents list"
919 default "unpacked"
920
921 #--- End Internal Settings
922 endmenu
923
[a705708]924#--- End Advanced Features
925endmenu
[7b6ecc5]926
[a16f769]927config REBUILD_MAKEFILE
[7b6ecc5]928 bool "Rebuild the Makefile (see help)"
929 default n
930 depends on !BOOK_BLFS
931 help
932 #-- Rebuild the Makefile
933 #
934 # This option alow to rebuild the Makefile after
935 # customizing the base system build scripts.
936 #
937 # See README.CUSTOM for more info about this feature.
938
Note: See TracBrowser for help on using the repository browser.