source: Config.in@ d33f161

ablfs
Last change on this file since d33f161 was de947d2, checked in by Pierre Labastie <pierre@…>, 13 years ago

Allows to build Python and openssl before libxml2 and subversion respectively
in BLFS tools, avoiding later recompilation

  • Property mode set to 100644
File size: 28.2 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 depends on !BOOK_CLFS3
507 help
508 #--- Activating this option will install additional
509 # packages needed to use blfs-tool when booting
510 # the new system.
511 #
512 # The blfs-tool files will be installed under
513 # $BUILD_DIR/blfs_root.
514
515 # After booting the new xLFS system, but before using
516 # blfs-tool, you should create a user account and
517 # move the /blfs-root directory to the user's home,
518 # making them the directory and files owner.
519 #
520 # Also, be sure to give the user read and write
521 # privileges on the $TRACKING_DIR directory and
522 # the files that it contains.
523 #
524 # Don't forget to configure sudo properly.
525
526 choice
527 prompt "BLFS Release"
528 default BLFS_SVN
529 depends on BLFS_TOOL
530 config BLFS_SVN
531 bool "BLFS SVN"
532 help
533 #-- Current development version as in trunk
534
535 config BLFS_BRANCH
536 bool "BLFS Branch or stable book"
537 help
538 #-- A supported SVN branch or stable book release
539 endchoice
540
541 config BLFS_BRANCH_ID
542 string "BLFS Book Version (mandatory)"
543 default "**EDIT ME**"
544 depends on BLFS_BRANCH
545 help
546 #-- A list of valid branches and stable book IDs is available here.
547 # http://wiki.linuxfromscratch.org/alfs/wiki/SupportedBooks
548
549 menu "blfs-tool dependencies"
550 depends on BLFS_TOOL
551
552 config DEP_LIBXML
553 bool "libxml2 (required)"
554 default y
555
556 config DEP_LIBXSLT
557 bool "libxslt (required)"
558 default y
559
560 config DEP_TIDY
561 bool "tidy (required)"
562 default y
563
564 config DEP_DBXML
565 bool "DocBook XML DTD (required)"
566 default y
567
568 #config DEP_DBXSL
569 #bool "DocBook XSL (required)"
570 #default y
571
572 config DEP_LYNX
573 bool "lynx (optional, for reading the generated book)"
574 default y
575
576 config DEP_SUDO
577 bool "sudo (recommended)"
578 default y
579
580 config DEP_WGET
581 bool "wget (recommended)"
582 default y
583
584 config DEP_GPM
585 bool "GPM (optional, see help)"
586 default n
587 help
588 #-- if you install gpm, it will be started
589 # automatically on boot. You'll have to edit
590 # /etc/sysconfig/mouse for your system
591
592 config DEP_SVN
593 bool "SVN client (optional, see help)"
594 default n
595 help
596 #-- Subversion is needed for updating the book
597 # sources. If you want ssl support, select
598 # OPENSSL below.
599
600 config DEP_OPENSSL
601 bool "OPENSSL (optional, see help)"
602 default n
603 help
604 #-- selecting OPENSSL here allows to build
605 # subversion with ssl support, avoiding a later
606 # recompilation
607
608 config DEP_PYTHON
609 bool "PYTHON 2 (optional, see help)"
610 default n
611 help
612 #-- selecting PYTHON 2 here allows to build
613 # the libxml2 and libxslt python modules,
614 # avoiding a later recompilation
615
616 endmenu
617 #--- End blfs-tool Support
618
619 #--- BLFS specific params
620 config BLFS_ROOT
621 string "Directory root"
622# default "$HOME/blfs_root" if BOOK_BLFS
623 default "/blfs_root" if BLFS_TOOL
624# depends on BOOK_BLFS || BLFS_TOOL
625 depends on BLFS_TOOL
626 help
627 #-- Full path to the directory where all required
628 # files and scripts will be stored.
629
630 config BLFS_XML
631 string "BLFS sources directory"
632 default "blfs-xml"
633# depends on BOOK_BLFS || BLFS_TOOL
634 depends BLFS_TOOL
635 help
636 #-- The directory name under $BLFS_ROOT where the BLFS
637 # book sources will be checkout.
638
639 config TRACKING_DIR
640 string "Installed packages database directory"
641 default "/var/lib/jhalfs/BLFS"
642# depends on BOOK_BLFS || BLFS_TOOL || CUSTOM_TOOLS
643 depends on BLFS_TOOL || CUSTOM_TOOLS
644 help
645 #-- Full path to the directory where the database of
646 # installed packages will be created.
647 #
648 # If you are installing blfs-tool on a running xLFS system
649 # you MUST create this directory manually.
650 #
651 # If you are installing blfs-tool as part of an xLFS build
652 # and/or using the customized scripts feature, you will
653 # need to fix this directory's permissions after booting
654 # the new system.
655 #
656 # Note that the user that will build the packages must
657 # have read and write privileges on this directory.
658 #--- End BLFS specific params
659
660#--- End BOOK Settings
661endmenu
662
663menu "--- General Settings"
664# depends on !BOOK_BLFS
665
666 #--- Set User Account
667 config CONFIG_USER
668 bool "Change the default user/group and homedir for this build"
669 default n
670 help #-- Unprivileged user and group name
671 # If you do not have the privilege to create/delete
672 # users and groups you can specify your own
673 # user ID for the build
674 #
675 # default values for each book
676 # LFS lfs
677 # CLFS* clfs
678 # HLFS hlfs
679 #
680 # Also, if your host places users' home dirs into a
681 # directory other than /home you can specify it here.
682
683 config DEF_USER
684 string
685 default "lfs" if BOOK_LFS
686 default "clfs" if BOOK_CLFS || BOOK_CLFS2 || BOOK_CLFS3
687 default "hlfs" if BOOK_HLFS
688
689 config SET_USER
690 string "User account"
691 depends CONFIG_USER
692 default DEF_USER
693
694 config CONFIG_GROUP
695 bool "Set Group?"
696 default n
697 depends CONFIG_USER
698
699 config SET_GROUP
700 string "GROUP account"
701 depends CONFIG_GROUP
702 default DEF_USER
703
704 config CONFIG_HOME
705 bool "Set home dir?"
706 default n
707 depends CONFIG_USER
708
709 config SET_HOME
710 string "Path to the directory under which the user's home directory will be created"
711 depends CONFIG_HOME
712 default "/home"
713
714 config LUSER
715 string
716 default DEF_USER if !CONFIG_USER
717 default SET_USER if CONFIG_USER
718
719 config LGROUP
720 string
721 default LUSER if !CONFIG_GROUP
722 default SET_GROUP if CONFIG_GROUP
723
724 config LHOME
725 string
726 default "/home" if !CONFIG_HOME
727 default SET_HOME if CONFIG_HOME
728 #--- End Set User Account
729
730 config BUILDDIR
731 string "Build Directory"
732 default "/mnt/build_dir"
733 help
734 #-- The directory where the created system will be located.
735 # NOTE: A working directory named jhalfs will be created
736 # here, so ensure this does not conflict with the jhalfs
737 # source directory.
738
739 config GETPKG
740 bool "Retrieve source files"
741 default n
742 help
743 #-- Download all packages and patches required by the selected book
744 # NOTE: Looks for files in the local archive defined by SRC_ARCHIVE
745 # first and if necessary retrieves them from the 'net.
746 # Files will be transferred to $BUILDDIR/sources.
747
748 config SRC_ARCHIVE
749 string "Package Archive Directory"
750 default "$SRC_ARCHIVE"
751 depends GETPKG
752 help
753 #-- A local archive for packages/files (not $BUILDDIR/sources)
754 # Any missing file will be downloaded and archived here,
755 # if the user has the right privileges.
756
757 config RETRYSRCDOWNLOAD
758 bool "Retry on 'connection refused' failure"
759 default n
760 depends GETPKG
761 help
762 #-- Attempt to download a source package again if it fails
763 # with a 'connection refused' error. This can happen on
764 # servers that are overloaded.
765
766 config RETRYDOWNLOADCNT
767 int "Number of retry attempts on download failures"
768 default 20
769 depends GETPKG
770 help
771 #-- Number of times to retry a failed download.
772
773 config DOWNLOADTIMEOUT
774 int "Download timeout (in seconds)"
775 default 30
776 depends GETPKG
777 help
778 #-- Number of seconds to wait for a download to start before
779 # timing out.
780
781 config SERVER
782 string "FTP mirror"
783 default "ftp://ftp.lfs-matrix.net"
784 depends GETPKG
785 help
786 #-- FTP mirror to download packages and patches if not found
787 # in $SRC_ARCHIVE
788 # As a last resort, the files will downloaded from upstream,
789 # if possible.
790
791 config RUNMAKE
792 bool "Run the makefile"
793 default n
794 help
795 #-- Automatically run the makefile once it has been created
796
797 config CLEAN
798 bool "Rebuild files"
799 default n
800 help
801 #-- Clean the build directory before performing any other task.
802 # The directory is cleaned only if it was populated by a
803 # previous JHALFS run.
804 #
805
806#--- End General Settings
807endmenu
808
809menu "--- Build Settings"
810# depends on !BOOK_BLFS
811
812 #--- Test Suites
813 config CONFIG_TESTS
814 bool "Run testsuites"
815 depends !BOOK_CLFS2 && !BOOK_CLFS3
816 default y
817 help
818 #-- Run test suites
819 #
820 # You will have to select between:
821 #
822 # - Only final system Glibc, GCC and Binutils testsuites
823 # - All final system testsuites
824 # - Both temporary tools and final system testsuites
825 #
826 # HLFS and CLFS have no testsuites available in the
827 # temporary tools phase
828
829 # You will be prompted also about the "flavour" of the
830 # testsuites run:
831 #
832 # - Don't stop on test suite failures
833 # - Abort the build at the first test suite failure
834 #
835
836 choice
837 prompt "Tests level"
838 depends CONFIG_TESTS
839 default TST_1
840
841 config TST_1
842 bool "Only final system Glibc, GMP, MPFR, GCC and Binutils testsuites"
843
844 config TST_2
845 bool "All final system testsuites"
846
847 config TST_3
848 bool "Both temporary tools and final system testsuites" if !BOOK_HLFS && !BOOK_CLFS
849 endchoice
850
851 config TEST
852 int
853 default "0" if !CONFIG_TESTS
854 default "1" if TST_1
855 default "2" if TST_2
856 default "3" if TST_3
857
858 choice
859 prompt "Flavour"
860 depends CONFIG_TESTS
861
862 config NO_BOMB
863 bool "Don't stop on testsuite failures"
864
865 config BOMB
866 bool "Abort the build on the first testsuite failure"
867 endchoice
868
869 config BOMB_TEST
870 bool
871 default n if NO_BOMB
872 default y if BOMB
873
874 #--- End Test Suites
875
876 #--- Package Management
877 config PKGMNGT
878 bool "Package management"
879 depends BOOK_LFS
880 default n
881 help
882 #-- Use package management
883 #
884 # If set, the packages in the final phase are built
885 # in a separate directory, PKG_DEST.
886 # You should provide a bash function for packing
887 # and installing the package.
888 # Also, you have to provide the instructions
889 # to build the package manager during the
890 # temporary tools phase, in the form of a
891 # sect1 of the book identical to a package
892 # sect1. See README.PACKAGE_MANAGEMENT
893 #
894 # For now, this only works with LFS
895
896 #--- End package management
897
898 #--- Installed files logs
899 config INSTALL_LOG
900 bool "Create a log of installed files for each package"
901 default n
902 help
903 #-- Select this if you want to create logs of the files
904 # installed by each package on the final system.
905
906 #--- End Installed files logs
907
908 #--- FSTAB
909 config HAVE_FSTAB
910 bool "Use a custom fstab file"
911 default n
912 help
913 #-- Select this if you have an fstab file with entries
914 # for the target system
915
916 config FSTAB
917 string "Fstab file (optional)"
918 default "***EDIT ME***"
919 depends on HAVE_FSTAB
920 help
921 #-- The location of fstab file (if empty, a template is created)
922 #--- End FSTAB
923
924 #--- Kernel
925 config CONFIG_BUILD_KERNEL
926 bool "Build the kernel"
927 default n
928 help
929 #-- Select this option if you wish to build the kernel.
930 #
931 # You will be prompted for the full path to the .config
932 # file. It will be copied to the 'sources' directory and
933 # renamed kernel-config
934
935 config CONFIG
936 string "Kernel config file"
937 default "***EDIT ME***"
938 depends on CONFIG_BUILD_KERNEL
939 help
940 #-- Fully qualified path to a kernel config file
941 # The config file will be copied to ${BUILD_DIR}/sources
942 # and renamed 'kernel-config'
943 #--- End Kernel
944
945 config STRIP
946 bool "Strip Installed Binaries/Libraries"
947 default y
948 depends on !BOOK_CLFS3
949
950 config VIMLANG
951 bool "Install vim-lang package"
952 default n
953 depends on !BOOK_HLFS && !BOOK_CLFS3
954 help
955 #-- Install the optional vim-lang package
956 # NOTE: This option is obsolete with the 7.3 release of Vim
957 # which is included in all recent releases of LFS.
958
959 config NO_PROGRESS_BAR
960 bool "DO NOT use/display progress_bar "
961 default n
962 help
963 #-- Do not use the progress bar routine. On slower machines
964 # this function consumes precious CPU cycles.
965
966 config TIMEZONE
967 string "TimeZone"
968 default "GMT"
969 help
970 #-- The timezone as output by tzselect
971 # This will be copied to /etc/localtime
972
973 config LANG
974 string "Language"
975 default "$LANG"
976 help
977 #-- LANG variable set in /etc/profile
978 # See http://sourceware.org/git/?p=glibc.git;a=blob;f=localedata/SUPPORTED
979 # for values (or the file localedata/SUPPORTED in glibc tarball)
980
981 config FULL_LOCALE
982 bool "Install the full set of locales"
983 default n
984 help
985 #-- If set to y, the full set of supported locales
986 # will be installed. Otherwise, only the minimal set
987 # necessary for the tests will be installed,
988 # together with the locale associated with the
989 # LANG you have chosen, if not in the minimal set.
990
991 #--- Groff page
992 choice
993 prompt "Groff page size"
994 default PAGE_LETTER
995 help
996 #-- Page definition for groff: letter or A4
997
998 config PAGE_LETTER
999 bool "letter"
1000
1001 config PAGE_A4
1002 bool "A4"
1003 endchoice
1004
1005 config PAGE
1006 string
1007 default "letter" if PAGE_LETTER
1008 default "A4" if PAGE_A4
1009 #--- End Groff page
1010
1011#--- End Build Settings
1012endmenu
1013
1014menu "--- Advanced Features"
1015# depends on !BOOK_BLFS
1016
1017 config REPORT
1018 bool "Create SBU and disk usage report"
1019 default y
1020
1021 #--- ICA/farce
1022 config COMPARE
1023 bool "Run comparison analysis on final stage"
1024 depends !BOOK_CLFS2 && !BOOK_CLFS3
1025 default n
1026 help
1027 #-- Should an iterative comparison analysis be performed?
1028 #
1029 # Unless you are familiar with ICA and/or FARCE do not
1030 # select this option
1031 #
1032 # ICA and FARCE are analysis tools for comparing one
1033 # build to the next. Builds mays differ from one iteration
1034 # to another due to the build order and these tools try
1035 # to ferret out those differences by examining the stored
1036 # build logs and binary files.
1037 #
1038 # The scripts are well commented and can be found in ./extras/*
1039 #
1040
1041 config ITERATIONS
1042 int "Number of test runs (2,3,4,5)" if COMPARE
1043 depends on COMPARE
1044 range 2 5
1045 default 3
1046
1047 config RUN_ICA
1048 bool "ICA testing"
1049 depends on COMPARE
1050 default y
1051 help
1052 #-- Run ICA testing
1053
1054 config RUN_FARCE
1055 bool "farce testing"
1056 depends on COMPARE
1057 default n
1058 help
1059 #-- Run farce testing
1060 #--- End ICA/farce
1061
1062 #--- Optimizations
1063if !BOOK_CLFS2 && !BOOK_CLFS3
1064 config CONFIG_OPTIMIZE
1065 bool "Use optimization (see help)"
1066 default n
1067 help
1068 #-- Actual optimization flags MUST be defined in ./optimize/*
1069 # files before activating this option.
1070 #
1071 # WARNING: The use of build optimizations may be dangerous.
1072 # You should know what you are doing and be sure that the
1073 # optimization settings listed below are what you want.
1074 # It there are build issues or the system doesn't work as
1075 # expected, please rebuild without optimizations before
1076 # asking for support.
1077
1078 choice
1079 prompt "Optimization level "
1080 default OPT_1
1081 depends CONFIG_OPTIMIZE
1082 help
1083 #-- Optimization values are set in optimize/* files
1084
1085 config OPT_1
1086 bool "Final system only"
1087
1088 config OPT_2
1089 bool "Both temp tools and final system"
1090 endchoice
1091
1092 config OPTIMIZE
1093 int
1094 default "0" if !CONFIG_OPTIMIZE
1095 default "1" if OPT_1
1096 default "2" if OPT_2
1097endif
1098 #--- End Optimizations
1099
1100 #-- Internal Settings
1101 menu "--- Internal Settings (WARNING: for jhalfs developers only)"
1102
1103 config SCRIPT_ROOT
1104 string "Scripts root"
1105 default "jhalfs"
1106
1107 config JHALFSDIR
1108 string "jhalfs directory"
1109 default "$BUILDDIR/$SCRIPT_ROOT"
1110
1111 config LOGDIRBASE
1112 string "Build logs directory basename"
1113 default "logs"
1114
1115 config LOGDIR
1116 string "Build logs directory"
1117 default "$JHALFSDIR/$LOGDIRBASE"
1118
1119 config TESTLOGDIRBASE
1120 string "Test suites logs directory basename"
1121 default "test-logs"
1122
1123 config TESTLOGDIR
1124 string "Test suites logs directory"
1125 default "$JHALFSDIR/$TESTLOGDIRBASE"
1126
1127 config FILELOGDIRBASE
1128 string "Installed files logs directory basename"
1129 default "installed-files"
1130
1131 config FILELOGDIR
1132 string "Installed files logs directory"
1133 default "$JHALFSDIR/$FILELOGDIRBASE"
1134
1135 config ICALOGDIR
1136 string "ICA logs directory"
1137 default "$LOGDIR/ICA"
1138
1139 config FARCELOGDIR
1140 string "farce logs directory"
1141 default "$LOGDIR/farce"
1142
1143 config MKFILE
1144 string "Makefile"
1145 default "$JHALFSDIR/Makefile"
1146
1147 config XSL
1148 string "XSL stylesheet"
1149 default "$PROGNAME.xsl"
1150
1151 config PKG_LST
1152 string "Package contents list"
1153 default "unpacked"
1154
1155 #--- End Internal Settings
1156 endmenu
1157
1158#--- End Advanced Features
1159endmenu
1160
1161config REBUILD_MAKEFILE
1162 bool "Rebuild the Makefile (see help)"
1163 default n
1164# depends on !BOOK_BLFS
1165 help
1166 #-- Rebuild the Makefile
1167 #
1168 # This option allows to rebuild the Makefile after
1169 # customizing the base system build scripts.
1170 #
1171 # See README.CUSTOM for more info about this feature.
1172
Note: See TracBrowser for help on using the repository browser.