source: Config.in@ 728955b

2.3 2.3.x 2.4 ablfs ablfs-more legacy new_features trunk
Last change on this file since 728955b was 3d7b6621, checked in by Manuel Canales Esparcia <manuel@…>, 18 years ago

The kernel sources package must be available when building LFS SVN.

  • Property mode set to 100644
File size: 18.2 KB
Line 
1menu "--- BOOK Settings"
2
3 #--- BOOK/script
4 choice
5 prompt "Use BOOK"
6 default BOOK_LFS
7 help
8 #-- Select the BOOK/Build style you wish to configure.
9
10 config BOOK_LFS
11 bool "Linux From Scratch"
12
13 config BOOK_CLFS
14 bool "Cross-Compiled Linux From Scratch"
15
16 config BOOK_CLFS2
17 bool "Cross-Compiled Linux From Scratch (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_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 depends on BOOK_LFS || BOOK_CLFS
276 help
277 #--- Activating this option additional packages needed to
278 # use blfs-tool will be installed.
279 #
280 # The blfs-tool files will be installed under
281 # $BUILD_DIR/blfs_root.
282
283 # After booting the new xLFS system you should to
284 # create an user account and move the blfs-root
285 # directory to the user's home, making he the
286 # directory and files owner, before start
287 # using blfs-tool.
288 #
289 # Also, be sure to create the $TRACKING_DIR directory
290 # and bring to the build user the right privileges
291 # over it.
292 #
293 # And don't forget to configure sudo properly.
294
295 choice
296 prompt "BLFS Release"
297 default BLFS_SVN
298 depends on BLFS_TOOL
299 config BLFS_SVN
300 bool "BLFS SVN"
301 help
302 #-- Current development version as in trunk
303
304 config BLFS_BRANCH
305 bool "BLFS Branch or stable book"
306 help
307 #-- A supported SVN branch or stable released book
308 endchoice
309
310 config BLFS_BRANCH_ID
311 string "BLFS Book Version (mandatory)"
312 default "**EDIT ME**"
313 depends on BLFS_BRANCH
314 help
315 #-- A list of valid branches and stable books ID's is available here.
316 # http://wiki.linuxfromscratch.org/alfs/wiki/SupportedBooks
317
318 menu "blfs-tool dependencies"
319 depends on BLFS_TOOL
320
321 config DEP_LIBXML
322 bool "libxml2 (required)"
323 default y
324
325 config DEP_LIBXSLT
326 bool "libxslt (required)"
327 default y
328
329 config DEP_TIDY
330 bool "tidy (required)"
331 default y
332
333 config DEP_DBXML
334 bool "DocBook XML DTD (required)"
335 default y
336
337 config DEP_UNZIP
338 bool "UnZip (required to install DocBook XML DTD)"
339 default y
340 depends on DEP_DBXML
341
342 config DEP_DBXSL
343 bool "DocBook XSL (required)"
344 default y
345
346 config DEP_LINKS
347 bool "links (required)"
348 default y
349
350 config DEP_SUDO
351 bool "sudo (recommended)"
352 default y
353
354 config DEP_WGET
355 bool "wget (recommended)"
356 default y
357
358 config DEP_SVN
359 bool "SVN client (optional)"
360 default y
361
362 config DEP_GPM
363 bool "GPM (optional, see help)"
364 default y
365 help
366 #-- You MUST to install manually the gpm bootscript
367 # and create its configuration file
368 endmenu
369 #--- End blfs-tool Support
370
371 #--- BLFS specific params
372 config BLFS_ROOT
373 string "Directory root"
374 default "$HOME/blfs_root" if BOOK_BLFS
375 default "/blfs_root" if BLFS_TOOL
376 depends on BOOK_BLFS || BLFS_TOOL
377 help
378 #-- Full path to the directory where all required
379 # files and scripts will be stored.
380
381 config BLFS_XML
382 string "BLFS sources directory"
383 default "blfs-xml"
384 depends on BOOK_BLFS || BLFS_TOOL
385 help
386 #-- The directory name under $BLFS_ROOT where BLFS book
387 # sources will be checkout.
388
389 config TRACKING_DIR
390 string "Installed packages database directory"
391 default "/var/lib/jhalfs/BLFS"
392 depends on BOOK_BLFS || BLFS_TOOL
393 help
394 #-- Full path to the directory where the installed
395 # packages database will be created.
396 #
397 # You MUST to create manually this directory.
398 #
399 # Note that the user that will build the packages must
400 # have read and write privileges on that directory.
401 #--- End BLFS specific params
402
403#--- End BOOK Settings
404endmenu
405
406menu "--- General Settings"
407 depends on !BOOK_BLFS
408
409 #--- Set User Account
410 config CONFIG_USER
411 bool "Change the default user/group for this build"
412 default n
413 help #-- Unprivileged user and group name
414 # If you do not have the priv to create/delete
415 # users and groups you can specifiy your own
416 # user id for the build
417 #
418 # default values for each book
419 # LFS lfs
420 # CLFS clfs
421 # CLFS2 clfs
422 # HLFS hlfs
423
424 config DEF_USER
425 string
426 default "lfs" if BOOK_LFS
427 default "clfs" if BOOK_CLFS || BOOK_CLFS2
428 default "hlfs" if BOOK_HLFS
429
430 config SET_USER
431 string "User account"
432 depends CONFIG_USER
433 default DEF_USER
434
435
436 config CONFIG_GROUP
437 bool "Set Group?"
438 default n
439 depends CONFIG_USER
440
441 config SET_GROUP
442 string "GROUP account"
443 depends CONFIG_GROUP
444 default DEF_USER
445
446 config LUSER
447 string
448 default DEF_USER if !CONFIG_USER
449 default SET_USER if CONFIG_USER
450
451 config LGROUP
452 string
453 default LUSER if !CONFIG_GROUP
454 default SET_GROUP if CONFIG_GROUP
455 #--- End Set User Account
456
457 config BUILDDIR
458 string "Build Directory"
459 default "/mnt/build_dir"
460 help
461 #-- The directory where the created system will be located.
462
463 config GETPKG
464 bool "Retrieve source files"
465 default n
466 help
467 #-- Download all packages and patches required by the book selected
468 # NOTE: Looks for files in the local archive defined by SRC_ARCHIVE
469 # first and if necessary retrieve them from the 'net.
470 # Files will be transfered to $BUILDDIR/sources.
471
472 config SRC_ARCHIVE
473 string "Package Archive Directory"
474 default "$SRC_ARCHIVE"
475 depends GETPKG
476 help
477 #-- A local archive for packages/file (not $BUILDDIR/sources)
478 # Used only if GETPKG = 1
479 # Any missing file will be downloaded and archived here,
480 # if the user has the right priviledges.
481
482 config SERVER
483 string "FTP mirror"
484 default "ftp://ftp.lfs-matrix.net"
485 depends GETPKG
486 help
487 #-- FTP mirror to download packages and patches if not found
488 # in $SRC_ARCHIVE
489 # As a last resort, the files will dowloaded from upstream,
490 # if possible.
491
492 config GETKERNEL
493 bool "Always retrieve kernel package (see help)"
494 default y if BOOK_LFS && relSVN
495 depends GETPKG
496 help
497 #-- Get the kernel package and patches even if no kernel
498 # configuration file has been supplied.
499
500 # NOTE:
501 # The kernel package must be available when building
502 # the SVN version of LFS to can install the headers files.
503
504 config RUNMAKE
505 bool "Run the makefile"
506 default n
507 help
508 #-- Automatically run the makefile once it has been created
509
510 config CLEAN
511 bool "Rebuild files"
512 default n
513 help
514 #-- Clean the build directory before performing any other task.
515 # The directory is cleaned only if it was populated by a
516 # previous JHALFS run.
517 #
518 # NOTE::You must be 'root' for this function to work
519
520#--- End General Settings
521endmenu
522
523menu "--- Build Settings"
524 depends on !BOOK_BLFS
525
526 #--- Test Suites
527 config CONFIG_TESTS
528 bool "Run testsuites"
529 depends !BOOK_CLFS2
530 default y
531 help
532 #-- Run test suites
533 #
534 # You will can to select between:
535 #
536 # - Only final system Glibc, GCC and Binutils testsuites
537 # - All final system testsuites
538 # - Both temporary tools and final system testsuites
539 #
540 # HLFS and CLFS has no testsuites available in the
541 # temporary tools phase
542
543 # You will be promt also about the "flavour" of the
544 # testsuites run:
545 #
546 # - Don't stop on test suite failures
547 # - Abort the build at the first test suite failure
548 #
549
550 choice
551 prompt "Tests level"
552 depends CONFIG_TESTS
553 default TEST_1
554
555 config TST_1
556 bool "Only final system Glibc, GCC and Binutils testsuites"
557
558 config TST_2
559 bool "All final system testsuites"
560
561 config TST_3
562 bool "Both temporary tools and final system testsuites" if !BOOK_HLFS && !BOOK_CLFS
563 endchoice
564
565 config TEST
566 int
567 default "0" if !CONFIG_TESTS
568 default "1" if TST_1
569 default "2" if TST_2
570 default "3" if TST_3
571
572 choice
573 prompt "Flavour"
574 depends CONFIG_TESTS
575
576 config NO_BOMB
577 bool "Don't stop on test suite failures"
578
579 config BOMB
580 bool "Abort the build at the first test suite failure"
581 endchoice
582
583 config BOMB_TEST
584 bool
585 default n if NO_BOMB
586 default y if BOMB
587
588 #--- End Test Suites
589
590 #--- FSTAB
591 config HAVE_FSTAB
592 bool "Use a custom fstab file"
593 default n
594 help
595 #-- Select this if you have ready a proper fstab file
596
597 config FSTAB
598 string "Fstab file (optional)"
599 default "***EDIT ME***"
600 depends on HAVE_FSTAB
601 help
602 #-- The location of fstab file (if empty, a template is created)
603 #--- End FSTAB
604
605 #--- Kernel
606 config CONFIG_BUILD_KERNEL
607 bool "Build the kernel"
608 default n
609 help
610 #-- Select this option if you wish to build the kernel.
611 #
612 # You will be prompted for the full path to the .config
613 # file. It will be copied to the 'sources' directory and
614 # rename kernel-config
615
616 config CONFIG
617 string "Kernel config file"
618 default "***EDIT ME***"
619 depends on CONFIG_BUILD_KERNEL
620 help
621 #-- Fully qualified path to a kernel config file
622 # The config file will be copied to ${BUILD_DIR}/sources
623 # and renamed 'kernel-config'
624 #--- End Kernel
625
626 config STRIP
627 bool "Strip Installed Binaries/Libraries"
628 default y
629
630 config VIMLANG
631 bool "Install vim-lang package"
632 default y
633 help
634 #-- Install the optional vim-lang package
635
636 config TIMEZONE
637 string "TimeZone"
638 default "GMT"
639 help
640 #-- The timezone as output by tzselect
641 # This will be copied to /etc/localtime
642
643 config LANG
644 string "Language"
645 default "$LANG"
646 help
647 #-- Language information in /etc/profile See <locale -a> for values
648
649 config LC_ALL
650 string "Language"
651 default "$LC_ALL"
652 depends on !BOOK_LFS
653 help
654 #-- Language information in /etc/profile See <locale -a> for values
655
656 #--- Groff page
657 choice
658 prompt "Groff page size"
659 default PAGE_LETTER
660 help
661 #-- Page definition for groff: letter or A4
662
663 config PAGE_LETTER
664 bool "letter"
665
666 config PAGE_A4
667 bool "A4"
668 endchoice
669
670 config PAGE
671 string
672 default "letter" if PAGE_LETTER
673 default "A4" if PAGE_A4
674 #--- End Groff page
675
676#--- End Build Settings
677endmenu
678
679menu "--- Advanced Features"
680 depends on !BOOK_BLFS
681
682 config REPORT
683 bool "Create SBU and disk usage report"
684 default y
685
686 #--- ICA/farce
687 config COMPARE
688 bool "Run comparison analysis on final stage"
689 depends !BOOK_CLFS2
690 default n
691 help
692 #-- Should some iterative comparison analysis by made?
693 #
694 # Unless you are familiar with ICA and/or FARCE do not
695 # select this option
696 #
697 # ICA and FARCE are analysis tools for comparing one
698 # build to the next. Builds mays differ from one iteration
699 # to another due to the build order and these tools try
700 # to ferret out those differences by examining the stored
701 # build logs and binary files.
702 #
703 # The scripts are well commented and can be found in ./extras/*
704 #
705
706 config ITERATIONS
707 int "Number of test runs (2,3,4,5)" if COMPARE
708 depends on COMPARE
709 range 2 5
710 default 3
711
712 config RUN_ICA
713 bool "ICA testing"
714 depends on COMPARE
715 default y
716 help
717 #-- Run ICA testing
718
719 config RUN_FARCE
720 bool "farce testing"
721 depends on COMPARE
722 default n
723 help
724 #-- Run farce testing
725 #--- End ICA/farce
726
727 #--- Optimizations
728if !BOOK_CLFS2
729 config CONFIG_OPTIMIZE
730 bool "Use optimization (see help)"
731 default n
732 help
733 #-- Actual optimzation flags MUST be defined in ./optimize/*
734 # files before activate this option.
735 #
736 # WARNING: The use of build optimizations may be dangerous.
737 # You should know what you are doing and be sure that the
738 # optimization settings listed below are what you want.
739 # It there are build issues or the system doesn't work as
740 # expected, please rebuild without optimizations before
741 # asking for support.
742
743 choice
744 prompt "Optimization level "
745 default OPT_1
746 depends CONFIG_OPTIMIZE
747 help
748 #-- Optimization values are set in optimize/* files
749
750 config OPT_1
751 bool "Final system only"
752
753 config OPT_2
754 bool "Both temp tools and final system"
755 endchoice
756
757 config OPTIMIZE
758 int
759 default "0" if !CONFIG_OPTIMIZE
760 default "1" if OPT_1
761 default "2" if OPT_2
762endif
763 #--- End Optimizations
764
765 #-- Internal Settings
766 menu "--- Internal Settings (WARNING: for jhalfs developers only)"
767
768 config SCRIPT_ROOT
769 string "Scripts root"
770 default "jhalfs"
771
772 config JHALFSDIR
773 string "jhalfs directory"
774 default "$BUILDDIR/$SCRIPT_ROOT"
775
776 config LOGDIR
777 string "Build logs directory"
778 default "$JHALFSDIR/logs"
779
780 config TESTLOGDIR
781 string "Test suites logs directory"
782 default "$JHALFSDIR/test-logs"
783
784 config ICALOGDIR
785 string "ICA logs directory"
786 default "$LOGDIR/ICA"
787
788 config FARCELOGDIR
789 string "farce logs directory"
790 default "$LOGDIR/farce"
791
792 config MKFILE
793 string "Makefile"
794 default "$JHALFSDIR/Makefile"
795
796 config XSL
797 string "XSL stylesheet"
798 default "$PROGNAME.xsl"
799
800 config PKG_LST
801 string "Package contents list"
802 default "unpacked"
803
804 #--- End Internal Settings
805 endmenu
806
807#--- End Advanced Features
808endmenu
Note: See TracBrowser for help on using the repository browser.