source: Config.in@ 8010030

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

Merge trunk rev 3916:
Add the possibility to install BLFS tools to a running LFS from the jhalfs
menu:

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