source: Config.in@ 99ba6d8

new_features
Last change on this file since 99ba6d8 was 77fa8ba, checked in by Pierre Labastie <pierre@…>, 9 years ago

Add IP, hostname, domain, etc to the list of configuration parameters.
Font and encoding are in configuration too, but are not passed to the build
commands
Works only for LFS

  • Property mode set to 100644
File size: 28.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 (Sysroot method)"
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 endchoice
25
26 config PROGNAME
27 string
28 default "lfs" if BOOK_LFS
29 default "clfs" if BOOK_CLFS
30 default "clfs2" if BOOK_CLFS2
31 default "clfs3" if BOOK_CLFS3
32 default "hlfs" if BOOK_HLFS
33
34 config RUN_ME
35 string
36 default "./jhalfs run"
37 #--- End BOOK/script
38
39 #--- Book version
40 choice
41 prompt "Release"
42 default relSVN if BOOK_LFS || BOOK_HLFS
43 default relGIT if BOOK_CLFS || BOOK_CLFS2 || BOOK_CLFS3
44 config relSVN
45 bool "SVN"
46 depends on BOOK_LFS || BOOK_HLFS
47 help
48 #-- Current development version as in trunk
49
50 config relGIT
51 bool "GIT"
52 depends on BOOK_CLFS || BOOK_CLFS2 || BOOK_CLFS3
53 help
54 #-- Current development git master branch
55
56 config WORKING_COPY
57 bool "Working Copy"
58 help
59 #-- A local working copy
60
61 config BRANCH
62 bool "Branch or stable book" if !BOOK_CLFS2 && !BOOK_CLFS3
63 help
64 #-- A supported SVN/GIT branch or stable released book
65 endchoice
66
67 config BRANCH_ID
68 string "Stable Version or branch (preceded by branch-)"
69 default "**EDIT ME**"
70 depends BRANCH
71 help
72 #-- A list of valid branches and stable book IDs is available here:
73 # http://wiki.linuxfromscratch.org/alfs/wiki/SupportedBooks
74 # Enter branch-XXX for branch XXX, and just YYY for tag YYY or
75 # stable YYY version
76
77 config BOOK
78 string "Loc of working copy (mandatory)"
79 default "**EDIT ME**"
80 depends WORKING_COPY
81 help
82 #-- The full path to a local copy of the book XML sources
83 #
84 #--- End BOOK version
85
86 #--- CLFS specific params
87 choice
88 prompt "Target architecture"
89 default ARCH_X86
90 depends BOOK_CLFS || BOOK_CLFS2 || BOOK_CLFS3
91 help
92 #-- Choose the target system base architecture
93
94 config ARCH_X86
95 bool "x86"
96
97 config ARCH_MIPS
98 bool "mips" if !BOOK_CLFS2
99
100 config ARCH_PPC
101 bool "ppc" if BOOK_CLFS
102
103 config ARCH_SPARC
104 bool "sparc" if BOOK_CLFS
105
106 config ARCH_ALPHA
107 bool "alpha" if !BOOK_CLFS3
108
109 config ARCH_ARM
110 bool "arm" if !BOOK_CLFS
111
112 config ARCH_HPPA
113 bool "hppa" if BOOK_CLFS2
114 endchoice
115
116 choice
117 prompt "Hardware Platform"
118 depends BOOK_CLFS3 && ARCH_MIPS
119 default PLATFORM_GENERIC
120 help
121 # Choose a destination platform
122 # Platform specific files will be included
123
124 config PLATFORM_GENERIC
125 bool "Generic platform"
126
127 config PLATFORM_WRT
128 bool "WRT - MIPS based wireless router" if ARCH_MIPS
129 endchoice
130
131 choice
132 prompt "Library"
133 depends (BOOK_CLFS && !ARCH_ALPHA) || (BOOK_CLFS3 && ARCH_MIPS)
134 default DATA_32
135 help
136 #-- Choose the target system libraries type
137
138 config DATA_32
139 bool "32-bit"
140
141 config DATA_64
142 bool "64-bit"
143
144 config DATA_MULTI
145 bool "multilib" if !(BOOK_CLFS3 && ARCH_MIPS )
146 endchoice
147
148 choice
149 prompt "Processor type"
150 depends (BOOK_CLFS || BOOK_CLFS2 || BOOK_CLFS3) && ((ARCH_X86 && !(DATA_64 || DATA_MULTI)) || ARCH_MIPS || ARCH_HPPA || ARCH_ALPHA || (ARCH_SPARC && (DATA_64 || DATA_MULTI)) || (ARCH_ARM && BOOK_CLFS3))
151 help
152 #-- Choose the target system processor
153
154 config PROC_i486
155 bool "486 Compatibles" if ARCH_X86
156
157 config PROC_i586
158 bool "Pentium, K6, 586 Compatibles" if ARCH_X86
159
160 config PROC_i686
161 bool "Pentium II, Pentium III, Pentium 4, Athlon, Duron" if ARCH_X86
162
163 config PROC_mipsel
164 bool "MIPS Little Endian" if ARCH_MIPS
165
166 config PROC_mips
167 bool "MIPS Big Endian" if ARCH_MIPS
168
169 config PROC_unknown
170 bool "Unknown" if ARCH_HPPA || ARCH_ALPHA
171
172 config PROC_hppa1
173 bool "PA 7000 Series" if ARCH_HPPA
174
175 config PROC_hppa2
176 bool "PA 8000 Series" if ARCH_HPPA
177
178 config PROC_EV5
179 bool "EV5 Series" if ARCH_ALPHA
180
181 config PROC_EV56
182 bool "EV56 Series" if ARCH_ALPHA
183
184 config PROC_PCA56
185 bool "PCA56 Series" if ARCH_ALPHA
186
187 config PROC_PCA57
188 bool "PCA57 Series" if ARCH_ALPHA
189
190 config PROC_EV6
191 bool "EV6 Series" if ARCH_ALPHA
192
193 config PROC_EV67
194 bool "EV67 Series" if ARCH_ALPHA
195
196 config PROC_EV68
197 bool "EV68 Series" if ARCH_ALPHA
198
199 config PROC_ARM
200 bool "Generic arm, little endian" if ARCH_ARM
201
202 config PROC_ARM5L
203 bool "Generic arm, version 5, little endian" if ARCH_ARM
204
205 config PROC_ARM5B
206 bool "Generic arm, version 5, big endian" if ARCH_ARM
207
208 config PROC_ULTRA1
209 bool "UtraSparc" if ARCH_SPARC && (DATA_64 || DATA_MULTI)
210
211 config PROC_ULTRA2
212 bool "UtraSparc2" if ARCH_SPARC && (DATA_64 || DATA_MULTI)
213
214 config PROC_ULTRA3
215 bool "UtraSparc3" if ARCH_SPARC && (DATA_64 || DATA_MULTI)
216 endchoice
217
218 choice
219 prompt "MIPS 64 ABI"
220 depends BOOK_CLFS3 && ARCH_MIPS && DATA_64
221 default ABI_64
222 help
223 #-- Choose the target system ABI to use
224
225 config ABI_32
226 bool "o32"
227
228 config ABI_N32
229 bool "n32"
230
231 config ABI_64
232 bool "n64"
233 endchoice
234
235 config TARGET
236 string
237 default "i486-pc-linux-gnu" if !BOOK_CLFS3 && PROC_i486
238 default "i586-pc-linux-gnu" if !BOOK_CLFS3 && PROC_i586
239 default "i686-pc-linux-gnu" if !BOOK_CLFS3 && PROC_i686
240
241 default "i486-pc-linux-uclibc" if BOOK_CLFS3 && PROC_i486
242 default "i586-pc-linux-uclibc" if BOOK_CLFS3 && PROC_i586
243 default "i686-pc-linux-uclibc" if BOOK_CLFS3 && PROC_i686
244
245 default "x86_64-unknown-linux-gnu" if ARCH_X86 && (DATA_64 || DATA_MULTI)
246
247 default "mipsel-unknown-linux-gnu" if !BOOK_CLFS3 && PROC_mipsel && DATA_32
248 default "mips-unknown-linux-gnu" if !BOOK_CLFS3 && PROC_mips && DATA_32
249 default "mips64el-unknown-linux-gnu" if !BOOK_CLFS3 && PROC_mipsel && (DATA_64 || DATA_MULTI)
250 default "mips64-unknown-linux-gnu" if !BOOK_CLFS3 && PROC_mips && (DATA_64 || DATA_MULTI)
251
252 default "mipsel-unknown-linux-uclibc" if BOOK_CLFS3 && PROC_mipsel && DATA_32
253 default "mips-unknown-linux-uclibc" if BOOK_CLFS3 && PROC_mips && DATA_32
254 default "mips64el-unknown-linux-uclibc" if BOOK_CLFS3 && PROC_mipsel && DATA_64
255 default "mips64-unknown-linux-uclibc" if BOOK_CLFS3 && PROC_mips && DATA_64
256
257 default "powerpc-unknown-linux-gnu" if ARCH_PPC && DATA_32
258 default "powerpc64-unknown-linux-gnu" if ARCH_PPC && (DATA_MULTI || DATA_64)
259
260 default "sparc-unknown-linux-gnu" if ARCH_SPARC && DATA_32
261 default "sparc64-unknown-linux-gnu" if ARCH_SPARC && (DATA_64 || DATA_MULTI)
262
263 default "hppa-unknown-linux-gnu" if PROC_unknown && ARCH_HPPA
264 default "hppa1.1-unknown-linux-gnu" if PROC_hppa1
265 default "hppa2.0-unknown-linux-gnu" if PROC_hppa2
266
267 default "arm-unknown-linux-gnueabi" if ARCH_ARM && BOOK_CLFS2
268
269 default "arm-unknown-linux-uclibc" if PROC_ARM
270 default "armv5l-unknown-linux-uclibc" if PROC_ARM5L
271 default "armv5b-unknown-linux-uclibc" if PROC_ARM5B
272
273 default "alpha-unknown-linux-gnu" if PROC_unknown && ARCH_ALPHA
274 default "alphaev5-unknown-linux-gnu" if PROC_EV5
275 default "alphaev56-unknown-linux-gnu" if PROC_EV56
276 default "alphapca56-unknown-linux-gnu" if PROC_PCA56
277 default "alphapca57-unknown-linux-gnu" if PROC_PCA57
278 default "alphaev6-unknown-linux-gnu" if PROC_EV6
279 default "alphaev67-unknown-linux-gnu" if PROC_EV67
280 default "alphaev68-unknown-linux-gnu" if PROC_EV68
281
282 config TARGET32
283 string
284 depends DATA_MULTI
285 default "i686-pc-linux-gnu" if ARCH_X86
286 default "mipsel-unknown-linux-gnu" if PROC_mipsel
287 default "mips-unknown-linux-gnu" if PROC_mips
288 default "sparc-unknown-linux-gnu" if ARCH_SPARC
289 default "powerpc-unknown-linux-gnu" if ARCH_PPC
290
291 config PLATFORM
292 string
293 default "GENERIC" if (!BOOK_CLFS3) || PLATFORM_GENERIC
294 default "WRT - Wireless Router" if PLATFORM_WRT
295
296 config SPARC64_PROC
297 string
298 default "none" if !(ARCH_SPARC && (DATA_64 || DATA_MULTI))
299 default "1" if PROC_ULTRA1
300 default "2" if PROC_ULTRA2
301 default "3" if PROC_ULTRA3
302
303 config ARCH
304 string
305 default "x86" if ARCH_X86 && (DATA_32 || BOOK_CLFS2 || BOOK_CLFS3)
306 default "x86_64" if ARCH_X86 && DATA_MULTI
307 default "x86_64-64" if ARCH_X86 && DATA_64
308
309 default "wrt" if PLATFORM_WRT && BOOK_CLFS3
310
311 default "mips" if ARCH_MIPS && (DATA_32 || BOOK_CLFS3)
312 default "mips64" if ARCH_MIPS && DATA_MULTI
313 default "mips64-64" if ARCH_MIPS && DATA_64 && BOOK_CLFS
314
315
316 default "ppc" if ARCH_PPC && DATA_32
317 default "ppc64" if ARCH_PPC && DATA_MULTI
318 default "ppc64-64" if ARCH_PPC && DATA_64
319
320 default "sparc" if ARCH_SPARC && DATA_32
321 default "sparc64" if ARCH_SPARC && DATA_MULTI
322 default "sparc64-64" if ARCH_SPARC && DATA_64
323
324 default "alpha" if ARCH_ALPHA
325 default "arm" if ARCH_ARM
326 default "hppa" if ARCH_HPPA
327
328 config MIPS_LEVEL
329 string
330 depends BOOK_CLFS3 && ARCH_MIPS
331 default "1" if DATA_32
332 default "3" if DATA_64
333
334 config ABI
335 string
336 depends BOOK_CLFS3
337 default "-m32" if ARCH_X86 || ARCH_ARM
338# default "-m64" if NO USED YET IN THE BOOK
339 default "-mabi=32" if ABI_32 || (ARCH_MIPS && DATA_32)
340 default "-mabi=n32" if ABI_N32
341 default "-mabi=64" if ABI_64
342
343 config ENDIAN
344 string
345 depends BOOK_CLFS3 && (ARCH_MIPS || ARCH_ARM)
346 default "little" if PROC_mipsel || PROC_ARM || PROC_ARM5L
347 default "big" if PROC_mips || PROC_ARM5B
348
349 choice
350 prompt "Build method"
351 depends BOOK_CLFS
352 help
353 #-- What build method should be used: a chroot jail or minimal boot system
354 # Review the Cross-LFS book chap6 "TO BOOT OR CHROOT" for a full explanation.
355
356 config BUILD_CHROOT
357 bool "chroot"
358
359 config BUILD_BOOT
360 bool "boot"
361 endchoice
362
363 config METHOD
364 string
365 default "chroot" if BUILD_CHROOT
366 default "boot" if BUILD_BOOT
367
368 config BOOT_CONFIG
369 string "BOOT kernel config file (mandatory)"
370 default "***EDIT ME***"
371 depends on BUILD_BOOT
372 help
373 #-- If METHOD=boot, location of boot-kernel config file
374 # The config file will be copied to ${BUILD_DIR}/sources
375 # and renamed 'bootkernel-config'
376 #
377 # NOTE: this setting is required
378 #--- End CLFS specific params
379
380 #--- HLFS specific params
381 config GRSECURITY_HOST
382 bool "Building on grsecurity enabled host?"
383 default n
384 depends on BOOK_HLFS
385 help
386 #-- If your build system has grsecurity patches applied
387 # you MUST enable this switch.
388
389 choice
390 prompt "Library"
391 depends on BOOK_HLFS
392 help
393 #-- Which library model to use: uClibc/glibc
394
395 config LIB_GLIBC
396 bool "glibc"
397
398 config LIB_UCLIBC
399 bool "uClibc"
400 endchoice
401
402 config MODEL
403 depends on BOOK_HLFS
404 string
405 default "glibc" if LIB_GLIBC
406 default "uclibc" if LIB_UCLIBC
407
408 choice
409 prompt "Kernel series"
410 depends on BOOK_HLFS
411 help
412 #-- Which kernel series to use: 2.6/2.4
413
414 config KERNEL_26
415 bool "2.6 kernel series"
416
417 config KERNEL_24
418 bool "2.4 kernel series"
419 endchoice
420
421 config KERNEL
422 depends on BOOK_HLFS
423 string
424 default "2.6" if KERNEL_26
425 default "2.4" if KERNEL_24
426
427 #--- Custom Tools support
428 config CUSTOM_TOOLS
429 bool "Add custom tools support"
430 default n
431 help
432 #--- Activating this option additional packages you create
433 # will be installed after finished the xLFS system build.
434 #
435 #--- End Custom Tools support
436
437 #--- blfs-tool Support
438 config BLFS_TOOL
439 bool "Add blfs-tool support"
440 default n
441 depends on !BOOK_CLFS3
442 help
443 #--- Activating this option will install additional
444 # packages needed to use blfs-tool when booting
445 # the new system.
446 #
447 # The blfs-tool files will be installed under
448 # $BUILD_DIR/blfs_root.
449
450 # After booting the new xLFS system, but before using
451 # blfs-tool, you should create a user account and
452 # move the /blfs-root directory to the user's home,
453 # making them the directory and files owner.
454 #
455 # Also, be sure to give the user read and write
456 # privileges on the $TRACKING_DIR directory and
457 # the files that it contains.
458 #
459 # Don't forget to configure sudo properly.
460
461 choice
462 prompt "BLFS Release"
463 default BLFS_SVN
464 depends on BLFS_TOOL
465 config BLFS_SVN
466 bool "BLFS SVN"
467 help
468 #-- Current development version as in trunk
469
470 config BLFS_WORKING_COPY
471 bool "BLFS working copy"
472 help
473 #-- A local working copy of the BLFS book.
474
475 config BLFS_BRANCH
476 bool "BLFS Branch or stable book"
477 help
478 #-- A supported SVN branch or stable book release
479 endchoice
480
481 config BLFS_WC_LOCATION
482 string "Location of the local BLFS working copy (mandatory)"
483 default "**EDIT ME**"
484 depends on BLFS_WORKING_COPY
485 help
486 #-- Full path to the BLFS book working copy"
487
488 config BLFS_BRANCH_ID
489 string "BLFS Book Version (mandatory)"
490 default "**EDIT ME**"
491 depends on BLFS_BRANCH
492 help
493 #-- A list of valid branches and stable book IDs is available here.
494 # http://wiki.linuxfromscratch.org/alfs/wiki/SupportedBooks
495
496 menu "blfs-tool dependencies"
497 depends on BLFS_TOOL
498
499 config DEP_LIBXML
500 bool "libxml2 (required)"
501 default y
502
503 config DEP_LIBXSLT
504 bool "libxslt (required)"
505 default y
506
507 config DEP_TIDY
508 bool "tidy (required)"
509 default y
510
511 config DEP_DBXML
512 bool "DocBook XML DTD (required)"
513 default y
514
515 #config DEP_DBXSL
516 #bool "DocBook XSL (required)"
517 #default y
518
519 config DEP_LYNX
520 bool "lynx (optional, for reading the generated book)"
521 default y
522
523 config DEP_SUDO
524 bool "sudo (recommended)"
525 default y
526
527 config DEP_WGET
528 bool "wget (recommended)"
529 default y
530
531 config DEP_GPM
532 bool "GPM (optional, see help)"
533 default n
534 help
535 #-- if you install gpm, it will be started
536 # automatically on boot. You'll have to edit
537 # /etc/sysconfig/mouse for your system
538
539 config DEP_SVN
540 bool "SVN client (optional, see help)"
541 default n
542 help
543 #-- Subversion is needed for updating the book
544 # sources. If you want ssl support, select
545 # OPENSSL below.
546
547 config DEP_OPENSSL
548 bool "OPENSSL (optional, see help)"
549 default n
550 help
551 #-- selecting OPENSSL here allows to build
552 # subversion with ssl support, avoiding a later
553 # recompilation
554
555 config DEP_PYTHON
556 bool "PYTHON 2 (optional, see help)"
557 default n
558 help
559 #-- selecting PYTHON 2 here allows to build
560 # the libxml2 and libxslt python modules,
561 # avoiding a later recompilation
562
563 endmenu
564 #--- End blfs-tool Support
565
566 #--- BLFS specific params
567 config BLFS_ROOT
568 string "Directory root"
569 default "/blfs_root"
570 depends on BLFS_TOOL
571 help
572 #-- Full path to the directory where all required
573 # files and scripts will be stored.
574
575 config BLFS_XML
576 string "BLFS sources directory"
577 default "blfs-xml"
578 depends BLFS_TOOL
579 help
580 #-- The directory name under $BLFS_ROOT where the BLFS
581 # book sources will be checkout.
582
583 config TRACKING_DIR
584 string "Installed packages database directory"
585 default "/var/lib/jhalfs/BLFS"
586 depends on BLFS_TOOL || CUSTOM_TOOLS
587 help
588 #-- Full path to the directory where the database of
589 # installed packages will be created.
590 #
591 # If you are installing blfs-tool on a running xLFS system
592 # you MUST create this directory manually.
593 #
594 # If you are installing blfs-tool as part of an xLFS build
595 # and/or using the customized scripts feature, you will
596 # need to fix this directory's permissions after booting
597 # the new system.
598 #
599 # Note that the user that will build the packages must
600 # have read and write privileges on this directory.
601 #--- End BLFS specific params
602
603#--- End BOOK Settings
604endmenu
605
606menu "--- General Settings"
607
608 #--- Set User Account
609 config CONFIG_USER
610 bool "Change the default user/group and homedir for this build"
611 default n
612 help #-- Unprivileged user and group name
613 # If you do not have the privilege to create/delete
614 # users and groups you can specify your own
615 # user ID for the build
616 #
617 # default values for each book
618 # LFS lfs
619 # CLFS* clfs
620 # HLFS hlfs
621 #
622 # Also, if your host places users' home dirs into a
623 # directory other than /home you can specify it here.
624
625 config DEF_USER
626 string
627 default "lfs" if BOOK_LFS
628 default "clfs" if BOOK_CLFS || BOOK_CLFS2 || BOOK_CLFS3
629 default "hlfs" if BOOK_HLFS
630
631 config SET_USER
632 string "User account"
633 depends CONFIG_USER
634 default DEF_USER
635
636 config CONFIG_GROUP
637 bool "Set Group?"
638 default n
639 depends CONFIG_USER
640
641 config SET_GROUP
642 string "GROUP account"
643 depends CONFIG_GROUP
644 default DEF_USER
645
646 config CONFIG_HOME
647 bool "Set home dir?"
648 default n
649 depends CONFIG_USER
650
651 config SET_HOME
652 string "Path to the directory under which the user's home directory will be created"
653 depends CONFIG_HOME
654 default "/home"
655
656 config LUSER
657 string
658 default DEF_USER if !CONFIG_USER
659 default SET_USER if CONFIG_USER
660
661 config LGROUP
662 string
663 default LUSER if !CONFIG_GROUP
664 default SET_GROUP if CONFIG_GROUP
665
666 config LHOME
667 string
668 default "/home" if !CONFIG_HOME
669 default SET_HOME if CONFIG_HOME
670 #--- End Set User Account
671
672 config BUILDDIR
673 string "Build Directory"
674 default "/mnt/build_dir"
675 help
676 #-- The directory where the created system will be located.
677 # NOTE: A working directory named jhalfs will be created
678 # here, so ensure this does not conflict with the jhalfs
679 # source directory.
680
681 config GETPKG
682 bool "Retrieve source files"
683 default n
684 help
685 #-- Download all packages and patches required by the selected book
686 # NOTE: Looks for files in the local archive defined by SRC_ARCHIVE
687 # first and if necessary retrieves them from the 'net.
688 # Files will be transferred to $BUILDDIR/sources.
689
690 config SRC_ARCHIVE
691 string "Package Archive Directory"
692 default "$SRC_ARCHIVE"
693 depends GETPKG
694 help
695 #-- A local archive for packages/files (not $BUILDDIR/sources)
696 # Any missing file will be downloaded and archived here,
697 # if the user has the right privileges.
698
699 config RETRYSRCDOWNLOAD
700 bool "Retry on 'connection refused' failure"
701 default n
702 depends GETPKG
703 help
704 #-- Attempt to download a source package again if it fails
705 # with a 'connection refused' error. This can happen on
706 # servers that are overloaded.
707
708 config RETRYDOWNLOADCNT
709 int "Number of retry attempts on download failures"
710 default 20
711 depends GETPKG
712 help
713 #-- Number of times to retry a failed download.
714
715 config DOWNLOADTIMEOUT
716 int "Download timeout (in seconds)"
717 default 30
718 depends GETPKG
719 help
720 #-- Number of seconds to wait for a download to start before
721 # timing out.
722
723 config SERVER
724 string "FTP mirror"
725 default "ftp://ftp.lfs-matrix.net"
726 depends GETPKG
727 help
728 #-- FTP mirror to download packages and patches if not found
729 # in $SRC_ARCHIVE
730 # As a last resort, the files will downloaded from upstream,
731 # if possible.
732
733 config RUNMAKE
734 bool "Run the makefile"
735 default n
736 help
737 #-- Automatically run the makefile once it has been created
738
739 config CLEAN
740 bool "Rebuild files"
741 default n
742 help
743 #-- Clean the build directory before performing any other task.
744 # The directory is cleaned only if it was populated by a
745 # previous JHALFS run.
746 #
747
748#--- End General Settings
749endmenu
750
751menu "--- Build Settings"
752
753 #--- Test Suites
754 config CONFIG_TESTS
755 bool "Run testsuites"
756 depends !BOOK_CLFS2 && !BOOK_CLFS3
757 default y
758 help
759 #-- Run test suites
760 #
761 # You will have to select between:
762 #
763 # - Only critical final system testsuites
764 # - All final system testsuites
765 # - Both temporary tools and final system testsuites
766 #
767 # HLFS and CLFS have no testsuites available in the
768 # temporary tools phase
769
770 # You will be prompted also about the "flavour" of the
771 # testsuites run:
772 #
773 # - Don't stop on test suite failures
774 # - Abort the build at the first test suite failure
775 #
776
777 menu "Test settings"
778 depends CONFIG_TESTS
779 choice
780 prompt "Tests level"
781 default TST_1
782
783 config TST_1
784 bool "Only final system critical testsuites"
785 help
786 #-- Critical tests:
787 # Only Glibc, Binutils, GMP, MPFR, MPC and GCC
788 # testsuites for final system
789
790 config TST_2
791 bool "All final system testsuites"
792
793 config TST_3
794 bool "All testsuites" if !BOOK_HLFS && !BOOK_CLFS
795 help
796 #-- All tests:
797 # Runs all the testsuites for both temporary tools
798 # and final system
799 endchoice
800
801 choice
802 prompt "Flavour"
803
804 config NO_BOMB
805 bool "Don't stop on test failures"
806
807 config BOMB
808 bool "Abort the build on the first test failure"
809 endchoice
810
811 config TEST
812 int
813 default "0" if !CONFIG_TESTS
814 default "1" if TST_1
815 default "2" if TST_2
816 default "3" if TST_3
817
818 config BOMB_TEST
819 bool
820 default n if NO_BOMB
821 default y if BOMB
822
823 #--- End Test Suites
824 endmenu # test settings
825
826 #--- Package Management
827 config PKGMNGT
828 bool "Package management"
829 depends BOOK_LFS
830 default n
831 help
832 #-- Use package management
833 #
834 # If set, the packages in the final phase are built
835 # in a separate directory, PKG_DEST.
836 # You should provide a bash function for packing
837 # and installing the package.
838 # Also, you have to provide the instructions
839 # to build the package manager during the
840 # temporary tools phase, in the form of a
841 # sect1 of the book identical to a package
842 # sect1. See README.PACKAGE_MANAGEMENT
843 #
844 # For now, this only works with LFS
845
846 #--- End package management
847
848 #--- Installed files logs
849 config INSTALL_LOG
850 bool "Create a log of installed files for each package"
851 default n
852 help
853 #-- Select this if you want to create logs of the files
854 # installed by each package on the final system.
855
856 #--- End Installed files logs
857
858 config STRIP
859 bool "Strip Installed Binaries/Libraries"
860 default y
861 depends on !BOOK_CLFS3
862
863 config NO_PROGRESS_BAR
864 bool "DO NOT use/display progress_bar "
865 default n
866 help
867 #-- Do not use the progress bar routine. On slower machines
868 # this function consumes precious CPU cycles.
869
870#--- End Build Settings
871endmenu
872
873menu "--- System configuration
874
875 #--- FSTAB
876 config HAVE_FSTAB
877 bool "Use a custom fstab file"
878 default n
879 help
880 #-- Select this if you have an fstab file with entries
881 # for the target system
882
883 config FSTAB
884 string "Fstab file (optional)"
885 default "***EDIT ME***"
886 depends on HAVE_FSTAB
887 help
888 #-- The location of fstab file (if empty, a template is created)
889 #--- End FSTAB
890
891 #--- Kernel
892 config CONFIG_BUILD_KERNEL
893 bool "Build the kernel"
894 default n
895 help
896 #-- Select this option if you wish to build the kernel.
897 #
898 # You will be prompted for the full path to the .config
899 # file. It will be copied to the 'sources' directory and
900 # renamed kernel-config
901
902 config CONFIG
903 string "Kernel config file"
904 default "***EDIT ME***"
905 depends on CONFIG_BUILD_KERNEL
906 help
907 #-- Fully qualified path to a kernel config file
908 # The config file will be copied to ${BUILD_DIR}/sources
909 # and renamed 'kernel-config'
910 #--- End Kernel
911
912 config VIMLANG
913 bool "Install vim-lang package"
914 default n
915 depends on !BOOK_HLFS && !BOOK_CLFS3
916 help
917 #-- Install the optional vim-lang package
918 # NOTE: This option is obsolete with the 7.3 release of Vim
919 # which is included in all recent releases of LFS.
920
921 config TIMEZONE
922 string "TimeZone"
923 default "GMT"
924 help
925 #-- The timezone as output by tzselect
926 # This will be copied to /etc/localtime
927
928 config LANG
929 string "Language"
930 default "$LANG"
931 help
932 #-- LANG variable set in /etc/profile
933 # See http://sourceware.org/git/?p=glibc.git;a=blob;f=localedata/SUPPORTED
934 # for values (or the file localedata/SUPPORTED in glibc tarball)
935
936 config FULL_LOCALE
937 bool "Install the full set of locales"
938 default n
939 help
940 #-- If set to y, the full set of supported locales
941 # will be installed. Otherwise, only the minimal set
942 # necessary for the tests will be installed,
943 # together with the locale associated with the
944 # LANG you have chosen, if not in the minimal set.
945
946 #--- Groff page
947 choice
948 prompt "Groff page size"
949 default PAGE_LETTER
950 help
951 #-- Page definition for groff: letter or A4
952
953 config PAGE_LETTER
954 bool "letter"
955
956 config PAGE_A4
957 bool "A4"
958 endchoice
959
960 config PAGE
961 string
962 default "letter" if PAGE_LETTER
963 default "A4" if PAGE_A4
964 #--- End Groff page
965
966 config HOSTNAME
967 string "Hostname"
968 default "**EDITME**"
969
970 menu "Network configuration"
971 config INTERFACE
972 string "netword card name"
973 default "eth0"
974 config IP_ADDR
975 string "Static IP address"
976 default "10.0.2.9"
977 config GATEWAY
978 string "Gateway"
979 default "10.0.2.2"
980 config PREFIX
981 string "Subnet prefix"
982 default "24"
983 config BROADCAST
984 string "Broadcast address"
985 default "10.0.2.255"
986 config DOMAIN
987 string "Domain name"
988 default "lfs.org"
989 config DNS1
990 string "Primary Name server"
991 default "10.0.2.3"
992 config DNS2
993 string "Secondary Name server"
994 default "8.8.8.8"
995 endmenu # Network configuration
996
997 menu "Console configuration"
998 config FONT
999 string "Console font"
1000 default "lat0-16"
1001 config FONTMAP
1002 string "Font map (-m option to setfont)"
1003 default "8859-1"
1004 config UNICODE
1005 bool "Unicode mode"
1006 default y
1007 config KEYMAP
1008 string "Keymap name"
1009 default "us"
1010 endmenu # Console configuration
1011
1012endmenu #--- System configuration
1013
1014menu "--- Advanced Features"
1015
1016 config REPORT
1017 bool "Create SBU and disk usage report"
1018 default y
1019
1020 #--- ICA/farce
1021 config COMPARE
1022 bool "Run comparison analysis on final stage"
1023 depends !BOOK_CLFS2 && !BOOK_CLFS3
1024 default n
1025 help
1026 #-- Should an iterative comparison analysis be performed?
1027 #
1028 # Unless you are familiar with ICA and/or FARCE do not
1029 # select this option
1030 #
1031 # ICA and FARCE are analysis tools for comparing one
1032 # build to the next. Builds mays differ from one iteration
1033 # to another due to the build order and these tools try
1034 # to ferret out those differences by examining the stored
1035 # build logs and binary files.
1036 #
1037 # The scripts are well commented and can be found in ./extras/*
1038 #
1039
1040 config ITERATIONS
1041 int "Number of test runs (2,3,4,5)" if COMPARE
1042 depends on COMPARE
1043 range 2 5
1044 default 3
1045
1046 config RUN_ICA
1047 bool "ICA testing"
1048 depends on COMPARE
1049 default y
1050 help
1051 #-- Run ICA testing
1052
1053 config RUN_FARCE
1054 bool "farce testing"
1055 depends on COMPARE
1056 default n
1057 help
1058 #-- Run farce testing
1059 #--- End ICA/farce
1060
1061 #--- Optimizations
1062if !BOOK_CLFS2 && !BOOK_CLFS3
1063 config CONFIG_OPTIMIZE
1064 bool "Optimization and parallelization"
1065 default n
1066 help
1067 # Opens a menu for various optimization settings:
1068 # Actual optimization flags MUST be defined in ./optimize/*
1069 # before activating this option.
1070 #
1071 # WARNING: The use of build optimizations may lead to build issues.
1072 # If the system doesn't work as expected, please rebuild
1073 # without optimizations before asking for support.
1074 menu "Optimization settings"
1075 depends on CONFIG_OPTIMIZE
1076
1077 config N_PARALLEL
1078 int "Number of parallel `make' jobs"
1079 default 1
1080 help
1081 #-- The usual recommandation is (number of CPU cores)+1
1082 # Do not set for meaningful SBU calculations.
1083
1084 choice
1085 prompt "Optimization level "
1086 default OPT_1
1087 help
1088 #-- Optimization values are set in optimize/* files
1089
1090 config OPT_1
1091 bool "Final system only"
1092
1093 config OPT_2
1094 bool "Both temp tools and final system"
1095
1096 config OPT_3
1097 bool "Cross tools (only MAKEFLAGS), temp tools and final system" if BOOK_CLFS
1098 endchoice
1099endmenu
1100 config OPTIMIZE
1101 int
1102 default "0" if !CONFIG_OPTIMIZE
1103 default "1" if OPT_1
1104 default "2" if OPT_2
1105 default "3" if OPT_3
1106endif
1107 #--- End Optimizations
1108
1109 #-- Internal Settings
1110 menu "Internal Settings (WARNING: for jhalfs developers only)"
1111
1112 config SCRIPT_ROOT
1113 string "Scripts root"
1114 default "jhalfs"
1115
1116 config JHALFSDIR
1117 string "jhalfs directory"
1118 default "$BUILDDIR/$SCRIPT_ROOT"
1119
1120 config LOGDIRBASE
1121 string "Build logs directory basename"
1122 default "logs"
1123
1124 config LOGDIR
1125 string "Build logs directory"
1126 default "$JHALFSDIR/$LOGDIRBASE"
1127
1128 config TESTLOGDIRBASE
1129 string "Test suites logs directory basename"
1130 default "test-logs"
1131
1132 config TESTLOGDIR
1133 string "Test suites logs directory"
1134 default "$JHALFSDIR/$TESTLOGDIRBASE"
1135
1136 config FILELOGDIRBASE
1137 string "Installed files logs directory basename"
1138 default "installed-files"
1139
1140 config FILELOGDIR
1141 string "Installed files logs directory"
1142 default "$JHALFSDIR/$FILELOGDIRBASE"
1143
1144 config ICALOGDIR
1145 string "ICA logs directory"
1146 default "$LOGDIR/ICA"
1147
1148 config FARCELOGDIR
1149 string "farce logs directory"
1150 default "$LOGDIR/farce"
1151
1152 config MKFILE
1153 string "Makefile"
1154 default "$JHALFSDIR/Makefile"
1155
1156 config XSL
1157 string "XSL stylesheet"
1158 default "$PROGNAME.xsl"
1159
1160 config PKG_LST
1161 string "Package contents list"
1162 default "unpacked"
1163
1164 #--- End Internal Settings
1165 endmenu
1166
1167#--- End Advanced Features
1168endmenu
1169
1170config REBUILD_MAKEFILE
1171 bool "Rebuild the Makefile (see help)"
1172 default n
1173 help
1174 #-- Rebuild the Makefile
1175 #
1176 # This option allows to rebuild the Makefile after
1177 # customizing the base system build scripts.
1178 #
1179 # See README.CUSTOM for more info about this feature.
1180
Note: See TracBrowser for help on using the repository browser.