source: Config.in@ 04952c63

new_features
Last change on this file since 04952c63 was 04952c63, checked in by Pierre Labastie <pierre@…>, 8 years ago

Merge trunk up to revision 3866

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