source: Config.in@ fcb78f4

ablfs-more legacy trunk
Last change on this file since fcb78f4 was 085435e, checked in by Pierre Labastie <pierre@…>, 5 years ago

Remove the obsolete vim-lang instructions and variable, and add non-wide-
charater ncurses library

  • Property mode set to 100644
File size: 40.4 KB
Line 
1# $Id$
2menu "BOOK Settings"
3
4 #--- BOOK/script
5 choice
6 prompt "Use BOOK"
7 default BOOK_LFS
8 help
9 Select the book where build instructions are retrieved.
10
11 config BOOK_LFS
12 bool "Linux From Scratch System V"
13 help
14 Set up the tools to build LFS with Sys V init.
15
16 config BOOK_LFS_SYSD
17 bool "Linux From Scratch systemd"
18 help
19 Set up the tools to build LFS with systemd init.
20
21 config BOOK_CLFS
22 bool "Cross-Compiled Linux From Scratch"
23 help
24 Set up the tools to build CLFS.
25
26 config BOOK_CLFS2
27 bool "Cross-Compiled Linux From Scratch (Sysroot method)"
28 help
29 Set up the tools to build CLFS by the sysroot method.
30
31 config BOOK_CLFS3
32 bool "Cross-Compiled Linux From Scratch (Embedded Systems)"
33 help
34 Set up the tools to build CLFS with tools for embedded systems.
35
36 config BOOK_BLFS
37 bool "Beyond Linux From Scratch (see help)"
38 help
39 if the (C)LFS system has already been built, install the tools
40 to build BLFS packages.
41 endchoice
42
43 choice
44 depends on BOOK_BLFS
45 prompt "Init system"
46
47 config BLFS_SYSV
48 bool "BLFS Sys V"
49 help
50 Extract the Sys V flavour of the BLFS book
51
52 config BLFS_SYSD
53 bool "BLFS systemd"
54 help
55 Extract the systemd flavour of the BLFS book
56
57 endchoice
58
59 config INITSYS
60 string
61 default "sysv" if BOOK_LFS || BLFS_SYSV
62 default "systemd" if BOOK_LFS_SYSD || BLFS_SYSD
63
64 config PROGNAME
65 string
66 default "lfs" if BOOK_LFS || BOOK_LFS_SYSD
67 default "clfs" if BOOK_CLFS
68 default "clfs2" if BOOK_CLFS2
69 default "clfs3" if BOOK_CLFS3
70
71 config RUN_ME
72 string
73 default "./jhalfs run" if BOOK_LFS || BOOK_LFS_SYSD || BOOK_CLFS || \
74 BOOK_CLFS2 || BOOK_CLFS_3
75 default "./install-blfs-tools.sh auto" if BOOK_BLFS
76 #--- End BOOK/script
77
78 #--- Book version
79 choice
80 prompt "Release"
81 default relSVN if BOOK_LFS || BOOK_LFS_SYSD || BOOK_BLFS
82 default relGIT if BOOK_CLFS || BOOK_CLFS2 || BOOK_CLFS3
83
84 config relSVN
85 bool "SVN"
86 depends on BOOK_LFS || BOOK_BLFS || BOOK_LFS_SYSD
87 help
88 Current development version as in trunk
89
90 config relGIT
91 bool "GIT"
92 depends on BOOK_CLFS || BOOK_CLFS2 || BOOK_CLFS3
93 help
94 Current development git master branch
95
96 config WORKING_COPY
97 bool "Working Copy"
98 help
99 A local working copy
100
101 config BRANCH
102 bool "Branch or stable book" if !BOOK_CLFS2 && !BOOK_CLFS3
103 help
104 A supported SVN/GIT branch or stable released book
105 endchoice
106
107 config BRANCH_ID
108 string "Branch (preceded by \"branch-\"), stable Version, or tag"
109 default "**EDIT ME**"
110 depends on BRANCH
111 help
112 A list of valid branches and stable book IDs is available at
113 http://wiki.linuxfromscratch.org/alfs/wiki/SupportedBooks
114
115 Enter "branch-XXX" for branch XXX, or just "YYY" for stable (or tag)
116 YYY version.
117
118 config BOOK
119 string "Loc of working copy (mandatory)"
120 default "**EDIT ME**"
121 depends on WORKING_COPY
122 help
123 The full path to a local copy of the book XML sources
124
125 #--- End BOOK version
126
127 #--- CLFS specific params
128 choice
129 prompt "Target architecture"
130 default ARCH_X86
131 depends on BOOK_CLFS || BOOK_CLFS2 || BOOK_CLFS3
132 help
133 Choose the target system base architecture
134
135 config ARCH_X86
136 bool "x86"
137
138 config ARCH_MIPS
139 bool "mips" if !BOOK_CLFS2
140
141 config ARCH_PPC
142 bool "ppc" if BOOK_CLFS
143
144 config ARCH_SPARC
145 bool "sparc" if BOOK_CLFS
146
147 config ARCH_ALPHA
148 bool "alpha" if !BOOK_CLFS3
149
150 config ARCH_ARM
151 bool "arm" if !BOOK_CLFS
152
153 config ARCH_HPPA
154 bool "hppa" if BOOK_CLFS2
155 endchoice
156
157 choice
158 prompt "Hardware Platform"
159 depends on BOOK_CLFS3 && ARCH_MIPS
160 default PLATFORM_GENERIC
161 help
162 Choose a destination platform
163 Platform specific files will be included
164
165 config PLATFORM_GENERIC
166 bool "Generic platform"
167
168 config PLATFORM_WRT
169 bool "WRT - MIPS based wireless router" if ARCH_MIPS
170 endchoice
171
172 choice
173 prompt "Library"
174 depends on (BOOK_CLFS && !ARCH_ALPHA) || (BOOK_CLFS3 && ARCH_MIPS)
175 default DATA_32
176 help
177 Choose the target system libraries type
178
179 config DATA_32
180 bool "32-bit"
181
182 config DATA_64
183 bool "64-bit"
184
185 config DATA_MULTI
186 bool "multilib" if !(BOOK_CLFS3 && ARCH_MIPS )
187 endchoice
188
189 choice
190 prompt "Processor type"
191 depends on (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))
192 help
193 Choose the target system processor
194
195 config PROC_i486
196 bool "486 Compatibles" if ARCH_X86
197
198 config PROC_i586
199 bool "Pentium, K6, 586 Compatibles" if ARCH_X86
200
201 config PROC_i686
202 bool "Pentium II, Pentium III, Pentium 4, Athlon, Duron" if ARCH_X86
203
204 config PROC_mipsel
205 bool "MIPS Little Endian" if ARCH_MIPS
206
207 config PROC_mips
208 bool "MIPS Big Endian" if ARCH_MIPS
209
210 config PROC_unknown
211 bool "Unknown" if ARCH_HPPA || ARCH_ALPHA
212
213 config PROC_hppa1
214 bool "PA 7000 Series" if ARCH_HPPA
215
216 config PROC_hppa2
217 bool "PA 8000 Series" if ARCH_HPPA
218
219 config PROC_EV5
220 bool "EV5 Series" if ARCH_ALPHA
221
222 config PROC_EV56
223 bool "EV56 Series" if ARCH_ALPHA
224
225 config PROC_PCA56
226 bool "PCA56 Series" if ARCH_ALPHA
227
228 config PROC_PCA57
229 bool "PCA57 Series" if ARCH_ALPHA
230
231 config PROC_EV6
232 bool "EV6 Series" if ARCH_ALPHA
233
234 config PROC_EV67
235 bool "EV67 Series" if ARCH_ALPHA
236
237 config PROC_EV68
238 bool "EV68 Series" if ARCH_ALPHA
239
240 config PROC_ARM
241 bool "Generic arm, little endian" if ARCH_ARM
242
243 config PROC_ARM5L
244 bool "Generic arm, version 5, little endian" if ARCH_ARM
245
246 config PROC_ARM5B
247 bool "Generic arm, version 5, big endian" if ARCH_ARM
248
249 config PROC_ULTRA1
250 bool "UtraSparc" if ARCH_SPARC && (DATA_64 || DATA_MULTI)
251
252 config PROC_ULTRA2
253 bool "UtraSparc2" if ARCH_SPARC && (DATA_64 || DATA_MULTI)
254
255 config PROC_ULTRA3
256 bool "UtraSparc3" if ARCH_SPARC && (DATA_64 || DATA_MULTI)
257 endchoice
258
259 choice
260 prompt "MIPS 64 ABI"
261 depends on BOOK_CLFS3 && ARCH_MIPS && DATA_64
262 default ABI_64
263 help
264 Choose the target system ABI to use
265
266 config ABI_32
267 bool "o32"
268
269 config ABI_N32
270 bool "n32"
271
272 config ABI_64
273 bool "n64"
274 endchoice
275
276 config TARGET
277 string
278 default "i486-pc-linux-gnu" if !BOOK_CLFS3 && PROC_i486
279 default "i586-pc-linux-gnu" if !BOOK_CLFS3 && PROC_i586
280 default "i686-pc-linux-gnu" if !BOOK_CLFS3 && PROC_i686
281
282 default "i486-pc-linux-uclibc" if BOOK_CLFS3 && PROC_i486
283 default "i586-pc-linux-uclibc" if BOOK_CLFS3 && PROC_i586
284 default "i686-pc-linux-uclibc" if BOOK_CLFS3 && PROC_i686
285
286 default "x86_64-unknown-linux-gnu" if ARCH_X86 && (DATA_64 || DATA_MULTI)
287
288 default "mipsel-unknown-linux-gnu" if !BOOK_CLFS3 && PROC_mipsel && DATA_32
289 default "mips-unknown-linux-gnu" if !BOOK_CLFS3 && PROC_mips && DATA_32
290 default "mips64el-unknown-linux-gnu" if !BOOK_CLFS3 && PROC_mipsel && (DATA_64 || DATA_MULTI)
291 default "mips64-unknown-linux-gnu" if !BOOK_CLFS3 && PROC_mips && (DATA_64 || DATA_MULTI)
292
293 default "mipsel-unknown-linux-uclibc" if BOOK_CLFS3 && PROC_mipsel && DATA_32
294 default "mips-unknown-linux-uclibc" if BOOK_CLFS3 && PROC_mips && DATA_32
295 default "mips64el-unknown-linux-uclibc" if BOOK_CLFS3 && PROC_mipsel && DATA_64
296 default "mips64-unknown-linux-uclibc" if BOOK_CLFS3 && PROC_mips && DATA_64
297
298 default "powerpc-unknown-linux-gnu" if ARCH_PPC && DATA_32
299 default "powerpc64-unknown-linux-gnu" if ARCH_PPC && (DATA_MULTI || DATA_64)
300
301 default "sparc-unknown-linux-gnu" if ARCH_SPARC && DATA_32
302 default "sparc64-unknown-linux-gnu" if ARCH_SPARC && (DATA_64 || DATA_MULTI)
303
304 default "hppa-unknown-linux-gnu" if PROC_unknown && ARCH_HPPA
305 default "hppa1.1-unknown-linux-gnu" if PROC_hppa1
306 default "hppa2.0-unknown-linux-gnu" if PROC_hppa2
307
308 default "arm-unknown-linux-gnueabi" if ARCH_ARM && BOOK_CLFS2
309
310 default "arm-unknown-linux-uclibc" if PROC_ARM
311 default "armv5l-unknown-linux-uclibc" if PROC_ARM5L
312 default "armv5b-unknown-linux-uclibc" if PROC_ARM5B
313
314 default "alpha-unknown-linux-gnu" if PROC_unknown && ARCH_ALPHA
315 default "alphaev5-unknown-linux-gnu" if PROC_EV5
316 default "alphaev56-unknown-linux-gnu" if PROC_EV56
317 default "alphapca56-unknown-linux-gnu" if PROC_PCA56
318 default "alphapca57-unknown-linux-gnu" if PROC_PCA57
319 default "alphaev6-unknown-linux-gnu" if PROC_EV6
320 default "alphaev67-unknown-linux-gnu" if PROC_EV67
321 default "alphaev68-unknown-linux-gnu" if PROC_EV68
322
323 config TARGET32
324 string
325 depends on DATA_MULTI
326 default "i686-pc-linux-gnu" if ARCH_X86
327 default "mipsel-unknown-linux-gnu" if PROC_mipsel
328 default "mips-unknown-linux-gnu" if PROC_mips
329 default "sparc-unknown-linux-gnu" if ARCH_SPARC
330 default "powerpc-unknown-linux-gnu" if ARCH_PPC
331
332 config PLATFORM
333 string
334 default "GENERIC" if (!BOOK_CLFS3) || PLATFORM_GENERIC
335 default "WRT - Wireless Router" if PLATFORM_WRT
336
337 config SPARC64_PROC
338 string
339 default "none" if !(ARCH_SPARC && (DATA_64 || DATA_MULTI))
340 default "1" if PROC_ULTRA1
341 default "2" if PROC_ULTRA2
342 default "3" if PROC_ULTRA3
343
344 config ARCH
345 string
346 default "x86" if ARCH_X86 && (DATA_32 || BOOK_CLFS2 || BOOK_CLFS3)
347 default "x86_64" if ARCH_X86 && DATA_MULTI
348 default "x86_64-64" if ARCH_X86 && DATA_64
349
350 default "wrt" if PLATFORM_WRT && BOOK_CLFS3
351
352 default "mips" if ARCH_MIPS && (DATA_32 || BOOK_CLFS3)
353 default "mips64" if ARCH_MIPS && DATA_MULTI
354 default "mips64-64" if ARCH_MIPS && DATA_64 && BOOK_CLFS
355
356
357 default "ppc" if ARCH_PPC && DATA_32
358 default "ppc64" if ARCH_PPC && DATA_MULTI
359 default "ppc64-64" if ARCH_PPC && DATA_64
360
361 default "sparc" if ARCH_SPARC && DATA_32
362 default "sparc64" if ARCH_SPARC && DATA_MULTI
363 default "sparc64-64" if ARCH_SPARC && DATA_64
364
365 default "alpha" if ARCH_ALPHA
366 default "arm" if ARCH_ARM
367 default "hppa" if ARCH_HPPA
368
369 config MIPS_LEVEL
370 string
371 depends on BOOK_CLFS3 && ARCH_MIPS
372 default "1" if DATA_32
373 default "3" if DATA_64
374
375 config ABI
376 string
377 depends on BOOK_CLFS3
378 default "-m32" if ARCH_X86 || ARCH_ARM
379# default "-m64" if NO USED YET IN THE BOOK
380 default "-mabi=32" if ABI_32 || (ARCH_MIPS && DATA_32)
381 default "-mabi=n32" if ABI_N32
382 default "-mabi=64" if ABI_64
383
384 config ENDIAN
385 string
386 depends on BOOK_CLFS3 && (ARCH_MIPS || ARCH_ARM)
387 default "little" if PROC_mipsel || PROC_ARM || PROC_ARM5L
388 default "big" if PROC_mips || PROC_ARM5B
389
390 choice
391 prompt "Build method"
392 depends on BOOK_CLFS
393 help
394 What build method should be used: a chroot jail or minimal boot
395 system. Review the Cross-LFS book chap6 "TO BOOT OR CHROOT" for
396 a full explanation.
397
398 config BUILD_CHROOT
399 bool "chroot"
400
401 config BUILD_BOOT
402 bool "boot"
403 endchoice
404
405 config METHOD
406 string
407 default "chroot" if BUILD_CHROOT
408 default "boot" if BUILD_BOOT
409
410 config BOOT_CONFIG
411 string "BOOT kernel config file (mandatory)"
412 default "***EDIT ME***"
413 depends on BUILD_BOOT
414 help
415 If METHOD=boot, location of boot-kernel config file
416 The config file will be copied to ${BUILD_DIR}/sources
417 and renamed 'bootkernel-config'
418 NOTE: this setting is required
419 #--- End CLFS specific params
420
421 #--- blfs-tool Support
422 config BLFS_TOOL
423 bool "Add blfs-tool support"
424 default n
425 depends on !BOOK_CLFS3 && !BOOK_BLFS
426 help
427 Activating this option will install additional packages needed
428 to use blfs tools after booting the new system.
429 The blfs-tool files will be installed under $BUILD_DIR/blfs_root
430 (see below).
431 After booting the new xLFS system, but before using the blfs tools,
432 you should create a user account, move the /blfs_root directory
433 to that user's home, and change its ownership to that of the user.
434 Also, be sure to give the user read and write access on the
435 $TRACKING_DIR directory and the files that it contains.
436 Don't forget to configure sudo properly on the new system.
437
438 config DUMMY # Avoid indenting the items below
439 bool
440
441 if BLFS_TOOL
442 menu "blfs-tool dependencies"
443
444 config DEP_LIBXML
445 bool "libxml2 (required)"
446 default y
447
448 config DEP_LIBXSLT
449 bool "libxslt (required)"
450 default y
451
452 config DEP_DBXML
453 bool "DocBook XML DTD (required)"
454 default y
455
456 config DEP_LYNX
457 bool "lynx (optional, for reading the generated book)"
458 default y
459
460 config DEP_SUDO
461 bool "sudo (recommended)"
462 default y
463
464 config DEP_WGET
465 bool "wget (recommended)"
466 default y
467
468 config DEP_GPM
469 bool "GPM (optional, see help)"
470 default n
471 help
472 if you install gpm, it will be started
473 automatically on boot. It allows copy-paste
474 while Xorg is not installed.
475
476 config DEP_SVN
477 bool "SVN client (optional, see help)"
478 default n
479 help
480 Subversion is needed for updating the book
481 sources. You do not need it if building a
482 stable book.
483
484 endmenu
485
486 choice
487 prompt "BLFS Release"
488 default BLFS_SVN
489
490 config BLFS_SVN
491 bool "BLFS SVN"
492 help
493 Current development version as in trunk
494
495 config BLFS_WORKING_COPY
496 bool "BLFS working copy"
497 help
498 A local working copy of the BLFS book.
499
500 config BLFS_BRANCH
501 bool "BLFS Branch or stable book"
502 help
503 A supported SVN branch or stable book release
504 endchoice
505
506 config BLFS_WC_LOCATION
507 string "Location of the local BLFS working copy (mandatory)"
508 default "**EDIT ME**"
509 depends on BLFS_WORKING_COPY
510 help
511 Full path to the BLFS book working copy
512
513 config BLFS_BRANCH_ID
514 string "BLFS Book Version (mandatory)"
515 default "**EDIT ME**"
516 depends on BLFS_BRANCH
517 help
518 A list of valid branches and stable book IDs is available at
519 http://wiki.linuxfromscratch.org/alfs/wiki/SupportedBooks.
520 endif
521 #--- End blfs-tool Support
522
523 #--- BLFS params (Used for installing the tools, either after a jhalfs run
524 # or directly)
525 config BLFS_ROOT
526 string "Root of the tools directory (see help)"
527 default "/blfs_root"
528 depends on BLFS_TOOL || BOOK_BLFS
529 help
530 Path to the directory where all required files and scripts
531 will be stored.
532
533 This path must begin with a slash, and:
534 - is relative to the user's HOME directory when installing the
535 blfs tools on an already existing LFS system.
536 - is relative to the root of the build directory (`/' in chroot)
537 when adding the tools after a jhalfs run
538
539 CAUTION: this directory will be removed if it already exists.
540
541 config BLFS_XML
542 string "BLFS sources directory (internal parameter)"
543 default "blfs-xml"
544 depends on BLFS_TOOL || BOOK_BLFS
545 help
546 The directory name under $BLFS_ROOT where the BLFS
547 book sources will be copied or checked out. Do not change that
548 unless you know what you are doing...
549
550 config LFS_XML
551 string "LFS sources directory (internal parameter)"
552 default "lfs-xml"
553 depends on BLFS_TOOL || BOOK_BLFS
554 help
555 The directory name under $BLFS_ROOT where the LFS
556 book sources will be copied or checked out. Do not change that
557 unless you know what you are doing...
558
559 choice
560 prompt "LFS Release"
561 default LFS_relSVN
562 depends on BOOK_BLFS
563
564 config LFS_relSVN
565 bool "LFS SVN"
566 help
567 Current development version as in trunk
568
569 config LFS_WORKING_COPY
570 bool "LFS working copy"
571 help
572 A local working copy of the LFS book.
573
574 config LFS_BRANCH
575 bool "LFS Branch or stable book"
576 help
577 A supported SVN branch or stable book release
578 endchoice
579
580 config BLFS_LFS_BOOK
581 string "Location of the local LFS working copy (mandatory)"
582 default "**EDIT ME**"
583 depends on LFS_WORKING_COPY
584 help
585 Full path to the LFS book working copy"
586
587 config BLFS_LFS_BRANCH_ID
588 string "LFS Book Version (mandatory)"
589 default "**EDIT ME**"
590 depends on LFS_BRANCH
591 help
592 A list of valid branches and stable book IDs is available at
593 http://wiki.linuxfromscratch.org/alfs/wiki/SupportedBooks.
594 # End of BLFS parameters
595
596 #--- Custom Tools support
597 config CUSTOM_TOOLS
598 depends on !BOOK_BLFS
599 bool "Add custom tools support"
600 default n
601 help
602 Activating this option additional packages you create
603 will be installed after finished the xLFS system build.
604 #--- End Custom Tools support
605
606 #--- This direcotry is needed for blfs tools installation and custom tools
607 # As well.
608 config TRACKING_DIR
609 string "Installed packages database directory"
610 default "/var/lib/jhalfs/BLFS"
611 depends on BOOK_BLFS || BLFS_TOOL || CUSTOM_TOOLS
612 help
613 Full path to the directory where the database of
614 installed packages will be created.
615
616 If the blfs tools are installed on a running xLFS system,
617 the user must have enough privileges to create this directory.
618 It may be necessary to create the /var/lib/jhalfs directory as
619 root, and make it writable by the user before running this tool.
620
621 If you are installing the blfs tools as part of an xLFS build
622 and/or using the customized scripts feature, you will
623 need to fix this directory's permissions after booting
624 the new system.
625
626 Note that the user that will build the packages must
627 have read and write access to this directory.
628
629#--- End BOOK Settings
630endmenu
631
632menu "General Settings"
633depends on !BOOK_BLFS
634
635 #--- {C,H,}LFS User Account
636
637 config LUSER
638 string
639 default "lfs" if BOOK_LFS || BOOK_LFS_SYSD
640 default "clfs" if BOOK_CLFS || BOOK_CLFS2 || BOOK_CLFS3
641 default "hlfs" if BOOK_HLFS
642
643 config LGROUP
644 string
645 default LUSER
646
647 config LHOME
648 string
649 default "/home"
650
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 on 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 on 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 on 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 on 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 on 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 on !BOOK_BLFS
733
734 #--- Test Suites
735 config CONFIG_TESTS
736 bool "Run testsuites"
737 depends on !BOOK_CLFS2 && !BOOK_CLFS3
738 default y
739 help
740 #-- Run test suites
741 # If you select 'y' here:
742 # You will have to select between:
743 # - Only critical final system testsuites
744 # - All final system testsuites
745 # - Both temporary tools and final system testsuites
746 # You will be prompted also about the "flavour" of the
747 # testsuites run:
748 # - Don't stop on test suite failures
749 # - Abort the build at the first test suite failure
750 #
751 # Note that in any case, all the test instructions will
752 # be generated. Those which are not wanted will be commented
753 # out. If you select 'n' here, the commented test instructions
754 # do not stop on test suite failures.
755 #
756 # HLFS and CLFS have no testsuites available in the
757 # temporary tools phase
758
759 menu "Test settings"
760 depends on CONFIG_TESTS
761 choice
762 prompt "Tests level"
763 default TST_1
764
765 config TST_1
766 bool "Only final system critical testsuites"
767 help
768 #-- Critical tests:
769 # Only Glibc, Binutils, GMP, MPFR, MPC and GCC
770 # testsuites for final system. The others are commented
771 # out.
772
773 config TST_2
774 bool "All final system testsuites"
775 help
776 #-- All final system test suites:
777 # Test instructions for the temporary tools (if available)
778 # are commented out.
779
780 config TST_3
781 bool "All testsuites" if !BOOK_HLFS && !BOOK_CLFS
782 help
783 #-- All tests:
784 # Runs all the testsuites for both temporary tools (if
785 # available) and final system
786 endchoice
787
788 choice
789 prompt "Flavour"
790
791 config NO_BOMB
792 bool "Don't stop on test failures"
793
794 config BOMB
795 bool "Abort the build on the first test failure"
796 endchoice
797
798 endmenu # test settings
799
800 config TEST
801 int
802 default "0" if !CONFIG_TESTS
803 default "1" if TST_1
804 default "2" if TST_2
805 default "3" if TST_3
806
807 config BOMB_TEST
808 bool
809 default n if NO_BOMB
810 default y if BOMB
811 #--- End Test Suites
812
813 #--- Package Management
814 config PKGMNGT
815 bool "Package management"
816 depends on BOOK_LFS || BOOK_LFS_SYSD
817 default n
818 help
819 #-- Use package management
820 #
821 # If set, you'll have to choose between
822 # two package management styles:
823 # - Build and install:
824 # the packages in the final phase are built
825 # in a separate directory, PKG_DEST.
826 # You should provide a bash function for
827 # packaging and installing the package.
828 # - Preload a library before install:
829 # Run the install instructions inside a
830 # wrapper command, which monitors the
831 # installed files.
832 #
833 # Also, you have to provide the instructions
834 # to build the package manager during the
835 # temporary tools phase, in the form of a
836 # sect1 of the book identical to a package
837 # sect1. See README.PACKAGE_MANAGEMENT
838 #
839 # For now, this only works with LFS
840 choice
841 depends on PKGMNGT
842 prompt "Package management style"
843 default PKG_PACK
844
845 config PKG_PACK
846 bool "Build and pack (pacman or dpkg style)"
847
848 config LIB_LOAD
849 bool "Preload a library before installing (porg style)"
850 endchoice
851
852 config WRAP_INSTALL
853 bool
854 default y if LIB_LOAD
855 default n if PKG_PACK
856 #--- End package management
857
858 #--- Installed files logs
859 config INSTALL_LOG
860 bool "Create a log of installed files for each package"
861 default n
862 help
863 #-- Select this if you want to create logs of the files
864 # installed by each package on the final system.
865
866 #--- End Installed files logs
867
868 config STRIP
869 bool "Strip Installed Binaries/Libraries"
870 default n
871 depends on !BOOK_CLFS3
872
873 config DEL_LA_FILES
874 bool "Remove libtool .la files"
875 default y
876 help
877 #-- Remove files libxxx.la installed by libtool. For a rationale
878 # see https://blog.flameeyes.eu/tags/lafiles/
879
880 config NO_PROGRESS_BAR
881 bool "DO NOT use/display progress_bar"
882 default n
883 help
884 #-- Do not use the progress bar routine. On slower machines
885 # this function consumes precious CPU cycles.
886
887#--- End Build Settings
888endmenu
889
890menu "System configuration"
891 depends on !BOOK_BLFS
892
893 #--- FSTAB
894 config HAVE_FSTAB
895 bool "Use a custom fstab file"
896 default n
897 help
898 #-- Select this if you have an fstab file with entries
899 # for the target system
900
901 config FSTAB
902 string "Fstab file (optional)"
903 default "***EDIT ME***"
904 depends on HAVE_FSTAB
905 help
906 #-- The location of fstab file (if empty, a template is created)
907 #--- End FSTAB
908
909 #--- Kernel
910 config CONFIG_BUILD_KERNEL
911 bool "Build the kernel"
912 default n
913 help
914 #-- Select this option if you wish to build the kernel.
915 #
916 # You will be prompted for the full path to the .config
917 # file. It will be copied to the 'sources' directory and
918 # renamed kernel-config
919
920 config CONFIG
921 string "Kernel config file"
922 default "***EDIT ME***"
923 depends on CONFIG_BUILD_KERNEL
924 help
925 #-- Fully qualified path to a kernel config file
926 # The config file will be copied to ${BUILD_DIR}/sources
927 # and renamed 'kernel-config'
928 #--- End Kernel
929
930 config NCURSES5
931 bool "Install non-wide-character ncurses"
932 default n
933 depends on BOOK_LFS || BOOK_LFS_SYSD
934 help
935 #-- Install the optional non wide character ncurses5 library
936
937 config TIMEZONE
938 string "TimeZone"
939 default "GMT"
940 help
941 #-- The timezone as output by tzselect
942 # This will be copied to /etc/localtime
943
944 config LANG
945 string "Language"
946 default "$LANG"
947 help
948 #-- LANG variable set in /etc/profile
949 # See http://sourceware.org/git/?p=glibc.git;a=blob;f=localedata/SUPPORTED
950 # for values (or the file localedata/SUPPORTED in glibc tarball)
951
952 config FULL_LOCALE
953 bool "Install the full set of locales"
954 default n
955 help
956 #-- If set to y, the full set of supported locales
957 # will be installed. Otherwise, only the minimal set
958 # necessary for the tests will be installed,
959 # together with the locale associated with the
960 # LANG you have chosen, if not in the minimal set.
961
962 #--- Groff page
963 choice
964 prompt "Groff page size"
965 default PAGE_LETTER
966 help
967 #-- Page definition for groff: letter or A4
968
969 config PAGE_LETTER
970 bool "letter"
971
972 config PAGE_A4
973 bool "A4"
974 endchoice
975
976 config PAGE
977 string
978 default "letter" if PAGE_LETTER
979 default "A4" if PAGE_A4
980 #--- End Groff page
981
982 config HOSTNAME
983 string "Hostname (see help)"
984 default "**EDITME**"
985 help
986 If you are on a public network, use the hostname given to you by
987 your institution, or corporation, etc. If your network is private,
988 that is, behind a firewall such as a box to connect to your ISP,
989 you can choose anything you'd like. Combined with the domain name
990 "local", you have the possibility to access your computer by name
991 instead of address on the private network (see RFC 6762 and
992 https://www.howtogeek.com/167190/).
993
994 menu "Network configuration"
995 config INTERFACE
996 string "netword card name"
997 default "eth0"
998 help
999 eth0 is used in most cases. Virtual insterfaces may get other
1000 names (for example enp0s3 for the default network stack in qemu).
1001 Systemd may also rename network interfaces according to their
1002 bus addresses.
1003 config IP_ADDR
1004 string "Static IP address"
1005 default "10.0.2.9"
1006 help
1007 The default here is for a virtual interface in qemu. Private
1008 networks have addresses in the range 10.x.x.x or 192.169.x.x.
1009 You have to know your network prefix. Then the last figure
1010 may be anything you like.
1011
1012 config GATEWAY
1013 string "Gateway"
1014 default "10.0.2.2"
1015 help
1016 Again, this default is for a qemu network stack. Usually, the
1017 gateway is the address of your firewall.
1018 config PREFIX
1019 string "Subnet prefix"
1020 default "24"
1021 help
1022 Again, this default is for a qemu network stack, but is also
1023 the most used in private networks.
1024 config BROADCAST
1025 string "Broadcast address"
1026 default "10.0.2.255"
1027 config DOMAIN
1028 string "Domain name (see help)"
1029 default "local"
1030 help
1031 Domain Name:
1032 Doamin names are registered, so if your computer is on a public
1033 network, you cannot use any name you'd like. On a public
1034 network, you should have been given a domain name by
1035 your corporation, institution, etc.
1036 If your network is really private, that is behind a firewall
1037 such as a box for connecting to an ISP, you can choose any
1038 domain you'd like. You can also opt for "local", see RFC 6762,
1039 or "something.test", see RFC 6761.
1040 config DNS1
1041 string "Primary Name server"
1042 default "10.0.2.3"
1043 config DNS2
1044 string "Secondary Name server"
1045 default "8.8.8.8"
1046 endmenu # Network configuration
1047
1048 menu "Console configuration"
1049 config FONT
1050 string "Console font"
1051 default "lat0-16"
1052 help
1053 Unicode mode is set by default. Setting FONT_MAP, FONT_UNIMAP,
1054 etc, must be done manually.
1055 config KEYMAP
1056 string "Keymap name"
1057 default "us"
1058 config LOCAL
1059 boolean "Hardware clock is set to local time"
1060 default n
1061 help
1062 If the harware clock is set to local time, answer yes,
1063 If it is set to UTC, answer no
1064 config LOG_LEVEL
1065 string "Default log level (1-8)"
1066 default "4"
1067 depends on BOOK_LFS
1068 help
1069 This can be changed using dmesg. 1 means "no message",
1070 8 shows every message sent by the kernel, which is very
1071 noisy. The default at boot time is 7, which is quite
1072 noisy too.
1073 endmenu # Console configuration
1074
1075endmenu #--- System configuration
1076
1077menu "Advanced Features"
1078depends on !BOOK_BLFS
1079
1080 config REPORT
1081 bool "Create SBU and disk usage report"
1082 default y
1083
1084 #--- ICA
1085 config COMPARE
1086 bool "Run comparison analysis on final stage"
1087 depends on !BOOK_CLFS2 && !BOOK_CLFS3
1088 default n
1089 help
1090 #-- Should an iterative comparison analysis be performed?
1091 #
1092 # Unless you are familiar with ICA, do not
1093 # select this option
1094 #
1095 # ICA is an analysis tool for comparing one
1096 # build to the next. Builds mays differ from one iteration
1097 # to another due to the build order and this tool try
1098 # to ferret out those differences by examining the stored
1099 # build logs and binary files.
1100 #
1101 # The scripts are well commented and can be found in ./extras/*
1102 #
1103
1104 config ITERATIONS
1105 int "Number of test runs (2,3,4,5)" if COMPARE
1106 depends on COMPARE
1107 range 2 5
1108 default 3
1109
1110 config RUN_ICA
1111 bool
1112 default y if COMPARE
1113
1114 #--- End ICA
1115
1116 #--- Optimizations
1117if !BOOK_CLFS2 && !BOOK_CLFS3
1118 config CONFIG_OPTIMIZE
1119 bool "Optimization and parallelization"
1120 default n
1121 help
1122 # Opens a menu for various optimization settings:
1123 # Actual optimization flags MUST be defined in ./optimize/*
1124 # before activating this option.
1125 #
1126 # WARNING: The use of build optimizations may lead to build issues.
1127 # If the system doesn't work as expected, please rebuild
1128 # without optimizations before asking for support.
1129 menu "Optimization settings"
1130 depends on CONFIG_OPTIMIZE
1131
1132 config N_PARALLEL
1133 int "Number of parallel `make' jobs"
1134 default 1
1135 help
1136 #-- The usual recommandation is (number of CPU cores)+1
1137 # Do not set for meaningful SBU calculations.
1138
1139 choice
1140 prompt "Optimization level"
1141 default OPT_1
1142 help
1143 #-- Optimization values are set in optimize/* files
1144
1145 config OPT_1
1146 bool "Final system only"
1147
1148 config OPT_2
1149 bool "Both temp tools and final system"
1150
1151 config OPT_3
1152 bool "Cross tools (only MAKEFLAGS), temp tools and final system" if BOOK_CLFS
1153 endchoice
1154
1155 config REALSBU
1156 bool "Build Binutls pass1 without optimization (Real SBU)"
1157 depends on (BOOK_LFS || BOOK_LFS_SYSD) && OPT_2
1158 default n
1159 help
1160 #-- Use -j1 in make invokation for Binutils pass1 to
1161 # get a valid SBU value.
1162
1163endmenu
1164 config OPTIMIZE
1165 int
1166 default "0" if !CONFIG_OPTIMIZE
1167 default "1" if OPT_1
1168 default "2" if OPT_2
1169 default "3" if OPT_3
1170endif
1171
1172 #--- End Optimizations
1173
1174 #-- Internal Settings
1175 menu "Internal Settings (WARNING: for jhalfs developers only)"
1176
1177 config SCRIPT_ROOT
1178 string "Scripts root"
1179 default "jhalfs"
1180
1181 config JHALFSDIR
1182 string "jhalfs directory"
1183 default "$BUILDDIR/$SCRIPT_ROOT"
1184
1185 config LOGDIRBASE
1186 string "Build logs directory basename"
1187 default "logs"
1188
1189 config LOGDIR
1190 string "Build logs directory"
1191 default "$JHALFSDIR/$LOGDIRBASE"
1192
1193 config TESTLOGDIRBASE
1194 string "Test suites logs directory basename"
1195 default "test-logs"
1196
1197 config TESTLOGDIR
1198 string "Test suites logs directory"
1199 default "$JHALFSDIR/$TESTLOGDIRBASE"
1200
1201 config FILELOGDIRBASE
1202 string "Installed files logs directory basename"
1203 default "installed-files"
1204
1205 config FILELOGDIR
1206 string "Installed files logs directory"
1207 default "$JHALFSDIR/$FILELOGDIRBASE"
1208
1209 config ICALOGDIR
1210 string "ICA logs directory"
1211 default "$LOGDIR/ICA"
1212
1213 config MKFILE
1214 string "Makefile"
1215 default "$JHALFSDIR/Makefile"
1216
1217 config XSL
1218 string "XSL stylesheet"
1219 default "$PROGNAME.xsl"
1220
1221 config PKG_LST
1222 string "Package contents list"
1223 default "unpacked"
1224
1225 #--- End Internal Settings
1226 endmenu
1227
1228#--- End Advanced Features
1229endmenu
1230
1231config REBUILD_MAKEFILE
1232 depends on !BOOK_BLFS
1233 bool "Rebuild the Makefile (see help)"
1234 default n
1235 help
1236 #-- Rebuild the Makefile
1237 #
1238 # This option allows to rebuild the Makefile after
1239 # customizing the base system build scripts.
1240 #
1241 # See README.CUSTOM for more info about this feature.
1242
Note: See TracBrowser for help on using the repository browser.