source: Config.in@ 513b259

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

HLFS: Added support for additional build features.

  • Property mode set to 100644
File size: 24.9 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
[5c575e1]380
381 choice
382 prompt "Kernel series"
383 depends on BOOK_HLFS
384 help
385 #-- Which kernel series to use: 2.6/2.4
386
387 config KERNEL_26
388 bool "2.6 kernel series"
389
390 config KERNEL_24
391 bool "2.4 kernel series"
392 endchoice
393
394 config KERNEL
395 depends on BOOK_HLFS
396 string
397 default "2.6" if KERNEL_26
398 default "2.4" if KERNEL_24
[d035526]399
400 menu "HLFS Additional Features"
401 depends on BOOK_HLFS
402
403 config SET_SSP
404 bool "Stack-smashing protector"
405 default y
406
407 config SET_ASLR
408 bool "Address-space layout randomization"
409 default y
410
411 config SET_PAX
412 bool "PaX-aware ELF executables and kernel"
413 default y
414
415 config SET_HARDENED_TMP
416 bool "Hardened temporary files creation"
417 default y
418
419 config SET_WARNINGS
420 bool "Additional warnings"
421 default y
422
423 config SET_MISC
424 bool "Miscellaneous features"
425 default y
426
427 config SET_BLOWFISH
428 bool "Blowfish passwords"
429 default y
430 endmenu
431
432 config SSP
433 depends on SET_SSP
434 string
435 default ",ssp,"
436
437 config ASLR
438 depends on SET_ASLR
439 string
440 default ",aslr,"
441
442 config PAX
443 depends on SET_PAX
444 string
445 default ",pax,"
446
447 config HARDENED_TMP
448 depends on SET_HARDENED_TMP
449 string
450 default ",hardened_tmp,"
451
452 config WARNINGS
453 depends on SET_WARNINGS
454 string
455 default ",warnings,"
456
457 config MISC
458 depends on SET_MISC
459 string
460 default ",misc,"
461
462 config BLOWFISH
463 depends on SET_BLOWFISH
464 string
465 default ",blowfish,"
[a705708]466 #--- End HLFS specific params
467
[53f291f]468 #--- Custom Tools support
469 config CUSTOM_TOOLS
[3e7ceed]470 bool "Add custom tools support"
[53f291f]471 default n
[3e7ceed]472 depends on !BOOK_BLFS
[53f291f]473 help
474 #--- Activating this option additional packages you create
[3e7ceed]475 # will be installed after finished the xLFS system build.
[53f291f]476 #
477 #--- End Custom Tools support
478
[4965fa8]479 #--- blfs-tool Support
480 config BLFS_TOOL
481 bool "Add blfs-tool support"
482 default n
[cd4466f]483 depends on !BOOK_BLFS && !BOOK_CLFS3
[4965fa8]484 help
485 #--- Activating this option additional packages needed to
486 # use blfs-tool will be installed.
487 #
488 # The blfs-tool files will be installed under
489 # $BUILD_DIR/blfs_root.
490
491 # After booting the new xLFS system you should to
[cd4466f]492 # create an user account and move the /blfs-root
[4965fa8]493 # directory to the user's home, making he the
494 # directory and files owner, before start
495 # using blfs-tool.
496 #
[7b84722]497 # Also, be sure to bring to that user read and write
498 # privileges over the $TRACKING_DIR directory and
499 # the files that it contains.
[4965fa8]500 #
501 # And don't forget to configure sudo properly.
502
503 choice
504 prompt "BLFS Release"
505 default BLFS_SVN
506 depends on BLFS_TOOL
507 config BLFS_SVN
508 bool "BLFS SVN"
509 help
510 #-- Current development version as in trunk
511
512 config BLFS_BRANCH
513 bool "BLFS Branch or stable book"
514 help
515 #-- A supported SVN branch or stable released book
516 endchoice
517
518 config BLFS_BRANCH_ID
519 string "BLFS Book Version (mandatory)"
520 default "**EDIT ME**"
521 depends on BLFS_BRANCH
522 help
523 #-- A list of valid branches and stable books ID's is available here.
524 # http://wiki.linuxfromscratch.org/alfs/wiki/SupportedBooks
525
526 menu "blfs-tool dependencies"
527 depends on BLFS_TOOL
528
529 config DEP_LIBXML
530 bool "libxml2 (required)"
531 default y
532
533 config DEP_LIBXSLT
534 bool "libxslt (required)"
535 default y
536
[045b2dc]537 config DEP_TIDY
538 bool "tidy (required)"
539 default y
540
541 config DEP_DBXML
542 bool "DocBook XML DTD (required)"
543 default y
544
545 config DEP_UNZIP
546 bool "UnZip (required to install DocBook XML DTD)"
547 default y
548 depends on DEP_DBXML
549
[4965fa8]550 config DEP_DBXSL
551 bool "DocBook XSL (required)"
552 default y
553
554 config DEP_LINKS
555 bool "links (required)"
556 default y
557
558 config DEP_SUDO
559 bool "sudo (recommended)"
560 default y
561
562 config DEP_WGET
563 bool "wget (recommended)"
564 default y
565
566 config DEP_SVN
567 bool "SVN client (optional)"
568 default y
569
570 config DEP_GPM
571 bool "GPM (optional, see help)"
572 default y
573 help
574 #-- You MUST to install manually the gpm bootscript
575 # and create its configuration file
576 endmenu
577 #--- End blfs-tool Support
578
[d3ce173]579 #--- BLFS specific params
580 config BLFS_ROOT
581 string "Directory root"
[4965fa8]582 default "$HOME/blfs_root" if BOOK_BLFS
583 default "/blfs_root" if BLFS_TOOL
584 depends on BOOK_BLFS || BLFS_TOOL
[d3ce173]585 help
586 #-- Full path to the directory where all required
587 # files and scripts will be stored.
588
589 config BLFS_XML
590 string "BLFS sources directory"
591 default "blfs-xml"
[4965fa8]592 depends on BOOK_BLFS || BLFS_TOOL
[d3ce173]593 help
[4965fa8]594 #-- The directory name under $BLFS_ROOT where BLFS book
595 # sources will be checkout.
[f4ed135]596
597 config TRACKING_DIR
598 string "Installed packages database directory"
599 default "/var/lib/jhalfs/BLFS"
[53f291f]600 depends on BOOK_BLFS || BLFS_TOOL || CUSTOM_TOOLS
[f4ed135]601 help
602 #-- Full path to the directory where the installed
603 # packages database will be created.
604 #
[53f291f]605 # If you are installing blfs-tool on a running xLFS system
606 # you MUST to create manually this directory.
607 #
608 # If you are installing blfs-tool as part of a xLFS build
609 # and/or using the customized scripts feature, you will
610 # need to fix that directory permissions after booting
611 # the new system.
[4965fa8]612 #
[f4ed135]613 # Note that the user that will build the packages must
614 # have read and write privileges on that directory.
[d3ce173]615 #--- End BLFS specific params
[53f291f]616
[a705708]617#--- End BOOK Settings
618endmenu
619
620menu "--- General Settings"
[d3ce173]621 depends on !BOOK_BLFS
[a705708]622
623 #--- Set User Account
624 config CONFIG_USER
[962793a]625 bool "Change the default user/group and homedir for this build"
[a705708]626 default n
627 help #-- Unprivileged user and group name
628 # If you do not have the priv to create/delete
629 # users and groups you can specifiy your own
630 # user id for the build
631 #
632 # default values for each book
[962793a]633 # LFS lfs
634 # CLFS* clfs
635 # HLFS hlfs
636 #
637 # Also, if your host place users home dirs into a
638 # directory other than /home you can specify it here.
[a705708]639
640 config DEF_USER
641 string
642 default "lfs" if BOOK_LFS
[2639f65]643 default "clfs" if BOOK_CLFS || BOOK_CLFS2 || BOOK_CLFS3
[a705708]644 default "hlfs" if BOOK_HLFS
645
646 config SET_USER
647 string "User account"
648 depends CONFIG_USER
649 default DEF_USER
650
651 config CONFIG_GROUP
652 bool "Set Group?"
653 default n
654 depends CONFIG_USER
655
656 config SET_GROUP
657 string "GROUP account"
658 depends CONFIG_GROUP
659 default DEF_USER
660
[962793a]661 config CONFIG_HOME
662 bool "Set home dir?"
663 default n
664 depends CONFIG_USER
665
666 config SET_HOME
667 string "Path to the directory where user home dir will be created"
668 depends CONFIG_HOME
669 default "/home"
670
[a705708]671 config LUSER
672 string
673 default DEF_USER if !CONFIG_USER
674 default SET_USER if CONFIG_USER
675
676 config LGROUP
677 string
678 default LUSER if !CONFIG_GROUP
679 default SET_GROUP if CONFIG_GROUP
[962793a]680
681 config LHOME
682 string
683 default "/home" if !CONFIG_HOME
684 default SET_HOME if CONFIG_HOME
[a705708]685 #--- End Set User Account
686
687 config BUILDDIR
688 string "Build Directory"
689 default "/mnt/build_dir"
690 help
691 #-- The directory where the created system will be located.
692
[401f81e]693 config GETPKG
[a705708]694 bool "Retrieve source files"
695 default n
696 help
697 #-- Download all packages and patches required by the book selected
698 # NOTE: Looks for files in the local archive defined by SRC_ARCHIVE
699 # first and if necessary retrieve them from the 'net.
700 # Files will be transfered to $BUILDDIR/sources.
701
702 config SRC_ARCHIVE
703 string "Package Archive Directory"
704 default "$SRC_ARCHIVE"
[401f81e]705 depends GETPKG
[a705708]706 help
707 #-- A local archive for packages/file (not $BUILDDIR/sources)
708 # Used only if GETPKG = 1
709 # Any missing file will be downloaded and archived here,
710 # if the user has the right priviledges.
711
[4da2512]712 config SERVER
713 string "FTP mirror"
714 default "ftp://ftp.lfs-matrix.net"
715 depends GETPKG
716 help
717 #-- FTP mirror to download packages and patches if not found
718 # in $SRC_ARCHIVE
719 # As a last resort, the files will dowloaded from upstream,
720 # if possible.
721
[401f81e]722 config GETKERNEL
[3d7b6621]723 bool "Always retrieve kernel package (see help)"
[7e45406]724 default y if BOOK_LFS || BOOK_HLFS
[401f81e]725 depends GETPKG
[a705708]726 help
[3d7b6621]727 #-- Get the kernel package and patches even if no kernel
728 # configuration file has been supplied.
729
730 # NOTE:
731 # The kernel package must be available when building
[7e45406]732 # the SVN version of LFS or HLFS to can install the
733 # headers files.
734 #
735 # If building LFS-6.2 this setting can be disabled.
[a705708]736
[401f81e]737 config RUNMAKE
[a705708]738 bool "Run the makefile"
739 default n
740 help
741 #-- Automatically run the makefile once it has been created
742
[401f81e]743 config CLEAN
[a705708]744 bool "Rebuild files"
745 default n
746 help
747 #-- Clean the build directory before performing any other task.
748 # The directory is cleaned only if it was populated by a
749 # previous JHALFS run.
750 #
751
752#--- End General Settings
753endmenu
754
755menu "--- Build Settings"
[d3ce173]756 depends on !BOOK_BLFS
[a705708]757
758 #--- Test Suites
759 config CONFIG_TESTS
760 bool "Run testsuites"
[0536270]761 depends !BOOK_CLFS2 && !BOOK_CLFS3
[401f81e]762 default y
[a705708]763 help
764 #-- Run test suites
765 #
766 # You will can to select between:
767 #
768 # - Only final system Glibc, GCC and Binutils testsuites
769 # - All final system testsuites
770 # - Both temporary tools and final system testsuites
771 #
772 # HLFS and CLFS has no testsuites available in the
773 # temporary tools phase
774
775 # You will be promt also about the "flavour" of the
776 # testsuites run:
777 #
778 # - Don't stop on test suite failures
779 # - Abort the build at the first test suite failure
780 #
781
782 choice
[8e3ccf7]783 prompt "Tests level"
[a705708]784 depends CONFIG_TESTS
785 default TEST_1
786
787 config TST_1
788 bool "Only final system Glibc, GCC and Binutils testsuites"
789
790 config TST_2
791 bool "All final system testsuites"
792
793 config TST_3
794 bool "Both temporary tools and final system testsuites" if !BOOK_HLFS && !BOOK_CLFS
795 endchoice
796
797 config TEST
798 int
799 default "0" if !CONFIG_TESTS
800 default "1" if TST_1
801 default "2" if TST_2
802 default "3" if TST_3
803
804 choice
[8e3ccf7]805 prompt "Flavour"
[a705708]806 depends CONFIG_TESTS
807
808 config NO_BOMB
809 bool "Don't stop on test suite failures"
810
811 config BOMB
812 bool "Abort the build at the first test suite failure"
813 endchoice
814
815 config BOMB_TEST
[401f81e]816 bool
[8e3ccf7]817 default n if NO_BOMB
818 default y if BOMB
[401f81e]819
[a705708]820 #--- End Test Suites
821
[93346ee]822 #--- Installed files logs
823 config INSTALL_LOG
824 bool "Create installed files logs"
825 default n
826 help
827 #-- Select this if you want to create logs of the files
828 # installed by each package on the final system.
829
830 #--- End Installed files logs
831
[a705708]832 #--- FSTAB
833 config HAVE_FSTAB
834 bool "Use a custom fstab file"
835 default n
836 help
837 #-- Select this if you have ready a proper fstab file
838
839 config FSTAB
840 string "Fstab file (optional)"
841 default "***EDIT ME***"
842 depends on HAVE_FSTAB
843 help
844 #-- The location of fstab file (if empty, a template is created)
845 #--- End FSTAB
846
847 #--- Kernel
848 config CONFIG_BUILD_KERNEL
849 bool "Build the kernel"
850 default n
851 help
852 #-- Select this option if you wish to build the kernel.
853 #
854 # You will be prompted for the full path to the .config
855 # file. It will be copied to the 'sources' directory and
856 # rename kernel-config
857
858 config CONFIG
859 string "Kernel config file"
860 default "***EDIT ME***"
861 depends on CONFIG_BUILD_KERNEL
862 help
863 #-- Fully qualified path to a kernel config file
864 # The config file will be copied to ${BUILD_DIR}/sources
865 # and renamed 'kernel-config'
866 #--- End Kernel
867
[401f81e]868 config STRIP
[a705708]869 bool "Strip Installed Binaries/Libraries"
870 default y
[b230bd6]871 depends on !BOOK_CLFS3
[a705708]872
[401f81e]873 config VIMLANG
[a705708]874 bool "Install vim-lang package"
875 default y
[1b9ceec]876 depends on !BOOK_HLFS && !BOOK_CLFS3
[a705708]877 help
[401f81e]878 #-- Install the optional vim-lang package
[a705708]879
880 config TIMEZONE
881 string "TimeZone"
882 default "GMT"
883 help
884 #-- The timezone as output by tzselect
885 # This will be copied to /etc/localtime
886
887 config LANG
888 string "Language"
889 default "$LANG"
890 help
891 #-- Language information in /etc/profile See <locale -a> for values
892
893 #--- Groff page
894 choice
895 prompt "Groff page size"
896 default PAGE_LETTER
897 help
898 #-- Page definition for groff: letter or A4
899
900 config PAGE_LETTER
901 bool "letter"
902
903 config PAGE_A4
904 bool "A4"
905 endchoice
906
907 config PAGE
908 string
909 default "letter" if PAGE_LETTER
910 default "A4" if PAGE_A4
911 #--- End Groff page
912
913#--- End Build Settings
914endmenu
915
916menu "--- Advanced Features"
[d3ce173]917 depends on !BOOK_BLFS
[a705708]918
[401f81e]919 config REPORT
[a705708]920 bool "Create SBU and disk usage report"
921 default y
922
923 #--- ICA/farce
[401f81e]924 config COMPARE
[a705708]925 bool "Run comparison analysis on final stage"
[0536270]926 depends !BOOK_CLFS2 && !BOOK_CLFS3
[a705708]927 default n
928 help
929 #-- Should some iterative comparison analysis by made?
930 #
931 # Unless you are familiar with ICA and/or FARCE do not
932 # select this option
933 #
934 # ICA and FARCE are analysis tools for comparing one
935 # build to the next. Builds mays differ from one iteration
936 # to another due to the build order and these tools try
937 # to ferret out those differences by examining the stored
938 # build logs and binary files.
939 #
940 # The scripts are well commented and can be found in ./extras/*
941 #
942
943 config ITERATIONS
[401f81e]944 int "Number of test runs (2,3,4,5)" if COMPARE
945 depends on COMPARE
[a705708]946 range 2 5
947 default 3
948
[401f81e]949 config RUN_ICA
[a705708]950 bool "ICA testing"
[401f81e]951 depends on COMPARE
[a705708]952 default y
953 help
954 #-- Run ICA testing
955
[401f81e]956 config RUN_FARCE
[a705708]957 bool "farce testing"
[401f81e]958 depends on COMPARE
[a705708]959 default n
960 help
961 #-- Run farce testing
962 #--- End ICA/farce
963
[4da2512]964 #--- Optimizations
[0536270]965if !BOOK_CLFS2 && !BOOK_CLFS3
[a705708]966 config CONFIG_OPTIMIZE
[4da2512]967 bool "Use optimization (see help)"
[a705708]968 default n
969 help
970 #-- Actual optimzation flags MUST be defined in ./optimize/*
971 # files before activate this option.
972 #
973 # WARNING: The use of build optimizations may be dangerous.
974 # You should know what you are doing and be sure that the
975 # optimization settings listed below are what you want.
976 # It there are build issues or the system doesn't work as
977 # expected, please rebuild without optimizations before
978 # asking for support.
979
980 choice
981 prompt "Optimization level "
982 default OPT_1
983 depends CONFIG_OPTIMIZE
984 help
985 #-- Optimization values are set in optimize/* files
986
987 config OPT_1
988 bool "Final system only"
989
990 config OPT_2
991 bool "Both temp tools and final system"
992 endchoice
993
994 config OPTIMIZE
995 int
996 default "0" if !CONFIG_OPTIMIZE
997 default "1" if OPT_1
998 default "2" if OPT_2
[045b2dc]999endif
[a705708]1000 #--- End Optimizations
1001
[4da2512]1002 #-- Internal Settings
1003 menu "--- Internal Settings (WARNING: for jhalfs developers only)"
1004
1005 config SCRIPT_ROOT
1006 string "Scripts root"
1007 default "jhalfs"
1008
1009 config JHALFSDIR
1010 string "jhalfs directory"
1011 default "$BUILDDIR/$SCRIPT_ROOT"
1012
[93346ee]1013 config LOGDIRBASE
1014 string "Build logs directory basename"
1015 default "logs"
1016
[4da2512]1017 config LOGDIR
1018 string "Build logs directory"
[93346ee]1019 default "$JHALFSDIR/$LOGDIRBASE"
1020
1021 config TESTLOGDIRBASE
1022 string "Test suites logs directory basename"
1023 default "test-logs"
[4da2512]1024
1025 config TESTLOGDIR
1026 string "Test suites logs directory"
[93346ee]1027 default "$JHALFSDIR/$TESTLOGDIRBASE"
1028
1029 config FILELOGDIRBASE
1030 string "Installed files logs directory basename"
1031 default "installed-files"
1032
1033 config FILELOGDIR
1034 string "Installed files logs directory"
1035 default "$JHALFSDIR/$FILELOGDIRBASE"
[4da2512]1036
1037 config ICALOGDIR
1038 string "ICA logs directory"
1039 default "$LOGDIR/ICA"
1040
1041 config FARCELOGDIR
1042 string "farce logs directory"
1043 default "$LOGDIR/farce"
1044
1045 config MKFILE
1046 string "Makefile"
1047 default "$JHALFSDIR/Makefile"
1048
1049 config XSL
1050 string "XSL stylesheet"
1051 default "$PROGNAME.xsl"
1052
1053 config PKG_LST
1054 string "Package contents list"
1055 default "unpacked"
1056
1057 #--- End Internal Settings
1058 endmenu
1059
[a705708]1060#--- End Advanced Features
1061endmenu
[7b6ecc5]1062
[a16f769]1063config REBUILD_MAKEFILE
[7b6ecc5]1064 bool "Rebuild the Makefile (see help)"
1065 default n
1066 depends on !BOOK_BLFS
1067 help
1068 #-- Rebuild the Makefile
1069 #
1070 # This option alow to rebuild the Makefile after
1071 # customizing the base system build scripts.
1072 #
1073 # See README.CUSTOM for more info about this feature.
1074
Note: See TracBrowser for help on using the repository browser.