source: Config.in@ c93a537

2.3 2.3.x 2.4 ablfs ablfs-more legacy new_features trunk
Last change on this file since c93a537 was c10570d, checked in by George Boudreau <georgeb@…>, 18 years ago

Added blfs-tool support scripts to CLFS, enabled selection in Config.in

  • 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_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"
494 default n
495 depends GETPKG
496 help
497 #-- Get the kernel package and patches even if no configuration
498 # file has been supplied.
499
500 config RUNMAKE
501 bool "Run the makefile"
502 default n
503 help
504 #-- Automatically run the makefile once it has been created
505
506 config CLEAN
507 bool "Rebuild files"
508 default n
509 help
510 #-- Clean the build directory before performing any other task.
511 # The directory is cleaned only if it was populated by a
512 # previous JHALFS run.
513 #
514 # NOTE::You must be 'root' for this function to work
515
516#--- End General Settings
517endmenu
518
519menu "--- Build Settings"
520 depends on !BOOK_BLFS
521
522 #--- Test Suites
523 config CONFIG_TESTS
524 bool "Run testsuites"
525 depends !BOOK_CLFS2
526 default y
527 help
528 #-- Run test suites
529 #
530 # You will can to select between:
531 #
532 # - Only final system Glibc, GCC and Binutils testsuites
533 # - All final system testsuites
534 # - Both temporary tools and final system testsuites
535 #
536 # HLFS and CLFS has no testsuites available in the
537 # temporary tools phase
538
539 # You will be promt also about the "flavour" of the
540 # testsuites run:
541 #
542 # - Don't stop on test suite failures
543 # - Abort the build at the first test suite failure
544 #
545
546 choice
547 prompt "Tests level"
548 depends CONFIG_TESTS
549 default TEST_1
550
551 config TST_1
552 bool "Only final system Glibc, GCC and Binutils testsuites"
553
554 config TST_2
555 bool "All final system testsuites"
556
557 config TST_3
558 bool "Both temporary tools and final system testsuites" if !BOOK_HLFS && !BOOK_CLFS
559 endchoice
560
561 config TEST
562 int
563 default "0" if !CONFIG_TESTS
564 default "1" if TST_1
565 default "2" if TST_2
566 default "3" if TST_3
567
568 choice
569 prompt "Flavour"
570 depends CONFIG_TESTS
571
572 config NO_BOMB
573 bool "Don't stop on test suite failures"
574
575 config BOMB
576 bool "Abort the build at the first test suite failure"
577 endchoice
578
579 config BOMB_TEST
580 bool
581 default n if NO_BOMB
582 default y if BOMB
583
584 #--- End Test Suites
585
586 #--- FSTAB
587 config HAVE_FSTAB
588 bool "Use a custom fstab file"
589 default n
590 help
591 #-- Select this if you have ready a proper fstab file
592
593 config FSTAB
594 string "Fstab file (optional)"
595 default "***EDIT ME***"
596 depends on HAVE_FSTAB
597 help
598 #-- The location of fstab file (if empty, a template is created)
599 #--- End FSTAB
600
601 #--- Kernel
602 config CONFIG_BUILD_KERNEL
603 bool "Build the kernel"
604 default n
605 help
606 #-- Select this option if you wish to build the kernel.
607 #
608 # You will be prompted for the full path to the .config
609 # file. It will be copied to the 'sources' directory and
610 # rename kernel-config
611
612 config CONFIG
613 string "Kernel config file"
614 default "***EDIT ME***"
615 depends on CONFIG_BUILD_KERNEL
616 help
617 #-- Fully qualified path to a kernel config file
618 # The config file will be copied to ${BUILD_DIR}/sources
619 # and renamed 'kernel-config'
620 #--- End Kernel
621
622 config STRIP
623 bool "Strip Installed Binaries/Libraries"
624 default y
625
626 config VIMLANG
627 bool "Install vim-lang package"
628 default y
629 help
630 #-- Install the optional vim-lang package
631
632 config TIMEZONE
633 string "TimeZone"
634 default "GMT"
635 help
636 #-- The timezone as output by tzselect
637 # This will be copied to /etc/localtime
638
639 config LANG
640 string "Language"
641 default "$LANG"
642 help
643 #-- Language information in /etc/profile See <locale -a> for values
644
645 config LC_ALL
646 string "Language"
647 default "$LC_ALL"
648 depends on !BOOK_LFS
649 help
650 #-- Language information in /etc/profile See <locale -a> for values
651
652 #--- Groff page
653 choice
654 prompt "Groff page size"
655 default PAGE_LETTER
656 help
657 #-- Page definition for groff: letter or A4
658
659 config PAGE_LETTER
660 bool "letter"
661
662 config PAGE_A4
663 bool "A4"
664 endchoice
665
666 config PAGE
667 string
668 default "letter" if PAGE_LETTER
669 default "A4" if PAGE_A4
670 #--- End Groff page
671
672#--- End Build Settings
673endmenu
674
675menu "--- Advanced Features"
676 depends on !BOOK_BLFS
677
678 config REPORT
679 bool "Create SBU and disk usage report"
680 default y
681
682 #--- ICA/farce
683 config COMPARE
684 bool "Run comparison analysis on final stage"
685 depends !BOOK_CLFS2
686 default n
687 help
688 #-- Should some iterative comparison analysis by made?
689 #
690 # Unless you are familiar with ICA and/or FARCE do not
691 # select this option
692 #
693 # ICA and FARCE are analysis tools for comparing one
694 # build to the next. Builds mays differ from one iteration
695 # to another due to the build order and these tools try
696 # to ferret out those differences by examining the stored
697 # build logs and binary files.
698 #
699 # The scripts are well commented and can be found in ./extras/*
700 #
701
702 config ITERATIONS
703 int "Number of test runs (2,3,4,5)" if COMPARE
704 depends on COMPARE
705 range 2 5
706 default 3
707
708 config RUN_ICA
709 bool "ICA testing"
710 depends on COMPARE
711 default y
712 help
713 #-- Run ICA testing
714
715 config RUN_FARCE
716 bool "farce testing"
717 depends on COMPARE
718 default n
719 help
720 #-- Run farce testing
721 #--- End ICA/farce
722
723 #--- Optimizations
724if !BOOK_CLFS2
725 config CONFIG_OPTIMIZE
726 bool "Use optimization (see help)"
727 default n
728 help
729 #-- Actual optimzation flags MUST be defined in ./optimize/*
730 # files before activate this option.
731 #
732 # WARNING: The use of build optimizations may be dangerous.
733 # You should know what you are doing and be sure that the
734 # optimization settings listed below are what you want.
735 # It there are build issues or the system doesn't work as
736 # expected, please rebuild without optimizations before
737 # asking for support.
738
739 choice
740 prompt "Optimization level "
741 default OPT_1
742 depends CONFIG_OPTIMIZE
743 help
744 #-- Optimization values are set in optimize/* files
745
746 config OPT_1
747 bool "Final system only"
748
749 config OPT_2
750 bool "Both temp tools and final system"
751 endchoice
752
753 config OPTIMIZE
754 int
755 default "0" if !CONFIG_OPTIMIZE
756 default "1" if OPT_1
757 default "2" if OPT_2
758endif
759 #--- End Optimizations
760
761 #-- Internal Settings
762 menu "--- Internal Settings (WARNING: for jhalfs developers only)"
763
764 config SCRIPT_ROOT
765 string "Scripts root"
766 default "jhalfs"
767
768 config JHALFSDIR
769 string "jhalfs directory"
770 default "$BUILDDIR/$SCRIPT_ROOT"
771
772 config LOGDIR
773 string "Build logs directory"
774 default "$JHALFSDIR/logs"
775
776 config TESTLOGDIR
777 string "Test suites logs directory"
778 default "$JHALFSDIR/test-logs"
779
780 config ICALOGDIR
781 string "ICA logs directory"
782 default "$LOGDIR/ICA"
783
784 config FARCELOGDIR
785 string "farce logs directory"
786 default "$LOGDIR/farce"
787
788 config MKFILE
789 string "Makefile"
790 default "$JHALFSDIR/Makefile"
791
792 config XSL
793 string "XSL stylesheet"
794 default "$PROGNAME.xsl"
795
796 config PKG_LST
797 string "Package contents list"
798 default "unpacked"
799
800 #--- End Internal Settings
801 endmenu
802
803#--- End Advanced Features
804endmenu
Note: See TracBrowser for help on using the repository browser.