source: Config.in@ f4caf9c

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

Full removed support for keymap compilation into the kernel.

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