source: Config.in@ f1da335

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

Typo

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