source: Config.in@ 6ed3dd7

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