source: Config.in@ 34d1b6a

2.4 ablfs-more legacy new_features trunk
Last change on this file since 34d1b6a was ce262a7, checked in by Pierre Labastie <pierre@…>, 11 years ago

Add optimization (MAKEFLAGS only) for the cross tools part of CLFS

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