source: Config.in@ f39be81

experimental
Last change on this file since f39be81 was 2020b1b, checked in by Manuel Canales Esparcia <manuel@…>, 18 years ago

Started addition of DocBook XML DTD, Tidy and UnZip to BLFS_TOOL dependencies.

  • Property mode set to 100644
File size: 18.0 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 (Version 2)"
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_HLFS && !BOOK_CLFS2
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
87 help
88 #-- Choose a 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_CLFS2
98
99 config ARCH_SPARC
100 bool "sparc" if !BOOK_CLFS2
101
102 config ARCH_ALPHA
103 bool "alpha" if !BOOK_CLFS2
104
105 config ARCH_ARM
106 bool "arm" if !BOOK_CLFS
107 endchoice
108
109 choice
110 prompt "Library"
111 depends (BOOK_CLFS || BOOK_CLFS2)
112 default DATA_32 if !ARCH_ALPHA
113 default DATA_64 if ARCH_ALPHA
114
115 config DATA_32
116 bool "32-bit" if !ARCH_ALPHA
117
118 config DATA_64
119 bool "64-bit" if !ARCH_PPC && !ARCH_ARM && !(BOOK_CLFS2 && ARCH_X86)
120
121 config DATA_MULTI
122 bool "multilib" if !ARCH_ALPHA && !ARCH_ARM && !(BOOK_CLFS2 && ARCH_X86)
123 endchoice
124
125 choice
126 prompt "Target"
127 depends (BOOK_CLFS || BOOK_CLFS2) && ((ARCH_X86 && DATA_32) || ARCH_MIPS)
128
129 config PROC_i486
130 bool "i486" if ARCH_X86 && DATA_32
131
132 config PROC_i586
133 bool "i586" if ARCH_X86 && DATA_32
134
135 config PROC_i686
136 bool "i686" if ARCH_X86 && DATA_32
137
138 config PROC_mipsel
139 bool "mips -little endian" if ARCH_MIPS
140
141 config PROC_mips
142 bool "mips" if ARCH_MIPS
143 endchoice
144
145 config TARGET
146 string
147 depends DATA_32
148 default "i486-pc-linux-gnu" if ARCH_X86 && PROC_i486
149 default "i586-pc-linux-gnu" if ARCH_X86 && PROC_i586
150 default "i686-pc-linux-gnu" if ARCH_X86 && PROC_i686
151 default "mipsel-unknown-linux-gnu" if ARCH_MIPS && PROC_mipsel
152 default "mips-unknown-linux-gnu" if ARCH_MIPS && PROC_mips
153 default "powerpc-unknown-linux-gnu" if ARCH_PPC
154 default "sparc-unknown-linux-gnu" if ARCH_SPARC
155 default "arm-unknown-linux-gnu" if ARCH_ARM
156
157 config TARGET
158 string
159 depends DATA_64
160 default "x86_64-unknown-linux-gnu" if ARCH_X86
161 default "mips64el-unknown-linux-gnu" if ARCH_MIPS && PROC_mipsel
162 default "mips64-unknown-linux-gnu" if ARCH_MIPS && PROC_mips
163 default "sparc64-unknown-linux-gnu" if ARCH_SPARC
164 default "alpha-unknown-linux-gnu" if ARCH_ALPHA
165
166 config TARGET
167 string
168 depends DATA_MULTI
169 default "x86_64-unknown-linux-gnu" if ARCH_X86
170 default "mips64el-unknown-linux-gnu" if ARCH_MIPS && PROC_mipsel
171 default "mips64-unknown-linux-gnu" if ARCH_MIPS && PROC_mips
172 default "sparc64-unknown-linux-gnu" if ARCH_SPARC
173 default "powerpc64-unknown-linux-gnu" if ARCH_PPC
174
175
176 config TARGET32
177 string
178 depends DATA_MULTI
179 default "i686-pc-linux-gnu" if ARCH_X86
180 default "mipsel-unknown-linux-gnu" if ARCH_MIPS && PROC_mipsel
181 default "mips-unknown-linux-gnu" if ARCH_MIPS && PROC_mips
182 default "sparc-unknown-linux-gnu" if ARCH_SPARC
183 default "powerpc-unknown-linux-gnu" if ARCH_PPC
184
185 config ARCH
186 string
187 depends DATA_32
188 default "x86" if ARCH_X86
189 default "ppc" if ARCH_PPC
190 default "mips" if ARCH_MIPS
191 default "sparc" if ARCH_SPARC
192 default "arm" if ARCH_ARM
193
194 config ARCH
195 string
196 depends DATA_64
197 default "x86_64-64" if ARCH_X86
198 default "mips64-64" if ARCH_MIPS
199 default "sparc64-64" if ARCH_SPARC
200 default "alpha" if ARCH_ALPHA
201
202 config ARCH
203 string
204 depends DATA_MULTI
205 default "x86_64" if ARCH_X86
206 default "mips64" if ARCH_MIPS
207 default "sparc64" if ARCH_SPARC
208 default "ppc64" if ARCH_PPC
209
210 choice
211 prompt "Build method"
212 depends BOOK_CLFS
213 help
214 #-- What build method should be used: a chroot jail or minimal boot system
215 # Review the Cross-LFS book chap6 "TO BOOT OR CHROOT" for a full explanation.
216
217 config BUILD_CHROOT
218 bool "chroot"
219
220 config BUILD_BOOT
221 bool "boot"
222 endchoice
223
224 config METHOD
225 string
226 default "chroot" if BUILD_CHROOT
227 default "boot" if BUILD_BOOT
228
229 config BOOT_CONFIG
230 string "BOOT kernel config file (mandatory)"
231 default "***EDIT ME***"
232 depends on BUILD_BOOT
233 help
234 #-- If METHOD=boot, location of boot-kernel config file
235 # The config file will be copied to ${BUILD_DIR}/sources
236 # and renamed 'bootkernel-config'
237 #
238 # NOTE: this setting is required
239 #--- End CLFS specific params
240
241 #--- HLFS specific params
242 config GRSECURITY_HOST
243 bool "Building on grsecurity enabled host?"
244 default n
245 depends on BOOK_HLFS
246 help
247 #-- If your build system has grsecurity patches applied
248 # you MUST enable this switch.
249
250 choice
251 prompt "Library"
252 depends on BOOK_HLFS
253 help
254 #-- Which library model to use: uClibc/glibc
255
256 config LIB_GLIBC
257 bool "glibc"
258
259 config LIB_UCLIBC
260 bool "uClibc"
261 endchoice
262
263 config MODEL
264 depends on BOOK_HLFS
265 string
266 default "glibc" if LIB_GLIBC
267 default "uclibc" if LIB_UCLIBC
268 #--- End HLFS specific params
269
270 #--- blfs-tool Support
271 config BLFS_TOOL
272 bool "Add blfs-tool support"
273 default n
274 depends on !BOOK_BLFS
275 help
276 #--- Activating this option additional packages needed to
277 # use blfs-tool will be installed.
278 #
279 # The blfs-tool files will be installed under
280 # $BUILD_DIR/blfs_root.
281
282 # After booting the new xLFS system you should to
283 # create an user account and move the blfs-root
284 # directory to the user's home, making he the
285 # directory and files owner, before start
286 # using blfs-tool.
287 #
288 # Also, be sure to create the $TRACKING_DIR directory
289 # and bring to the build user the right privileges
290 # over it.
291 #
292 # And don't forget to configure sudo properly.
293
294 choice
295 prompt "BLFS Release"
296 default BLFS_SVN
297 depends on BLFS_TOOL
298 config BLFS_SVN
299 bool "BLFS SVN"
300 help
301 #-- Current development version as in trunk
302
303 config BLFS_BRANCH
304 bool "BLFS Branch or stable book"
305 help
306 #-- A supported SVN branch or stable released book
307 endchoice
308
309 config BLFS_BRANCH_ID
310 string "BLFS Book Version (mandatory)"
311 default "**EDIT ME**"
312 depends on BLFS_BRANCH
313 help
314 #-- A list of valid branches and stable books ID's is available here.
315 # http://wiki.linuxfromscratch.org/alfs/wiki/SupportedBooks
316
317 menu "blfs-tool dependencies"
318 depends on BLFS_TOOL
319
320 config DEP_LIBXML
321 bool "libxml2 (required)"
322 default y
323
324 config DEP_LIBXSLT
325 bool "libxslt (required)"
326 default y
327
328 config DEP_TIDY
329 bool "tidy (required)"
330 default y
331
332 config DEP_DBXML
333 bool "DocBook XML DTD (required)"
334 default y
335
336 config DEP_UNZIP
337 bool "UnZip (required to install DocBook XML DTD)"
338 default y
339 depends on DEP_DBXML
340
341 config DEP_DBXSL
342 bool "DocBook XSL (required)"
343 default y
344
345 config DEP_LINKS
346 bool "links (required)"
347 default y
348
349 config DEP_SUDO
350 bool "sudo (recommended)"
351 default y
352
353 config DEP_WGET
354 bool "wget (recommended)"
355 default y
356
357 config DEP_SVN
358 bool "SVN client (optional)"
359 default y
360
361 config DEP_GPM
362 bool "GPM (optional, see help)"
363 default y
364 help
365 #-- You MUST to install manually the gpm bootscript
366 # and create its configuration file
367 endmenu
368 #--- End blfs-tool Support
369
370 #--- BLFS specific params
371 config BLFS_ROOT
372 string "Directory root"
373 default "$HOME/blfs_root" if BOOK_BLFS
374 default "/blfs_root" if BLFS_TOOL
375 depends on BOOK_BLFS || BLFS_TOOL
376 help
377 #-- Full path to the directory where all required
378 # files and scripts will be stored.
379
380 config BLFS_XML
381 string "BLFS sources directory"
382 default "blfs-xml"
383 depends on BOOK_BLFS || BLFS_TOOL
384 help
385 #-- The directory name under $BLFS_ROOT where BLFS book
386 # sources will be checkout.
387
388 config TRACKING_DIR
389 string "Installed packages database directory"
390 default "/var/lib/jhalfs/BLFS"
391 depends on BOOK_BLFS || BLFS_TOOL
392 help
393 #-- Full path to the directory where the installed
394 # packages database will be created.
395 #
396 # You MUST to create manually this directory.
397 #
398 # Note that the user that will build the packages must
399 # have read and write privileges on that directory.
400 #--- End BLFS specific params
401
402#--- End BOOK Settings
403endmenu
404
405menu "--- General Settings"
406 depends on !BOOK_BLFS
407
408 #--- Set User Account
409 config CONFIG_USER
410 bool "Change the default user/group for this build"
411 default n
412 help #-- Unprivileged user and group name
413 # If you do not have the priv to create/delete
414 # users and groups you can specifiy your own
415 # user id for the build
416 #
417 # default values for each book
418 # LFS lfs
419 # CLFS clfs
420 # CLFS2 clfs
421 # HLFS hlfs
422
423 config DEF_USER
424 string
425 default "lfs" if BOOK_LFS
426 default "clfs" if BOOK_CLFS || BOOK_CLFS2
427 default "hlfs" if BOOK_HLFS
428
429 config SET_USER
430 string "User account"
431 depends CONFIG_USER
432 default DEF_USER
433
434
435 config CONFIG_GROUP
436 bool "Set Group?"
437 default n
438 depends CONFIG_USER
439
440 config SET_GROUP
441 string "GROUP account"
442 depends CONFIG_GROUP
443 default DEF_USER
444
445 config LUSER
446 string
447 default DEF_USER if !CONFIG_USER
448 default SET_USER if CONFIG_USER
449
450 config LGROUP
451 string
452 default LUSER if !CONFIG_GROUP
453 default SET_GROUP if CONFIG_GROUP
454 #--- End Set User Account
455
456 config BUILDDIR
457 string "Build Directory"
458 default "/mnt/build_dir"
459 help
460 #-- The directory where the created system will be located.
461
462 config GETPKG
463 bool "Retrieve source files"
464 default n
465 help
466 #-- Download all packages and patches required by the book selected
467 # NOTE: Looks for files in the local archive defined by SRC_ARCHIVE
468 # first and if necessary retrieve them from the 'net.
469 # Files will be transfered to $BUILDDIR/sources.
470
471 config SRC_ARCHIVE
472 string "Package Archive Directory"
473 default "$SRC_ARCHIVE"
474 depends GETPKG
475 help
476 #-- A local archive for packages/file (not $BUILDDIR/sources)
477 # Used only if GETPKG = 1
478 # Any missing file will be downloaded and archived here,
479 # if the user has the right priviledges.
480
481 config SERVER
482 string "FTP mirror"
483 default "ftp://ftp.lfs-matrix.net"
484 depends GETPKG
485 help
486 #-- FTP mirror to download packages and patches if not found
487 # in $SRC_ARCHIVE
488 # As a last resort, the files will dowloaded from upstream,
489 # if possible.
490
491 config GETKERNEL
492 bool "Always retrieve kernel package"
493 default n
494 depends GETPKG
495 help
496 #-- Get the kernel package and patches even if no configuration
497 # file has been supplied.
498
499 config RUNMAKE
500 bool "Run the makefile"
501 default n
502 help
503 #-- Automatically run the makefile once it has been created
504
505 config CLEAN
506 bool "Rebuild files"
507 default n
508 help
509 #-- Clean the build directory before performing any other task.
510 # The directory is cleaned only if it was populated by a
511 # previous JHALFS run.
512 #
513 # NOTE::You must be 'root' for this function to work
514
515#--- End General Settings
516endmenu
517
518menu "--- Build Settings"
519 depends on !BOOK_BLFS
520
521 #--- Test Suites
522 config CONFIG_TESTS
523 bool "Run testsuites"
524 depends !BOOK_CLFS2
525 default y
526 help
527 #-- Run test suites
528 #
529 # You will can to select between:
530 #
531 # - Only final system Glibc, GCC and Binutils testsuites
532 # - All final system testsuites
533 # - Both temporary tools and final system testsuites
534 #
535 # HLFS and CLFS has no testsuites available in the
536 # temporary tools phase
537
538 # You will be promt also about the "flavour" of the
539 # testsuites run:
540 #
541 # - Don't stop on test suite failures
542 # - Abort the build at the first test suite failure
543 #
544
545 choice
546 prompt "Tests level"
547 depends CONFIG_TESTS
548 default TEST_1
549
550 config TST_1
551 bool "Only final system Glibc, GCC and Binutils testsuites"
552
553 config TST_2
554 bool "All final system testsuites"
555
556 config TST_3
557 bool "Both temporary tools and final system testsuites" if !BOOK_HLFS && !BOOK_CLFS
558 endchoice
559
560 config TEST
561 int
562 default "0" if !CONFIG_TESTS
563 default "1" if TST_1
564 default "2" if TST_2
565 default "3" if TST_3
566
567 choice
568 prompt "Flavour"
569 depends CONFIG_TESTS
570
571 config NO_BOMB
572 bool "Don't stop on test suite failures"
573
574 config BOMB
575 bool "Abort the build at the first test suite failure"
576 endchoice
577
578 config BOMB_TEST
579 bool
580 default n if NO_BOMB
581 default y if BOMB
582
583 #--- End Test Suites
584
585 #--- FSTAB
586 config HAVE_FSTAB
587 bool "Use a custom fstab file"
588 default n
589 help
590 #-- Select this if you have ready a proper fstab file
591
592 config FSTAB
593 string "Fstab file (optional)"
594 default "***EDIT ME***"
595 depends on HAVE_FSTAB
596 help
597 #-- The location of fstab file (if empty, a template is created)
598 #--- End FSTAB
599
600 #--- Kernel
601 config CONFIG_BUILD_KERNEL
602 bool "Build the kernel"
603 default n
604 help
605 #-- Select this option if you wish to build the kernel.
606 #
607 # You will be prompted for the full path to the .config
608 # file. It will be copied to the 'sources' directory and
609 # rename kernel-config
610
611 config CONFIG
612 string "Kernel config file"
613 default "***EDIT ME***"
614 depends on CONFIG_BUILD_KERNEL
615 help
616 #-- Fully qualified path to a kernel config file
617 # The config file will be copied to ${BUILD_DIR}/sources
618 # and renamed 'kernel-config'
619 #--- End Kernel
620
621 config STRIP
622 bool "Strip Installed Binaries/Libraries"
623 default y
624
625 config VIMLANG
626 bool "Install vim-lang package"
627 default y
628 help
629 #-- Install the optional vim-lang package
630
631 config TIMEZONE
632 string "TimeZone"
633 default "GMT"
634 help
635 #-- The timezone as output by tzselect
636 # This will be copied to /etc/localtime
637
638 config LANG
639 string "Language"
640 default "$LANG"
641 help
642 #-- Language information in /etc/profile See <locale -a> for values
643
644 config LC_ALL
645 string "Language"
646 default "$LC_ALL"
647 depends on !BOOK_LFS
648 help
649 #-- Language information in /etc/profile See <locale -a> for values
650
651 #--- Groff page
652 choice
653 prompt "Groff page size"
654 default PAGE_LETTER
655 help
656 #-- Page definition for groff: letter or A4
657
658 config PAGE_LETTER
659 bool "letter"
660
661 config PAGE_A4
662 bool "A4"
663 endchoice
664
665 config PAGE
666 string
667 default "letter" if PAGE_LETTER
668 default "A4" if PAGE_A4
669 #--- End Groff page
670
671#--- End Build Settings
672endmenu
673
674menu "--- Advanced Features"
675 depends on !BOOK_BLFS
676
677 config REPORT
678 bool "Create SBU and disk usage report"
679 default y
680
681 #--- ICA/farce
682 config COMPARE
683 bool "Run comparison analysis on final stage"
684 depends !BOOK_CLFS2
685 default n
686 help
687 #-- Should some iterative comparison analysis by made?
688 #
689 # Unless you are familiar with ICA and/or FARCE do not
690 # select this option
691 #
692 # ICA and FARCE are analysis tools for comparing one
693 # build to the next. Builds mays differ from one iteration
694 # to another due to the build order and these tools try
695 # to ferret out those differences by examining the stored
696 # build logs and binary files.
697 #
698 # The scripts are well commented and can be found in ./extras/*
699 #
700
701 config ITERATIONS
702 int "Number of test runs (2,3,4,5)" if COMPARE
703 depends on COMPARE
704 range 2 5
705 default 3
706
707 config RUN_ICA
708 bool "ICA testing"
709 depends on COMPARE
710 default y
711 help
712 #-- Run ICA testing
713
714 config RUN_FARCE
715 bool "farce testing"
716 depends on COMPARE
717 default n
718 help
719 #-- Run farce testing
720 #--- End ICA/farce
721
722 #--- Optimizations
723if !BOOK_CLFS2
724 config CONFIG_OPTIMIZE
725 bool "Use optimization (see help)"
726 default n
727 help
728 #-- Actual optimzation flags MUST be defined in ./optimize/*
729 # files before activate this option.
730 #
731 # WARNING: The use of build optimizations may be dangerous.
732 # You should know what you are doing and be sure that the
733 # optimization settings listed below are what you want.
734 # It there are build issues or the system doesn't work as
735 # expected, please rebuild without optimizations before
736 # asking for support.
737
738 choice
739 prompt "Optimization level "
740 default OPT_1
741 depends CONFIG_OPTIMIZE
742 help
743 #-- Optimization values are set in optimize/* files
744
745 config OPT_1
746 bool "Final system only"
747
748 config OPT_2
749 bool "Both temp tools and final system"
750 endchoice
751
752 config OPTIMIZE
753 int
754 default "0" if !CONFIG_OPTIMIZE
755 default "1" if OPT_1
756 default "2" if OPT_2
757endif
758 #--- End Optimizations
759
760 #-- Internal Settings
761 menu "--- Internal Settings (WARNING: for jhalfs developers only)"
762
763 config SCRIPT_ROOT
764 string "Scripts root"
765 default "jhalfs"
766
767 config JHALFSDIR
768 string "jhalfs directory"
769 default "$BUILDDIR/$SCRIPT_ROOT"
770
771 config LOGDIR
772 string "Build logs directory"
773 default "$JHALFSDIR/logs"
774
775 config TESTLOGDIR
776 string "Test suites logs directory"
777 default "$JHALFSDIR/test-logs"
778
779 config ICALOGDIR
780 string "ICA logs directory"
781 default "$LOGDIR/ICA"
782
783 config FARCELOGDIR
784 string "farce logs directory"
785 default "$LOGDIR/farce"
786
787 config MKFILE
788 string "Makefile"
789 default "$JHALFSDIR/Makefile"
790
791 config XSL
792 string "XSL stylesheet"
793 default "$PROGNAME.xsl"
794
795 config PKG_LST
796 string "Package contents list"
797 default "unpacked"
798
799 #--- End Internal Settings
800 endmenu
801
802#--- End Advanced Features
803endmenu
Note: See TracBrowser for help on using the repository browser.