source: Config.in@ d08afa5

ablfs
Last change on this file since d08afa5 was 4fa38dd, checked in by Matthew Burgess <matthew@…>, 13 years ago

Spelling and grammar fixes.

  • Property mode set to 100644
File size: 27.9 KB
Line 
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
17 bool "Cross-Compiled Linux From Scratch (Sysroot method)"
18
19 config BOOK_CLFS3
20 bool "Cross-Compiled Linux From Scratch (Embedded Systems)"
21
22# config BOOK_HLFS
23# bool "Hardened Linux From Scratch"
24
25 config BOOK_BLFS
26 bool "Beyond Linux From Scratch"
27 endchoice
28
29 config PROGNAME
30 string
31 default "lfs" if BOOK_LFS
32 default "clfs" if BOOK_CLFS
33 default "clfs2" if BOOK_CLFS2
34 default "clfs3" if BOOK_CLFS3
35 default "hlfs" if BOOK_HLFS
36 default "blfs" if BOOK_BLFS
37
38 config RUN_ME
39 string
40 default "./jhalfs run" if !BOOK_BLFS
41 default "./blfs-tool" if BOOK_BLFS
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"
55 depends on !BOOK_BLFS
56 help
57 #-- A local working copy
58
59 config BRANCH
60 bool "Branch or stable book" if !BOOK_CLFS2 && !BOOK_CLFS3
61 help
62 #-- A supported SVN branch or stable released book
63 endchoice
64
65 config BRANCH_ID
66 string "Book Version (mandatory)"
67 default "**EDIT ME**"
68 depends BRANCH
69 help
70 #-- A list of valid branches and stable book IDs 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
86 depends BOOK_CLFS || BOOK_CLFS2 || BOOK_CLFS3
87 help
88 #-- Choose the target system base architecture
89
90 config ARCH_X86
91 bool "x86"
92
93 config ARCH_MIPS
94 bool "mips" if !BOOK_CLFS2
95
96 config ARCH_PPC
97 bool "ppc" if BOOK_CLFS
98
99 config ARCH_SPARC
100 bool "sparc" if BOOK_CLFS
101
102 config ARCH_ALPHA
103 bool "alpha" if !BOOK_CLFS3
104
105 config ARCH_ARM
106 bool "arm" if !BOOK_CLFS
107
108 config ARCH_HPPA
109 bool "hppa" if BOOK_CLFS2
110 endchoice
111
112 choice
113 prompt "Hardware Platform"
114 depends BOOK_CLFS3 && ARCH_MIPS
115 default PLATFORM_GENERIC
116 help
117 # Choose a destination platform
118 # Platform specific files will be included
119
120 config PLATFORM_GENERIC
121 bool "Generic platform"
122
123 config PLATFORM_WRT
124 bool "WRT - MIPS based wireless router" if ARCH_MIPS
125 endchoice
126
127 choice
128 prompt "Library"
129 depends (BOOK_CLFS && !ARCH_ALPHA) || (BOOK_CLFS3 && ARCH_MIPS)
130 default DATA_32
131 help
132 #-- Choose the target system libraries type
133
134 config DATA_32
135 bool "32-bit"
136
137 config DATA_64
138 bool "64-bit" if !ARCH_PPC
139
140 config DATA_MULTI
141 bool "multilib" if !(BOOK_CLFS3 && ARCH_MIPS )
142 endchoice
143
144 choice
145 prompt "Processor type"
146 depends (BOOK_CLFS || BOOK_CLFS2 || BOOK_CLFS3) && ((ARCH_X86 && !(DATA_64 || DATA_MULTI)) || ARCH_MIPS || ARCH_HPPA || ARCH_ALPHA || (ARCH_SPARC && (DATA_64 || DATA_MULTI)) || (ARCH_ARM && BOOK_CLFS3))
147 help
148 #-- Choose the target system processor
149
150 config PROC_i486
151 bool "486 Compatibles" if ARCH_X86
152
153 config PROC_i586
154 bool "Pentium, K6, 586 Compatibles" if ARCH_X86
155
156 config PROC_i686
157 bool "Pentium II, Pentium III, Pentium 4, Athlon, Duron" if ARCH_X86
158
159 config PROC_mipsel
160 bool "MIPS Little Endian" if ARCH_MIPS
161
162 config PROC_mips
163 bool "MIPS Big Endian" if ARCH_MIPS
164
165 config PROC_unknown
166 bool "Unknown" if ARCH_HPPA || ARCH_ALPHA
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
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
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
203
204 config PROC_ULTRA1
205 bool "UtraSparc" if ARCH_SPARC && (DATA_64 || DATA_MULTI)
206
207 config PROC_ULTRA2
208 bool "UtraSparc2" if ARCH_SPARC && (DATA_64 || DATA_MULTI)
209
210 config PROC_ULTRA3
211 bool "UtraSparc3" if ARCH_SPARC && (DATA_64 || DATA_MULTI)
212 endchoice
213
214 choice
215 prompt "MIPS 64 ABI"
216 depends BOOK_CLFS3 && ARCH_MIPS && DATA_64
217 default ABI_64
218 help
219 #-- Choose the target system ABI to use
220
221 config ABI_32
222 bool "o32"
223
224 config ABI_N32
225 bool "n32"
226
227 config ABI_64
228 bool "n64"
229 endchoice
230
231 config TARGET
232 string
233 default "i486-pc-linux-gnu" if !BOOK_CLFS3 && PROC_i486
234 default "i586-pc-linux-gnu" if !BOOK_CLFS3 && PROC_i586
235 default "i686-pc-linux-gnu" if !BOOK_CLFS3 && PROC_i686
236
237 default "i486-pc-linux-uclibc" if BOOK_CLFS3 && PROC_i486
238 default "i586-pc-linux-uclibc" if BOOK_CLFS3 && PROC_i586
239 default "i686-pc-linux-uclibc" if BOOK_CLFS3 && PROC_i686
240
241 default "x86_64-unknown-linux-gnu" if ARCH_X86 && (DATA_64 || DATA_MULTI)
242
243 default "mipsel-unknown-linux-gnu" if !BOOK_CLFS3 && PROC_mipsel && DATA_32
244 default "mips-unknown-linux-gnu" if !BOOK_CLFS3 && PROC_mips && DATA_32
245 default "mips64el-unknown-linux-gnu" if !BOOK_CLFS3 && PROC_mipsel && (DATA_64 || DATA_MULTI)
246 default "mips64-unknown-linux-gnu" if !BOOK_CLFS3 && PROC_mips && (DATA_64 || DATA_MULTI)
247
248 default "mipsel-unknown-linux-uclibc" if BOOK_CLFS3 && PROC_mipsel && DATA_32
249 default "mips-unknown-linux-uclibc" if BOOK_CLFS3 && PROC_mips && DATA_32
250 default "mips64el-unknown-linux-uclibc" if BOOK_CLFS3 && PROC_mipsel && DATA_64
251 default "mips64-unknown-linux-uclibc" if BOOK_CLFS3 && PROC_mips && DATA_64
252
253 default "powerpc-unknown-linux-gnu" if ARCH_PPC && DATA_32
254 default "powerpc64-unknown-linux-gnu" if ARCH_PPC && DATA_MULTI
255
256 default "sparc-unknown-linux-gnu" if ARCH_SPARC && DATA_32
257 default "sparc64-unknown-linux-gnu" if ARCH_SPARC && (DATA_64 || DATA_MULTI)
258
259 default "hppa-unknown-linux-gnu" if PROC_unknown && ARCH_HPPA
260 default "hppa1.1-unknown-linux-gnu" if PROC_hppa1
261 default "hppa2.0-unknown-linux-gnu" if PROC_hppa2
262
263 default "arm-unknown-linux-gnueabi" if ARCH_ARM && BOOK_CLFS2
264
265 default "arm-unknown-linux-uclibc" if PROC_ARM
266 default "armv5l-unknown-linux-uclibc" if PROC_ARM5L
267 default "armv5b-unknown-linux-uclibc" if PROC_ARM5B
268
269 default "alpha-unknown-linux-gnu" if PROC_unknown && ARCH_ALPHA
270 default "alphaev5-unknown-linux-gnu" if PROC_EV5
271 default "alphaev56-unknown-linux-gnu" if PROC_EV56
272 default "alphapca56-unknown-linux-gnu" if PROC_PCA56
273 default "alphapca57-unknown-linux-gnu" if PROC_PCA57
274 default "alphaev6-unknown-linux-gnu" if PROC_EV6
275 default "alphaev67-unknown-linux-gnu" if PROC_EV67
276 default "alphaev68-unknown-linux-gnu" if PROC_EV68
277
278 config TARGET32
279 string
280 depends DATA_MULTI
281 default "i686-pc-linux-gnu" if ARCH_X86
282 default "mipsel-unknown-linux-gnu" if PROC_mipsel
283 default "mips-unknown-linux-gnu" if PROC_mips
284 default "sparc-unknown-linux-gnu" if ARCH_SPARC
285 default "powerpc-unknown-linux-gnu" if ARCH_PPC
286
287 config PLATFORM
288 string
289 default "GENERIC" if (!BOOK_CLFS3) || PLATFORM_GENERIC
290 default "WRT - Wireless Router" if PLATFORM_WRT
291
292 config SPARC64_PROC
293 string
294 default "none" if !(ARCH_SPARC && (DATA_64 || DATA_MULTI))
295 default "1" if PROC_ULTRA1
296 default "2" if PROC_ULTRA2
297 default "3" if PROC_ULTRA3
298
299 config ARCH
300 string
301 default "x86" if ARCH_X86 && (DATA_32 || BOOK_CLFS2 || BOOK_CLFS3)
302 default "x86_64" if ARCH_X86 && DATA_MULTI
303 default "x86_64-64" if ARCH_X86 && DATA_64
304
305 default "wrt" if PLATFORM_WRT && BOOK_CLFS3
306
307 default "mips" if ARCH_MIPS && (DATA_32 || BOOK_CLFS3)
308 default "mips64" if ARCH_MIPS && DATA_MULTI
309 default "mips64-64" if ARCH_MIPS && DATA_64 && BOOK_CLFS
310
311
312 default "ppc" if ARCH_PPC && DATA_32
313 default "ppc64" if ARCH_PPC && DATA_MULTI
314
315 default "sparc" if ARCH_SPARC && DATA_32
316 default "sparc64" if ARCH_SPARC && DATA_MULTI
317 default "sparc64-64" if ARCH_SPARC && DATA_64
318
319 default "alpha" if ARCH_ALPHA
320 default "arm" if ARCH_ARM
321 default "hppa" if ARCH_HPPA
322
323 config MIPS_LEVEL
324 string
325 depends BOOK_CLFS3 && ARCH_MIPS
326 default "1" if DATA_32
327 default "3" if DATA_64
328
329 config ABI
330 string
331 depends BOOK_CLFS3
332 default "-m32" if ARCH_X86 || ARCH_ARM
333# default "-m64" if NO USED YET IN THE BOOK
334 default "-mabi=32" if ABI_32 || (ARCH_MIPS && DATA_32)
335 default "-mabi=n32" if ABI_N32
336 default "-mabi=64" if ABI_64
337
338 config ENDIAN
339 string
340 depends BOOK_CLFS3 && (ARCH_MIPS || ARCH_ARM)
341 default "little" if PROC_mipsel || PROC_ARM || PROC_ARM5L
342 default "big" if PROC_mips || PROC_ARM5B
343
344 choice
345 prompt "Build method"
346 depends BOOK_CLFS
347 help
348 #-- What build method should be used: a chroot jail or minimal boot system
349 # Review the Cross-LFS book chap6 "TO BOOT OR CHROOT" for a full explanation.
350
351 config BUILD_CHROOT
352 bool "chroot"
353
354 config BUILD_BOOT
355 bool "boot"
356 endchoice
357
358 config METHOD
359 string
360 default "chroot" if BUILD_CHROOT
361 default "boot" if BUILD_BOOT
362
363 config BOOT_CONFIG
364 string "BOOT kernel config file (mandatory)"
365 default "***EDIT ME***"
366 depends on BUILD_BOOT
367 help
368 #-- If METHOD=boot, location of boot-kernel config file
369 # The config file will be copied to ${BUILD_DIR}/sources
370 # and renamed 'bootkernel-config'
371 #
372 # NOTE: this setting is required
373 #--- End CLFS specific params
374
375 #--- HLFS specific params
376 config GRSECURITY_HOST
377 bool "Building on grsecurity enabled host?"
378 default n
379 depends on BOOK_HLFS
380 help
381 #-- If your build system has grsecurity patches applied
382 # you MUST enable this switch.
383
384 choice
385 prompt "Library"
386 depends on BOOK_HLFS
387 help
388 #-- Which library model to use: uClibc/glibc
389
390 config LIB_GLIBC
391 bool "glibc"
392
393 config LIB_UCLIBC
394 bool "uClibc"
395 endchoice
396
397 config MODEL
398 depends on BOOK_HLFS
399 string
400 default "glibc" if LIB_GLIBC
401 default "uclibc" if LIB_UCLIBC
402
403 choice
404 prompt "Kernel series"
405 depends on BOOK_HLFS
406 help
407 #-- Which kernel series to use: 2.6/2.4
408
409 config KERNEL_26
410 bool "2.6 kernel series"
411
412 config KERNEL_24
413 bool "2.4 kernel series"
414 endchoice
415
416 config KERNEL
417 depends on BOOK_HLFS
418 string
419 default "2.6" if KERNEL_26
420 default "2.4" if KERNEL_24
421
422# menu "HLFS Additional Features"
423# depends on BOOK_HLFS
424#
425# config SET_SSP
426# bool "Stack-smashing protector"
427# default y
428#
429# config SET_ASLR
430# bool "Address-space layout randomization"
431# default y
432#
433# config SET_PAX
434# bool "PaX-aware ELF executables and kernel"
435# default y
436#
437# config SET_HARDENED_TMP
438# bool "Hardened temporary files creation"
439# default y
440#
441# config SET_WARNINGS
442# bool "Additional warnings"
443# default y
444#
445# config SET_MISC
446# bool "Miscellaneous features"
447# default y
448#
449# config SET_BLOWFISH
450# bool "Blowfish passwords"
451# default y
452# endmenu
453
454 config SSP
455# depends on SET_SSP
456 string
457 default ",ssp,"
458
459 config ASLR
460# depends on SET_ASLR
461 string
462 default ",aslr,"
463
464 config PAX
465# depends on SET_PAX
466 string
467 default ",pax,"
468
469 config HARDENED_TMP
470# depends on SET_HARDENED_TMP
471 string
472 default ",hardened_tmp,"
473
474 config WARNINGS
475# depends on SET_WARNINGS
476 string
477 default ",warnings,"
478
479 config MISC
480# depends on SET_MISC
481 string
482 default ",misc,"
483
484 config BLOWFISH
485# depends on SET_BLOWFISH
486 string
487 default ",blowfish,"
488 #--- End HLFS specific params
489
490 #--- Custom Tools support
491 config CUSTOM_TOOLS
492 bool "Add custom tools support"
493 default n
494 depends on !BOOK_BLFS
495 help
496 #--- Activating this option additional packages you create
497 # will be installed after finished the xLFS system build.
498 #
499 #--- End Custom Tools support
500
501 #--- blfs-tool Support
502 config BLFS_TOOL
503 bool "Add blfs-tool support"
504 default n
505 depends on !BOOK_BLFS && !BOOK_CLFS3
506 help
507 #--- Activating this option will install additional
508 # packages needed to use blfs-tool when booting
509 # the new system.
510 #
511 # The blfs-tool files will be installed under
512 # $BUILD_DIR/blfs_root.
513
514 # After booting the new xLFS system, but before using
515 # blfs-tool, you should create a user account and
516 # move the /blfs-root directory to the user's home,
517 # making them the directory and files owner.
518 #
519 # Also, be sure to give the user read and write
520 # privileges on the $TRACKING_DIR directory and
521 # the files that it contains.
522 #
523 # Don't forget to configure sudo properly.
524
525 choice
526 prompt "BLFS Release"
527 default BLFS_SVN
528 depends on BLFS_TOOL
529 config BLFS_SVN
530 bool "BLFS SVN"
531 help
532 #-- Current development version as in trunk
533
534 config BLFS_BRANCH
535 bool "BLFS Branch or stable book"
536 help
537 #-- A supported SVN branch or stable book release
538 endchoice
539
540 config BLFS_BRANCH_ID
541 string "BLFS Book Version (mandatory)"
542 default "**EDIT ME**"
543 depends on BLFS_BRANCH
544 help
545 #-- A list of valid branches and stable book IDs is available here.
546 # http://wiki.linuxfromscratch.org/alfs/wiki/SupportedBooks
547
548 menu "blfs-tool dependencies"
549 depends on BLFS_TOOL
550
551 config DEP_LIBXML
552 bool "libxml2 (required)"
553 default y
554
555 config DEP_LIBXSLT
556 bool "libxslt (required)"
557 default y
558
559 config DEP_TIDY
560 bool "tidy (required)"
561 default y
562
563 config DEP_DBXML
564 bool "DocBook XML DTD (required)"
565 default y
566
567 config DEP_UNZIP
568 bool "UnZip (required to install DocBook XML DTD)"
569 default y
570 depends on DEP_DBXML
571
572 #config DEP_DBXSL
573 #bool "DocBook XSL (required)"
574 #default y
575
576 config DEP_LYNX
577 bool "lynx (required)"
578 default y
579
580 config DEP_SUDO
581 bool "sudo (recommended)"
582 default y
583
584 config DEP_WGET
585 bool "wget (recommended)"
586 default y
587
588 config DEP_GPM
589 bool "GPM (optional, see help)"
590 default y
591 help
592 #-- You MUST install the gpm bootscript manually
593 # and create its configuration file.
594 #
595 # An alternative is to unselect this option and
596 # install gpm, its configuration file, and its
597 # bootscript using the custom tools support.
598
599 config DEP_SVN
600 bool "SVN client (optional, see help)"
601 default n
602 help
603 #-- Subversion-1.3.1 will be installed. This version is
604 # old but does not rely on additional packages to be
605 # built.
606 #
607 # If you are happy with this old version and don't
608 # need extra features, select this option.
609 endmenu
610 #--- End blfs-tool Support
611
612 #--- BLFS specific params
613 config BLFS_ROOT
614 string "Directory root"
615 default "$HOME/blfs_root" if BOOK_BLFS
616 default "/blfs_root" if BLFS_TOOL
617 depends on BOOK_BLFS || BLFS_TOOL
618 help
619 #-- Full path to the directory where all required
620 # files and scripts will be stored.
621
622 config BLFS_XML
623 string "BLFS sources directory"
624 default "blfs-xml"
625 depends on BOOK_BLFS || BLFS_TOOL
626 help
627 #-- The directory name under $BLFS_ROOT where the BLFS
628 # book sources will be checkout.
629
630 config TRACKING_DIR
631 string "Installed packages database directory"
632 default "/var/lib/jhalfs/BLFS"
633 depends on BOOK_BLFS || BLFS_TOOL || CUSTOM_TOOLS
634 help
635 #-- Full path to the directory where the database of
636 # installed packages will be created.
637 #
638 # If you are installing blfs-tool on a running xLFS system
639 # you MUST create this directory manually.
640 #
641 # If you are installing blfs-tool as part of an xLFS build
642 # and/or using the customized scripts feature, you will
643 # need to fix this directory's permissions after booting
644 # the new system.
645 #
646 # Note that the user that will build the packages must
647 # have read and write privileges on this directory.
648 #--- End BLFS specific params
649
650#--- End BOOK Settings
651endmenu
652
653menu "--- General Settings"
654 depends on !BOOK_BLFS
655
656 #--- Set User Account
657 config CONFIG_USER
658 bool "Change the default user/group and homedir for this build"
659 default n
660 help #-- Unprivileged user and group name
661 # If you do not have the privilege to create/delete
662 # users and groups you can specify your own
663 # user ID for the build
664 #
665 # default values for each book
666 # LFS lfs
667 # CLFS* clfs
668 # HLFS hlfs
669 #
670 # Also, if your host places users' home dirs into a
671 # directory other than /home you can specify it here.
672
673 config DEF_USER
674 string
675 default "lfs" if BOOK_LFS
676 default "clfs" if BOOK_CLFS || BOOK_CLFS2 || BOOK_CLFS3
677 default "hlfs" if BOOK_HLFS
678
679 config SET_USER
680 string "User account"
681 depends CONFIG_USER
682 default DEF_USER
683
684 config CONFIG_GROUP
685 bool "Set Group?"
686 default n
687 depends CONFIG_USER
688
689 config SET_GROUP
690 string "GROUP account"
691 depends CONFIG_GROUP
692 default DEF_USER
693
694 config CONFIG_HOME
695 bool "Set home dir?"
696 default n
697 depends CONFIG_USER
698
699 config SET_HOME
700 string "Path to the directory under which the user's home directory will be created"
701 depends CONFIG_HOME
702 default "/home"
703
704 config LUSER
705 string
706 default DEF_USER if !CONFIG_USER
707 default SET_USER if CONFIG_USER
708
709 config LGROUP
710 string
711 default LUSER if !CONFIG_GROUP
712 default SET_GROUP if CONFIG_GROUP
713
714 config LHOME
715 string
716 default "/home" if !CONFIG_HOME
717 default SET_HOME if CONFIG_HOME
718 #--- End Set User Account
719
720 config BUILDDIR
721 string "Build Directory"
722 default "/mnt/build_dir"
723 help
724 #-- The directory where the created system will be located.
725 # NOTE: A working directory named jhalfs will be created
726 # here, so ensure this does not conflict with the jhalfs
727 # source directory.
728
729 config GETPKG
730 bool "Retrieve source files"
731 default n
732 help
733 #-- Download all packages and patches required by the selected book
734 # NOTE: Looks for files in the local archive defined by SRC_ARCHIVE
735 # first and if necessary retrieves them from the 'net.
736 # Files will be transferred to $BUILDDIR/sources.
737
738 config SRC_ARCHIVE
739 string "Package Archive Directory"
740 default "$SRC_ARCHIVE"
741 depends GETPKG
742 help
743 #-- A local archive for packages/files (not $BUILDDIR/sources)
744 # Any missing file will be downloaded and archived here,
745 # if the user has the right privileges.
746
747 config RETRYSRCDOWNLOAD
748 bool "Retry on 'connection refused' failure"
749 default n
750 depends GETPKG
751 help
752 #-- Attempt to download a source package again if it fails
753 # with a 'connection refused' error. This can happen on
754 # servers that are overloaded.
755
756 config RETRYDOWNLOADCNT
757 int "Number of retry attempts on download failures"
758 default 20
759 depends GETPKG
760 help
761 #-- Number of times to retry a failed download.
762
763 config DOWNLOADTIMEOUT
764 int "Download timeout (in seconds)"
765 default 30
766 depends GETPKG
767 help
768 #-- Number of seconds to wait for a download to start before
769 # timing out.
770
771 config SERVER
772 string "FTP mirror"
773 default "ftp://ftp.lfs-matrix.net"
774 depends GETPKG
775 help
776 #-- FTP mirror to download packages and patches if not found
777 # in $SRC_ARCHIVE
778 # As a last resort, the files will downloaded from upstream,
779 # if possible.
780
781 config RUNMAKE
782 bool "Run the makefile"
783 default n
784 help
785 #-- Automatically run the makefile once it has been created
786
787 config CLEAN
788 bool "Rebuild files"
789 default n
790 help
791 #-- Clean the build directory before performing any other task.
792 # The directory is cleaned only if it was populated by a
793 # previous JHALFS run.
794 #
795
796#--- End General Settings
797endmenu
798
799menu "--- Build Settings"
800 depends on !BOOK_BLFS
801
802 #--- Test Suites
803 config CONFIG_TESTS
804 bool "Run testsuites"
805 depends !BOOK_CLFS2 && !BOOK_CLFS3
806 default y
807 help
808 #-- Run test suites
809 #
810 # You will have to select between:
811 #
812 # - Only final system Glibc, GCC and Binutils testsuites
813 # - All final system testsuites
814 # - Both temporary tools and final system testsuites
815 #
816 # HLFS and CLFS have no testsuites available in the
817 # temporary tools phase
818
819 # You will be prompted also about the "flavour" of the
820 # testsuites run:
821 #
822 # - Don't stop on test suite failures
823 # - Abort the build at the first test suite failure
824 #
825
826 choice
827 prompt "Tests level"
828 depends CONFIG_TESTS
829 default TST_1
830
831 config TST_1
832 bool "Only final system Glibc, GMP, MPFR, GCC and Binutils testsuites"
833
834 config TST_2
835 bool "All final system testsuites"
836
837 config TST_3
838 bool "Both temporary tools and final system testsuites" if !BOOK_HLFS && !BOOK_CLFS
839 endchoice
840
841 config TEST
842 int
843 default "0" if !CONFIG_TESTS
844 default "1" if TST_1
845 default "2" if TST_2
846 default "3" if TST_3
847
848 choice
849 prompt "Flavour"
850 depends CONFIG_TESTS
851
852 config NO_BOMB
853 bool "Don't stop on testsuite failures"
854
855 config BOMB
856 bool "Abort the build on the first testsuite failure"
857 endchoice
858
859 config BOMB_TEST
860 bool
861 default n if NO_BOMB
862 default y if BOMB
863
864 #--- End Test Suites
865
866 #--- Package Management
867 config PKGMNGT
868 bool "Package management"
869 depends BOOK_LFS
870 default n
871 help
872 #-- Use package management
873 #
874 # If set, the packages in the final phase are built
875 # in a separate directory, PKG_DEST.
876 # You should provide a bash function for packing
877 # and installing the package.
878 # Also, you have to provide the instructions
879 # to build the package manager during the
880 # temporary tools phase, in the form of a
881 # sect1 of the book identical to a package
882 # sect1. See README.PACKAGE_MANAGEMENT
883 #
884 # For now, this only works with LFS
885
886 #--- End package management
887
888 #--- Installed files logs
889 config INSTALL_LOG
890 bool "Create a log of installed files for each package"
891 default n
892 help
893 #-- Select this if you want to create logs of the files
894 # installed by each package on the final system.
895
896 #--- End Installed files logs
897
898 #--- FSTAB
899 config HAVE_FSTAB
900 bool "Use a custom fstab file"
901 default n
902 help
903 #-- Select this if you have an fstab file with entries
904 # for the target system
905
906 config FSTAB
907 string "Fstab file (optional)"
908 default "***EDIT ME***"
909 depends on HAVE_FSTAB
910 help
911 #-- The location of fstab file (if empty, a template is created)
912 #--- End FSTAB
913
914 #--- Kernel
915 config CONFIG_BUILD_KERNEL
916 bool "Build the kernel"
917 default n
918 help
919 #-- Select this option if you wish to build the kernel.
920 #
921 # You will be prompted for the full path to the .config
922 # file. It will be copied to the 'sources' directory and
923 # renamed kernel-config
924
925 config CONFIG
926 string "Kernel config file"
927 default "***EDIT ME***"
928 depends on CONFIG_BUILD_KERNEL
929 help
930 #-- Fully qualified path to a kernel config file
931 # The config file will be copied to ${BUILD_DIR}/sources
932 # and renamed 'kernel-config'
933 #--- End Kernel
934
935 config STRIP
936 bool "Strip Installed Binaries/Libraries"
937 default y
938 depends on !BOOK_CLFS3
939
940 config VIMLANG
941 bool "Install vim-lang package"
942 default n
943 depends on !BOOK_HLFS && !BOOK_CLFS3
944 help
945 #-- Install the optional vim-lang package
946 # NOTE: This option is obsolete with the 7.3 release of Vim
947 # which is included in all recent releases of LFS.
948
949 config NO_PROGRESS_BAR
950 bool "DO NOT use/display progress_bar "
951 default n
952 help
953 #-- Do not use the progress bar routine. On slower machines
954 # this function consumes precious CPU cycles.
955
956 config TIMEZONE
957 string "TimeZone"
958 default "GMT"
959 help
960 #-- The timezone as output by tzselect
961 # This will be copied to /etc/localtime
962
963 config LANG
964 string "Language"
965 default "$LANG"
966 help
967 #-- LANG variable set in /etc/profile
968 # See http://sourceware.org/git/?p=glibc.git;a=blob;f=localedata/SUPPORTED
969 # for values (or the file localedata/SUPPORTED in glibc tarball)
970
971 config FULL_LOCALE
972 bool "Install the full set of locales"
973 default n
974 help
975 #-- If set to y, the full set of supported locales
976 # will be installed. Otherwise, only the minimal set
977 # necessary for the tests will be installed,
978 # together with the locale associated with the
979 # LANG you have chosen, if not in the minimal set.
980
981 #--- Groff page
982 choice
983 prompt "Groff page size"
984 default PAGE_LETTER
985 help
986 #-- Page definition for groff: letter or A4
987
988 config PAGE_LETTER
989 bool "letter"
990
991 config PAGE_A4
992 bool "A4"
993 endchoice
994
995 config PAGE
996 string
997 default "letter" if PAGE_LETTER
998 default "A4" if PAGE_A4
999 #--- End Groff page
1000
1001#--- End Build Settings
1002endmenu
1003
1004menu "--- Advanced Features"
1005 depends on !BOOK_BLFS
1006
1007 config REPORT
1008 bool "Create SBU and disk usage report"
1009 default y
1010
1011 #--- ICA/farce
1012 config COMPARE
1013 bool "Run comparison analysis on final stage"
1014 depends !BOOK_CLFS2 && !BOOK_CLFS3
1015 default n
1016 help
1017 #-- Should an iterative comparison analysis be performed?
1018 #
1019 # Unless you are familiar with ICA and/or FARCE do not
1020 # select this option
1021 #
1022 # ICA and FARCE are analysis tools for comparing one
1023 # build to the next. Builds mays differ from one iteration
1024 # to another due to the build order and these tools try
1025 # to ferret out those differences by examining the stored
1026 # build logs and binary files.
1027 #
1028 # The scripts are well commented and can be found in ./extras/*
1029 #
1030
1031 config ITERATIONS
1032 int "Number of test runs (2,3,4,5)" if COMPARE
1033 depends on COMPARE
1034 range 2 5
1035 default 3
1036
1037 config RUN_ICA
1038 bool "ICA testing"
1039 depends on COMPARE
1040 default y
1041 help
1042 #-- Run ICA testing
1043
1044 config RUN_FARCE
1045 bool "farce testing"
1046 depends on COMPARE
1047 default n
1048 help
1049 #-- Run farce testing
1050 #--- End ICA/farce
1051
1052 #--- Optimizations
1053if !BOOK_CLFS2 && !BOOK_CLFS3
1054 config CONFIG_OPTIMIZE
1055 bool "Use optimization (see help)"
1056 default n
1057 help
1058 #-- Actual optimization flags MUST be defined in ./optimize/*
1059 # files before activating this option.
1060 #
1061 # WARNING: The use of build optimizations may be dangerous.
1062 # You should know what you are doing and be sure that the
1063 # optimization settings listed below are what you want.
1064 # It there are build issues or the system doesn't work as
1065 # expected, please rebuild without optimizations before
1066 # asking for support.
1067
1068 choice
1069 prompt "Optimization level "
1070 default OPT_1
1071 depends CONFIG_OPTIMIZE
1072 help
1073 #-- Optimization values are set in optimize/* files
1074
1075 config OPT_1
1076 bool "Final system only"
1077
1078 config OPT_2
1079 bool "Both temp tools and final system"
1080 endchoice
1081
1082 config OPTIMIZE
1083 int
1084 default "0" if !CONFIG_OPTIMIZE
1085 default "1" if OPT_1
1086 default "2" if OPT_2
1087endif
1088 #--- End Optimizations
1089
1090 #-- Internal Settings
1091 menu "--- Internal Settings (WARNING: for jhalfs developers only)"
1092
1093 config SCRIPT_ROOT
1094 string "Scripts root"
1095 default "jhalfs"
1096
1097 config JHALFSDIR
1098 string "jhalfs directory"
1099 default "$BUILDDIR/$SCRIPT_ROOT"
1100
1101 config LOGDIRBASE
1102 string "Build logs directory basename"
1103 default "logs"
1104
1105 config LOGDIR
1106 string "Build logs directory"
1107 default "$JHALFSDIR/$LOGDIRBASE"
1108
1109 config TESTLOGDIRBASE
1110 string "Test suites logs directory basename"
1111 default "test-logs"
1112
1113 config TESTLOGDIR
1114 string "Test suites logs directory"
1115 default "$JHALFSDIR/$TESTLOGDIRBASE"
1116
1117 config FILELOGDIRBASE
1118 string "Installed files logs directory basename"
1119 default "installed-files"
1120
1121 config FILELOGDIR
1122 string "Installed files logs directory"
1123 default "$JHALFSDIR/$FILELOGDIRBASE"
1124
1125 config ICALOGDIR
1126 string "ICA logs directory"
1127 default "$LOGDIR/ICA"
1128
1129 config FARCELOGDIR
1130 string "farce logs directory"
1131 default "$LOGDIR/farce"
1132
1133 config MKFILE
1134 string "Makefile"
1135 default "$JHALFSDIR/Makefile"
1136
1137 config XSL
1138 string "XSL stylesheet"
1139 default "$PROGNAME.xsl"
1140
1141 config PKG_LST
1142 string "Package contents list"
1143 default "unpacked"
1144
1145 #--- End Internal Settings
1146 endmenu
1147
1148#--- End Advanced Features
1149endmenu
1150
1151config REBUILD_MAKEFILE
1152 bool "Rebuild the Makefile (see help)"
1153 default n
1154 depends on !BOOK_BLFS
1155 help
1156 #-- Rebuild the Makefile
1157 #
1158 # This option allows to rebuild the Makefile after
1159 # customizing the base system build scripts.
1160 #
1161 # See README.CUSTOM for more info about this feature.
1162
Note: See TracBrowser for help on using the repository browser.