source: Config.in@ c93f2b0

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

CLFS: Fixed Sparc64 build flags issues.

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