source: Config.in@ fff1061

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

Merged r3073:3085 from experimental:
blfs-tool support integration.

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