source: Config.in@ 1a39790

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

CLFS3: Added ARM arch support.

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