source: Config.in@ 38d2de6

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

LFS: Added support for installed files logs.
Should be ported to other books when verified that works as expected.

  • Property mode set to 100644
File size: 23.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
[962793a]539 bool "Change the default user/group and homedir for this build"
[a705708]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
[962793a]547 # LFS lfs
548 # CLFS* clfs
549 # HLFS hlfs
550 #
551 # Also, if your host place users home dirs into a
552 # directory other than /home you can specify it here.
[a705708]553
554 config DEF_USER
555 string
556 default "lfs" if BOOK_LFS
[2639f65]557 default "clfs" if BOOK_CLFS || BOOK_CLFS2 || BOOK_CLFS3
[a705708]558 default "hlfs" if BOOK_HLFS
559
560 config SET_USER
561 string "User account"
562 depends CONFIG_USER
563 default DEF_USER
564
565 config CONFIG_GROUP
566 bool "Set Group?"
567 default n
568 depends CONFIG_USER
569
570 config SET_GROUP
571 string "GROUP account"
572 depends CONFIG_GROUP
573 default DEF_USER
574
[962793a]575 config CONFIG_HOME
576 bool "Set home dir?"
577 default n
578 depends CONFIG_USER
579
580 config SET_HOME
581 string "Path to the directory where user home dir will be created"
582 depends CONFIG_HOME
583 default "/home"
584
[a705708]585 config LUSER
586 string
587 default DEF_USER if !CONFIG_USER
588 default SET_USER if CONFIG_USER
589
590 config LGROUP
591 string
592 default LUSER if !CONFIG_GROUP
593 default SET_GROUP if CONFIG_GROUP
[962793a]594
595 config LHOME
596 string
597 default "/home" if !CONFIG_HOME
598 default SET_HOME if CONFIG_HOME
[a705708]599 #--- End Set User Account
600
601 config BUILDDIR
602 string "Build Directory"
603 default "/mnt/build_dir"
604 help
605 #-- The directory where the created system will be located.
606
[401f81e]607 config GETPKG
[a705708]608 bool "Retrieve source files"
609 default n
610 help
611 #-- Download all packages and patches required by the book selected
612 # NOTE: Looks for files in the local archive defined by SRC_ARCHIVE
613 # first and if necessary retrieve them from the 'net.
614 # Files will be transfered to $BUILDDIR/sources.
615
616 config SRC_ARCHIVE
617 string "Package Archive Directory"
618 default "$SRC_ARCHIVE"
[401f81e]619 depends GETPKG
[a705708]620 help
621 #-- A local archive for packages/file (not $BUILDDIR/sources)
622 # Used only if GETPKG = 1
623 # Any missing file will be downloaded and archived here,
624 # if the user has the right priviledges.
625
[4da2512]626 config SERVER
627 string "FTP mirror"
628 default "ftp://ftp.lfs-matrix.net"
629 depends GETPKG
630 help
631 #-- FTP mirror to download packages and patches if not found
632 # in $SRC_ARCHIVE
633 # As a last resort, the files will dowloaded from upstream,
634 # if possible.
635
[401f81e]636 config GETKERNEL
[3d7b6621]637 bool "Always retrieve kernel package (see help)"
[7e45406]638 default y if BOOK_LFS || BOOK_HLFS
[401f81e]639 depends GETPKG
[a705708]640 help
[3d7b6621]641 #-- Get the kernel package and patches even if no kernel
642 # configuration file has been supplied.
643
644 # NOTE:
645 # The kernel package must be available when building
[7e45406]646 # the SVN version of LFS or HLFS to can install the
647 # headers files.
648 #
649 # If building LFS-6.2 this setting can be disabled.
[a705708]650
[401f81e]651 config RUNMAKE
[a705708]652 bool "Run the makefile"
653 default n
654 help
655 #-- Automatically run the makefile once it has been created
656
[401f81e]657 config CLEAN
[a705708]658 bool "Rebuild files"
659 default n
660 help
661 #-- Clean the build directory before performing any other task.
662 # The directory is cleaned only if it was populated by a
663 # previous JHALFS run.
664 #
665
666#--- End General Settings
667endmenu
668
669menu "--- Build Settings"
[d3ce173]670 depends on !BOOK_BLFS
[a705708]671
672 #--- Test Suites
673 config CONFIG_TESTS
674 bool "Run testsuites"
[0536270]675 depends !BOOK_CLFS2 && !BOOK_CLFS3
[401f81e]676 default y
[a705708]677 help
678 #-- Run test suites
679 #
680 # You will can to select between:
681 #
682 # - Only final system Glibc, GCC and Binutils testsuites
683 # - All final system testsuites
684 # - Both temporary tools and final system testsuites
685 #
686 # HLFS and CLFS has no testsuites available in the
687 # temporary tools phase
688
689 # You will be promt also about the "flavour" of the
690 # testsuites run:
691 #
692 # - Don't stop on test suite failures
693 # - Abort the build at the first test suite failure
694 #
695
696 choice
[8e3ccf7]697 prompt "Tests level"
[a705708]698 depends CONFIG_TESTS
699 default TEST_1
700
701 config TST_1
702 bool "Only final system Glibc, GCC and Binutils testsuites"
703
704 config TST_2
705 bool "All final system testsuites"
706
707 config TST_3
708 bool "Both temporary tools and final system testsuites" if !BOOK_HLFS && !BOOK_CLFS
709 endchoice
710
711 config TEST
712 int
713 default "0" if !CONFIG_TESTS
714 default "1" if TST_1
715 default "2" if TST_2
716 default "3" if TST_3
717
718 choice
[8e3ccf7]719 prompt "Flavour"
[a705708]720 depends CONFIG_TESTS
721
722 config NO_BOMB
723 bool "Don't stop on test suite failures"
724
725 config BOMB
726 bool "Abort the build at the first test suite failure"
727 endchoice
728
729 config BOMB_TEST
[401f81e]730 bool
[8e3ccf7]731 default n if NO_BOMB
732 default y if BOMB
[401f81e]733
[a705708]734 #--- End Test Suites
735
[93346ee]736 #--- Installed files logs
737 config INSTALL_LOG
738 bool "Create installed files logs"
739 default n
740 depends on BOOK_LFS
741 help
742 #-- Select this if you want to create logs of the files
743 # installed by each package on the final system.
744
745 #--- End Installed files logs
746
[a705708]747 #--- FSTAB
748 config HAVE_FSTAB
749 bool "Use a custom fstab file"
750 default n
751 help
752 #-- Select this if you have ready a proper fstab file
753
754 config FSTAB
755 string "Fstab file (optional)"
756 default "***EDIT ME***"
757 depends on HAVE_FSTAB
758 help
759 #-- The location of fstab file (if empty, a template is created)
760 #--- End FSTAB
761
762 #--- Kernel
763 config CONFIG_BUILD_KERNEL
764 bool "Build the kernel"
765 default n
766 help
767 #-- Select this option if you wish to build the kernel.
768 #
769 # You will be prompted for the full path to the .config
770 # file. It will be copied to the 'sources' directory and
771 # rename kernel-config
772
773 config CONFIG
774 string "Kernel config file"
775 default "***EDIT ME***"
776 depends on CONFIG_BUILD_KERNEL
777 help
778 #-- Fully qualified path to a kernel config file
779 # The config file will be copied to ${BUILD_DIR}/sources
780 # and renamed 'kernel-config'
781 #--- End Kernel
782
[401f81e]783 config STRIP
[a705708]784 bool "Strip Installed Binaries/Libraries"
785 default y
[b230bd6]786 depends on !BOOK_CLFS3
[a705708]787
[401f81e]788 config VIMLANG
[a705708]789 bool "Install vim-lang package"
790 default y
791 help
[401f81e]792 #-- Install the optional vim-lang package
[a705708]793
794 config TIMEZONE
795 string "TimeZone"
796 default "GMT"
797 help
798 #-- The timezone as output by tzselect
799 # This will be copied to /etc/localtime
800
801 config LANG
802 string "Language"
803 default "$LANG"
804 help
805 #-- Language information in /etc/profile See <locale -a> for values
806
807 config LC_ALL
808 string "Language"
809 default "$LC_ALL"
[113d767]810 depends on BOOK_HLFS
[a705708]811 help
812 #-- Language information in /etc/profile See <locale -a> for values
813
814 #--- Groff page
815 choice
816 prompt "Groff page size"
817 default PAGE_LETTER
818 help
819 #-- Page definition for groff: letter or A4
820
821 config PAGE_LETTER
822 bool "letter"
823
824 config PAGE_A4
825 bool "A4"
826 endchoice
827
828 config PAGE
829 string
830 default "letter" if PAGE_LETTER
831 default "A4" if PAGE_A4
832 #--- End Groff page
833
834#--- End Build Settings
835endmenu
836
837menu "--- Advanced Features"
[d3ce173]838 depends on !BOOK_BLFS
[a705708]839
[401f81e]840 config REPORT
[a705708]841 bool "Create SBU and disk usage report"
842 default y
843
844 #--- ICA/farce
[401f81e]845 config COMPARE
[a705708]846 bool "Run comparison analysis on final stage"
[0536270]847 depends !BOOK_CLFS2 && !BOOK_CLFS3
[a705708]848 default n
849 help
850 #-- Should some iterative comparison analysis by made?
851 #
852 # Unless you are familiar with ICA and/or FARCE do not
853 # select this option
854 #
855 # ICA and FARCE are analysis tools for comparing one
856 # build to the next. Builds mays differ from one iteration
857 # to another due to the build order and these tools try
858 # to ferret out those differences by examining the stored
859 # build logs and binary files.
860 #
861 # The scripts are well commented and can be found in ./extras/*
862 #
863
864 config ITERATIONS
[401f81e]865 int "Number of test runs (2,3,4,5)" if COMPARE
866 depends on COMPARE
[a705708]867 range 2 5
868 default 3
869
[401f81e]870 config RUN_ICA
[a705708]871 bool "ICA testing"
[401f81e]872 depends on COMPARE
[a705708]873 default y
874 help
875 #-- Run ICA testing
876
[401f81e]877 config RUN_FARCE
[a705708]878 bool "farce testing"
[401f81e]879 depends on COMPARE
[a705708]880 default n
881 help
882 #-- Run farce testing
883 #--- End ICA/farce
884
[4da2512]885 #--- Optimizations
[0536270]886if !BOOK_CLFS2 && !BOOK_CLFS3
[a705708]887 config CONFIG_OPTIMIZE
[4da2512]888 bool "Use optimization (see help)"
[a705708]889 default n
890 help
891 #-- Actual optimzation flags MUST be defined in ./optimize/*
892 # files before activate this option.
893 #
894 # WARNING: The use of build optimizations may be dangerous.
895 # You should know what you are doing and be sure that the
896 # optimization settings listed below are what you want.
897 # It there are build issues or the system doesn't work as
898 # expected, please rebuild without optimizations before
899 # asking for support.
900
901 choice
902 prompt "Optimization level "
903 default OPT_1
904 depends CONFIG_OPTIMIZE
905 help
906 #-- Optimization values are set in optimize/* files
907
908 config OPT_1
909 bool "Final system only"
910
911 config OPT_2
912 bool "Both temp tools and final system"
913 endchoice
914
915 config OPTIMIZE
916 int
917 default "0" if !CONFIG_OPTIMIZE
918 default "1" if OPT_1
919 default "2" if OPT_2
[045b2dc]920endif
[a705708]921 #--- End Optimizations
922
[4da2512]923 #-- Internal Settings
924 menu "--- Internal Settings (WARNING: for jhalfs developers only)"
925
926 config SCRIPT_ROOT
927 string "Scripts root"
928 default "jhalfs"
929
930 config JHALFSDIR
931 string "jhalfs directory"
932 default "$BUILDDIR/$SCRIPT_ROOT"
933
[93346ee]934 config LOGDIRBASE
935 string "Build logs directory basename"
936 default "logs"
937
[4da2512]938 config LOGDIR
939 string "Build logs directory"
[93346ee]940 default "$JHALFSDIR/$LOGDIRBASE"
941
942 config TESTLOGDIRBASE
943 string "Test suites logs directory basename"
944 default "test-logs"
[4da2512]945
946 config TESTLOGDIR
947 string "Test suites logs directory"
[93346ee]948 default "$JHALFSDIR/$TESTLOGDIRBASE"
949
950 config FILELOGDIRBASE
951 string "Installed files logs directory basename"
952 default "installed-files"
953
954 config FILELOGDIR
955 string "Installed files logs directory"
956 default "$JHALFSDIR/$FILELOGDIRBASE"
[4da2512]957
958 config ICALOGDIR
959 string "ICA logs directory"
960 default "$LOGDIR/ICA"
961
962 config FARCELOGDIR
963 string "farce logs directory"
964 default "$LOGDIR/farce"
965
966 config MKFILE
967 string "Makefile"
968 default "$JHALFSDIR/Makefile"
969
970 config XSL
971 string "XSL stylesheet"
972 default "$PROGNAME.xsl"
973
974 config PKG_LST
975 string "Package contents list"
976 default "unpacked"
977
978 #--- End Internal Settings
979 endmenu
980
[a705708]981#--- End Advanced Features
982endmenu
[7b6ecc5]983
[a16f769]984config REBUILD_MAKEFILE
[7b6ecc5]985 bool "Rebuild the Makefile (see help)"
986 default n
987 depends on !BOOK_BLFS
988 help
989 #-- Rebuild the Makefile
990 #
991 # This option alow to rebuild the Makefile after
992 # customizing the base system build scripts.
993 #
994 # See README.CUSTOM for more info about this feature.
995
Note: See TracBrowser for help on using the repository browser.