source: Config.in@ bb2862d

2.4 ablfs-more legacy new_features trunk
Last change on this file since bb2862d was c4ad7bf, checked in by Pierre Labastie <pierre@…>, 11 years ago

Make the use of branches clearer, and allow branches to be used
for CLFS

  • Property mode set to 100644
File size: 27.5 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 final system Glibc, GCC and Binutils 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 choice
778 prompt "Tests level"
779 depends CONFIG_TESTS
780 default TST_1
781
782 config TST_1
783 bool "Only final critical testsuites" if !BOOK_CLFS2 && !BOOK_CLFS3
784
785 config TST_2
786 bool "All final system testsuites"
787
788 config TST_3
789 bool "Both temporary tools and final system testsuites" if !BOOK_HLFS && !BOOK_CLFS
790 endchoice
791
792 config TEST
793 int
794 default "0" if !CONFIG_TESTS
795 default "1" if TST_1
796 default "2" if TST_2
797 default "3" if TST_3
798
799 choice
800 prompt "Flavour"
801 depends CONFIG_TESTS
802
803 config NO_BOMB
804 bool "Don't stop on testsuite failures"
805
806 config BOMB
807 bool "Abort the build on the first testsuite failure"
808 endchoice
809
810 config BOMB_TEST
811 bool
812 default n if NO_BOMB
813 default y if BOMB
814
815 #--- End Test Suites
816
817 #--- Package Management
818 config PKGMNGT
819 bool "Package management"
820 depends BOOK_LFS
821 default n
822 help
823 #-- Use package management
824 #
825 # If set, the packages in the final phase are built
826 # in a separate directory, PKG_DEST.
827 # You should provide a bash function for packing
828 # and installing the package.
829 # Also, you have to provide the instructions
830 # to build the package manager during the
831 # temporary tools phase, in the form of a
832 # sect1 of the book identical to a package
833 # sect1. See README.PACKAGE_MANAGEMENT
834 #
835 # For now, this only works with LFS
836
837 #--- End package management
838
839 #--- Installed files logs
840 config INSTALL_LOG
841 bool "Create a log of installed files for each package"
842 default n
843 help
844 #-- Select this if you want to create logs of the files
845 # installed by each package on the final system.
846
847 #--- End Installed files logs
848
849 #--- FSTAB
850 config HAVE_FSTAB
851 bool "Use a custom fstab file"
852 default n
853 help
854 #-- Select this if you have an fstab file with entries
855 # for the target system
856
857 config FSTAB
858 string "Fstab file (optional)"
859 default "***EDIT ME***"
860 depends on HAVE_FSTAB
861 help
862 #-- The location of fstab file (if empty, a template is created)
863 #--- End FSTAB
864
865 #--- Kernel
866 config CONFIG_BUILD_KERNEL
867 bool "Build the kernel"
868 default n
869 help
870 #-- Select this option if you wish to build the kernel.
871 #
872 # You will be prompted for the full path to the .config
873 # file. It will be copied to the 'sources' directory and
874 # renamed kernel-config
875
876 config CONFIG
877 string "Kernel config file"
878 default "***EDIT ME***"
879 depends on CONFIG_BUILD_KERNEL
880 help
881 #-- Fully qualified path to a kernel config file
882 # The config file will be copied to ${BUILD_DIR}/sources
883 # and renamed 'kernel-config'
884 #--- End Kernel
885
886 config STRIP
887 bool "Strip Installed Binaries/Libraries"
888 default y
889 depends on !BOOK_CLFS3
890
891 config VIMLANG
892 bool "Install vim-lang package"
893 default n
894 depends on !BOOK_HLFS && !BOOK_CLFS3
895 help
896 #-- Install the optional vim-lang package
897 # NOTE: This option is obsolete with the 7.3 release of Vim
898 # which is included in all recent releases of LFS.
899
900 config NO_PROGRESS_BAR
901 bool "DO NOT use/display progress_bar "
902 default n
903 help
904 #-- Do not use the progress bar routine. On slower machines
905 # this function consumes precious CPU cycles.
906
907 config TIMEZONE
908 string "TimeZone"
909 default "GMT"
910 help
911 #-- The timezone as output by tzselect
912 # This will be copied to /etc/localtime
913
914 config LANG
915 string "Language"
916 default "$LANG"
917 help
918 #-- LANG variable set in /etc/profile
919 # See http://sourceware.org/git/?p=glibc.git;a=blob;f=localedata/SUPPORTED
920 # for values (or the file localedata/SUPPORTED in glibc tarball)
921
922 config FULL_LOCALE
923 bool "Install the full set of locales"
924 default n
925 help
926 #-- If set to y, the full set of supported locales
927 # will be installed. Otherwise, only the minimal set
928 # necessary for the tests will be installed,
929 # together with the locale associated with the
930 # LANG you have chosen, if not in the minimal set.
931
932 #--- Groff page
933 choice
934 prompt "Groff page size"
935 default PAGE_LETTER
936 help
937 #-- Page definition for groff: letter or A4
938
939 config PAGE_LETTER
940 bool "letter"
941
942 config PAGE_A4
943 bool "A4"
944 endchoice
945
946 config PAGE
947 string
948 default "letter" if PAGE_LETTER
949 default "A4" if PAGE_A4
950 #--- End Groff page
951
952#--- End Build Settings
953endmenu
954
955menu "--- Advanced Features"
956
957 config REPORT
958 bool "Create SBU and disk usage report"
959 default y
960
961 #--- ICA/farce
962 config COMPARE
963 bool "Run comparison analysis on final stage"
964 depends !BOOK_CLFS2 && !BOOK_CLFS3
965 default n
966 help
967 #-- Should an iterative comparison analysis be performed?
968 #
969 # Unless you are familiar with ICA and/or FARCE do not
970 # select this option
971 #
972 # ICA and FARCE are analysis tools for comparing one
973 # build to the next. Builds mays differ from one iteration
974 # to another due to the build order and these tools try
975 # to ferret out those differences by examining the stored
976 # build logs and binary files.
977 #
978 # The scripts are well commented and can be found in ./extras/*
979 #
980
981 config ITERATIONS
982 int "Number of test runs (2,3,4,5)" if COMPARE
983 depends on COMPARE
984 range 2 5
985 default 3
986
987 config RUN_ICA
988 bool "ICA testing"
989 depends on COMPARE
990 default y
991 help
992 #-- Run ICA testing
993
994 config RUN_FARCE
995 bool "farce testing"
996 depends on COMPARE
997 default n
998 help
999 #-- Run farce testing
1000 #--- End ICA/farce
1001
1002 #--- Optimizations
1003if !BOOK_CLFS2 && !BOOK_CLFS3
1004 config CONFIG_OPTIMIZE
1005 bool "Optimization and parallelization"
1006 default n
1007 help
1008 # Opens a menu for various optimization settings:
1009 # Actual optimization flags MUST be defined in ./optimize/*
1010 # before activating this option.
1011 #
1012 # WARNING: The use of build optimizations may lead to build issues.
1013 # If the system doesn't work as expected, please rebuild
1014 # without optimizations before asking for support.
1015 menu "Optimization settings"
1016 depends on CONFIG_OPTIMIZE
1017
1018 config N_PARALLEL
1019 int "Number of parallel `make' jobs"
1020 default 1
1021 help
1022 #-- The usual recommandation is (number of CPU cores)+1
1023 # Do not set for meaningful SBU calculations.
1024
1025 choice
1026 prompt "Optimization level "
1027 default OPT_1
1028 help
1029 #-- Optimization values are set in optimize/* files
1030
1031 config OPT_1
1032 bool "Final system only"
1033
1034 config OPT_2
1035 bool "Both temp tools and final system"
1036
1037 config OPT_3
1038 bool "Cross tools (only MAKEFLAGS), temp tools and final system" if BOOK_CLFS
1039 endchoice
1040endmenu
1041 config OPTIMIZE
1042 int
1043 default "0" if !CONFIG_OPTIMIZE
1044 default "1" if OPT_1
1045 default "2" if OPT_2
1046 default "3" if OPT_3
1047endif
1048 #--- End Optimizations
1049
1050 #-- Internal Settings
1051 menu "Internal Settings (WARNING: for jhalfs developers only)"
1052
1053 config SCRIPT_ROOT
1054 string "Scripts root"
1055 default "jhalfs"
1056
1057 config JHALFSDIR
1058 string "jhalfs directory"
1059 default "$BUILDDIR/$SCRIPT_ROOT"
1060
1061 config LOGDIRBASE
1062 string "Build logs directory basename"
1063 default "logs"
1064
1065 config LOGDIR
1066 string "Build logs directory"
1067 default "$JHALFSDIR/$LOGDIRBASE"
1068
1069 config TESTLOGDIRBASE
1070 string "Test suites logs directory basename"
1071 default "test-logs"
1072
1073 config TESTLOGDIR
1074 string "Test suites logs directory"
1075 default "$JHALFSDIR/$TESTLOGDIRBASE"
1076
1077 config FILELOGDIRBASE
1078 string "Installed files logs directory basename"
1079 default "installed-files"
1080
1081 config FILELOGDIR
1082 string "Installed files logs directory"
1083 default "$JHALFSDIR/$FILELOGDIRBASE"
1084
1085 config ICALOGDIR
1086 string "ICA logs directory"
1087 default "$LOGDIR/ICA"
1088
1089 config FARCELOGDIR
1090 string "farce logs directory"
1091 default "$LOGDIR/farce"
1092
1093 config MKFILE
1094 string "Makefile"
1095 default "$JHALFSDIR/Makefile"
1096
1097 config XSL
1098 string "XSL stylesheet"
1099 default "$PROGNAME.xsl"
1100
1101 config PKG_LST
1102 string "Package contents list"
1103 default "unpacked"
1104
1105 #--- End Internal Settings
1106 endmenu
1107
1108#--- End Advanced Features
1109endmenu
1110
1111config REBUILD_MAKEFILE
1112 bool "Rebuild the Makefile (see help)"
1113 default n
1114 help
1115 #-- Rebuild the Makefile
1116 #
1117 # This option allows to rebuild the Makefile after
1118 # customizing the base system build scripts.
1119 #
1120 # See README.CUSTOM for more info about this feature.
1121
Note: See TracBrowser for help on using the repository browser.