source: Config.in@ 8589e90

ablfs-more legacy trunk
Last change on this file since 8589e90 was aa283c0, checked in by Pierre Labastie <pierre@…>, 6 years ago

Fix again properties

  • Property mode set to 100644
File size: 40.8 KB
RevLine 
[aa283c0]1# $Id$
[e5d44f5]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
[39dc04a]43 choice
44 depends 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
[e5d44f5]59 config INITSYS
60 string
[39dc04a]61 default "sysv" if BOOK_LFS || BLFS_SYSV
62 default "systemd" if BOOK_LFS_SYSD || BLFS_SYSD
[e5d44f5]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 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 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 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 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 (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"
[a705708]181
[e5d44f5]182 config DATA_64
183 bool "64-bit"
184
185 config DATA_MULTI
186 bool "multilib" if !(BOOK_CLFS3 && ARCH_MIPS )
187 endchoice
[a705708]188
[e5d44f5]189 choice
190 prompt "Processor type"
191 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))
192 help
193 Choose the target system processor
[a705708]194
[e5d44f5]195 config PROC_i486
196 bool "486 Compatibles" if ARCH_X86
[a705708]197
[e5d44f5]198 config PROC_i586
199 bool "Pentium, K6, 586 Compatibles" if ARCH_X86
[a705708]200
[e5d44f5]201 config PROC_i686
202 bool "Pentium II, Pentium III, Pentium 4, Athlon, Duron" if ARCH_X86
[a705708]203
[e5d44f5]204 config PROC_mipsel
205 bool "MIPS Little Endian" if ARCH_MIPS
[2035ea1]206
[e5d44f5]207 config PROC_mips
208 bool "MIPS Big Endian" if ARCH_MIPS
[2035ea1]209
[e5d44f5]210 config PROC_unknown
211 bool "Unknown" if ARCH_HPPA || ARCH_ALPHA
[2035ea1]212
[e5d44f5]213 config PROC_hppa1
214 bool "PA 7000 Series" if ARCH_HPPA
[c560e9a]215
[e5d44f5]216 config PROC_hppa2
217 bool "PA 8000 Series" if ARCH_HPPA
[c560e9a]218
[e5d44f5]219 config PROC_EV5
220 bool "EV5 Series" if ARCH_ALPHA
[c560e9a]221
[e5d44f5]222 config PROC_EV56
223 bool "EV56 Series" if ARCH_ALPHA
[c560e9a]224
[e5d44f5]225 config PROC_PCA56
226 bool "PCA56 Series" if ARCH_ALPHA
[c560e9a]227
[e5d44f5]228 config PROC_PCA57
229 bool "PCA57 Series" if ARCH_ALPHA
[c560e9a]230
[e5d44f5]231 config PROC_EV6
232 bool "EV6 Series" if ARCH_ALPHA
[c560e9a]233
[e5d44f5]234 config PROC_EV67
235 bool "EV67 Series" if ARCH_ALPHA
[a87e07a]236
[e5d44f5]237 config PROC_EV68
238 bool "EV68 Series" if ARCH_ALPHA
[a87e07a]239
[e5d44f5]240 config PROC_ARM
241 bool "Generic arm, little endian" if ARCH_ARM
[a87e07a]242
[e5d44f5]243 config PROC_ARM5L
244 bool "Generic arm, version 5, little endian" if ARCH_ARM
[650acce]245
[e5d44f5]246 config PROC_ARM5B
247 bool "Generic arm, version 5, big endian" if ARCH_ARM
[650acce]248
[e5d44f5]249 config PROC_ULTRA1
250 bool "UtraSparc" if ARCH_SPARC && (DATA_64 || DATA_MULTI)
[650acce]251
[e5d44f5]252 config PROC_ULTRA2
253 bool "UtraSparc2" if ARCH_SPARC && (DATA_64 || DATA_MULTI)
[a705708]254
[e5d44f5]255 config PROC_ULTRA3
256 bool "UtraSparc3" if ARCH_SPARC && (DATA_64 || DATA_MULTI)
257 endchoice
[c63c0fa]258
[e5d44f5]259 choice
260 prompt "MIPS 64 ABI"
261 depends BOOK_CLFS3 && ARCH_MIPS && DATA_64
262 default ABI_64
263 help
264 Choose the target system ABI to use
[c63c0fa]265
[e5d44f5]266 config ABI_32
267 bool "o32"
[c63c0fa]268
[e5d44f5]269 config ABI_N32
270 bool "n32"
[c63c0fa]271
[e5d44f5]272 config ABI_64
273 bool "n64"
274 endchoice
[c5ff430]275
[e5d44f5]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
[2639f65]281
[e5d44f5]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
[2639f65]285
[e5d44f5]286 default "x86_64-unknown-linux-gnu" if ARCH_X86 && (DATA_64 || DATA_MULTI)
[a705708]287
[e5d44f5]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)
[a705708]292
[e5d44f5]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
[a705708]297
[e5d44f5]298 default "powerpc-unknown-linux-gnu" if ARCH_PPC && DATA_32
299 default "powerpc64-unknown-linux-gnu" if ARCH_PPC && (DATA_MULTI || DATA_64)
[2035ea1]300
[e5d44f5]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 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 BOOK_CLFS3 && ARCH_MIPS
372 default "1" if DATA_32
373 default "3" if DATA_64
374
375 config ABI
376 string
377 depends 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 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 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
[90f5b6d]473 automatically on boot. It allows copy-paste
474 while Xorg is not installed.
[e5d44f5]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
[90f5b6d]481 sources. You do not need it if building a
482 stable book.
[e5d44f5]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
[506120ee]511 Full path to the BLFS book working copy
[e5d44f5]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 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...
[506120ee]549
[f733772]550 config LFS_XML
551 string "LFS sources directory (internal parameter)"
552 default "lfs-xml"
553 depends 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
[506120ee]559 choice
560 prompt "LFS Release"
561 default LFS_SVN
562 depends 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.
[e5d44f5]594 # End of BLFS parameters
595
596 #--- Custom Tools support
597 config CUSTOM_TOOLS
598 depends !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.
[53f291f]628
[a705708]629#--- End BOOK Settings
630endmenu
631
[e5d44f5]632menu "General Settings"
633depends !BOOK_BLFS
634
[b7583ec]635 #--- {C,H,}LFS User Account
636
637 config LUSER
[e5d44f5]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
[b7583ec]645 default LUSER
[e5d44f5]646
647 config LHOME
648 string
[b7583ec]649 default "/home"
650
[e5d44f5]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.
[a705708]727
728#--- End General Settings
729endmenu
730
[e5d44f5]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
[1d5f3e3]741 # If you select 'y' here:
[e5d44f5]742 # You will have to select between:
[945ccaa]743 # - Only critical final system testsuites
[e5d44f5]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 #
[1d5f3e3]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
[e5d44f5]758
[945ccaa]759 menu "Test settings"
760 depends CONFIG_TESTS
[e5d44f5]761 choice
762 prompt "Tests level"
763 default TST_1
764
765 config TST_1
[945ccaa]766 bool "Only final system critical testsuites"
767 help
768 #-- Critical tests:
769 # Only Glibc, Binutils, GMP, MPFR, MPC and GCC
[1d5f3e3]770 # testsuites for final system. The others are commented
771 # out.
[e5d44f5]772
773 config TST_2
774 bool "All final system testsuites"
[1d5f3e3]775 help
776 #-- All final system test suites:
777 # Test instructions for the temporary tools (if available)
778 # are commented out.
[e5d44f5]779
780 config TST_3
[945ccaa]781 bool "All testsuites" if !BOOK_HLFS && !BOOK_CLFS
782 help
783 #-- All tests:
[1d5f3e3]784 # Runs all the testsuites for both temporary tools (if
785 # available) and final system
[e5d44f5]786 endchoice
787
788 choice
789 prompt "Flavour"
790
791 config NO_BOMB
[945ccaa]792 bool "Don't stop on test failures"
[e5d44f5]793
794 config BOMB
[945ccaa]795 bool "Abort the build on the first test failure"
[e5d44f5]796 endchoice
797
[945ccaa]798 config TEST
799 int
800 default "0" if !CONFIG_TESTS
801 default "1" if TST_1
802 default "2" if TST_2
803 default "3" if TST_3
804
[e5d44f5]805 config BOMB_TEST
806 bool
807 default n if NO_BOMB
808 default y if BOMB
809
810 #--- End Test Suites
[945ccaa]811 endmenu # test settings
[e5d44f5]812
813 #--- Package Management
814 config PKGMNGT
815 bool "Package management"
816 depends BOOK_LFS || BOOK_LFS_SYSD
817 default n
818 help
819 #-- Use package management
820 #
[945ccaa]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
[4b2a5fd]827 # packaging and installing the package.
[945ccaa]828 # - Preload a library before install:
829 # Run the install instructions inside a
830 # wrapper command, which monitors the
831 # installed files.
832 #
[e5d44f5]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
[945ccaa]840 choice
841 depends PKGMNGT
842 prompt "Package management style"
843 default PKG_PACK
844
845 config PKG_PACK
846 bool "Build and pack (pacman or dpkg style)"
[e5d44f5]847
[945ccaa]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
[e5d44f5]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
[945ccaa]868 config STRIP
869 bool "Strip Installed Binaries/Libraries"
870 default n
871 depends on !BOOK_CLFS3
872
[dc7fd7b]873 config DEL_LA_FILES
[d2a7ec8]874 bool "Remove libtool .la files"
[dc7fd7b]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
[945ccaa]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
[6990d80]890menu "System configuration"
[945ccaa]891 depends !BOOK_BLFS
892
[e5d44f5]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
[945ccaa]899 # for the target system
[a705708]900
[e5d44f5]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 VIMLANG
931 bool "Install vim-lang package"
932 default n
933 depends on !BOOK_HLFS && !BOOK_CLFS3
934 help
935 #-- Install the optional vim-lang package
936 # NOTE: This option is obsolete with the 7.3 release of Vim
937 # which is included in all recent releases of LFS.
938
939 config TIMEZONE
940 string "TimeZone"
941 default "GMT"
942 help
943 #-- The timezone as output by tzselect
944 # This will be copied to /etc/localtime
945
946 config LANG
947 string "Language"
948 default "$LANG"
949 help
950 #-- LANG variable set in /etc/profile
951 # See http://sourceware.org/git/?p=glibc.git;a=blob;f=localedata/SUPPORTED
952 # for values (or the file localedata/SUPPORTED in glibc tarball)
953
954 config FULL_LOCALE
955 bool "Install the full set of locales"
956 default n
957 help
958 #-- If set to y, the full set of supported locales
959 # will be installed. Otherwise, only the minimal set
960 # necessary for the tests will be installed,
961 # together with the locale associated with the
962 # LANG you have chosen, if not in the minimal set.
963
964 #--- Groff page
965 choice
966 prompt "Groff page size"
967 default PAGE_LETTER
968 help
969 #-- Page definition for groff: letter or A4
970
971 config PAGE_LETTER
972 bool "letter"
973
974 config PAGE_A4
975 bool "A4"
976 endchoice
977
978 config PAGE
979 string
980 default "letter" if PAGE_LETTER
981 default "A4" if PAGE_A4
982 #--- End Groff page
[a705708]983
[945ccaa]984 config HOSTNAME
[6990d80]985 string "Hostname (see help)"
[945ccaa]986 default "**EDITME**"
[6990d80]987 help
988 If you are on a public network, use the hostname given to you by
989 your institution, or corporation, etc. If your network is private,
990 that is, behind a firewall such as a box to connect to your ISP,
991 you can choose anything you'd like. Combined with the domain name
992 "local", you have the possibility to access your computer by name
993 instead of address on the private network (see RFC 6762 and
994 https://www.howtogeek.com/167190/).
[945ccaa]995
996 menu "Network configuration"
997 config INTERFACE
998 string "netword card name"
999 default "eth0"
[6990d80]1000 help
1001 eth0 is used in most cases. Virtual insterfaces may get other
1002 names (for example enp0s3 for the default network stack in qemu).
1003 Systemd may also rename network interfaces according to their
1004 bus addresses.
[945ccaa]1005 config IP_ADDR
1006 string "Static IP address"
1007 default "10.0.2.9"
[6990d80]1008 help
1009 The default here is for a virtual interface in qemu. Private
1010 networks have addresses in the range 10.x.x.x or 192.169.x.x.
1011 You have to know your network prefix. Then the last figure
1012 may be anything you like.
1013
[945ccaa]1014 config GATEWAY
1015 string "Gateway"
1016 default "10.0.2.2"
[6990d80]1017 help
1018 Again, this default is for a qemu network stack. Usually, the
1019 gateway is the address of your firewall.
[945ccaa]1020 config PREFIX
1021 string "Subnet prefix"
1022 default "24"
[6990d80]1023 help
1024 Again, this default is for a qemu network stack, but is also
1025 the most used in private networks.
[945ccaa]1026 config BROADCAST
1027 string "Broadcast address"
1028 default "10.0.2.255"
1029 config DOMAIN
[6990d80]1030 string "Domain name (see help)"
1031 default "local"
1032 help
1033 Domain Name:
1034 Doamin names are registered, so if your computer is on a public
1035 network, you cannot use any name you'd like. On a public
1036 network, you should have been given a domain name by
1037 your corporation, institution, etc.
1038 If your network is really private, that is behind a firewall
1039 such as a box for connecting to an ISP, you can choose any
1040 domain you'd like. You can also opt for "local", see RFC 6762,
1041 or "something.test", see RFC 6761.
[945ccaa]1042 config DNS1
1043 string "Primary Name server"
1044 default "10.0.2.3"
1045 config DNS2
1046 string "Secondary Name server"
1047 default "8.8.8.8"
1048 endmenu # Network configuration
1049
1050 menu "Console configuration"
1051 config FONT
1052 string "Console font"
1053 default "lat0-16"
[3b43e17b]1054 help
1055 Unicode mode is set by default. Setting FONT_MAP, FONT_UNIMAP,
1056 etc, must be done manually.
[945ccaa]1057 config KEYMAP
1058 string "Keymap name"
1059 default "us"
[3b43e17b]1060 config LOCAL
1061 boolean "Hardware clock is set to local time"
1062 default n
1063 help
1064 If the harware clock is set to local time, answer yes,
1065 If it is set to UTC, answer no
1066 config LOG_LEVEL
1067 string "Default log level (1-8)"
1068 default "4"
1069 depends BOOK_LFS
1070 help
1071 This can be changed using dmesg. 1 means "no message",
1072 8 shows every message sent by the kernel, which is very
1073 noisy. The default at boot time is 7, which is quite
1074 noisy too.
[945ccaa]1075 endmenu # Console configuration
1076
1077endmenu #--- System configuration
[a705708]1078
[e5d44f5]1079menu "Advanced Features"
1080depends !BOOK_BLFS
1081
1082 config REPORT
1083 bool "Create SBU and disk usage report"
1084 default y
1085
1086 #--- ICA/farce
1087 config COMPARE
1088 bool "Run comparison analysis on final stage"
1089 depends !BOOK_CLFS2 && !BOOK_CLFS3
1090 default n
1091 help
1092 #-- Should an iterative comparison analysis be performed?
1093 #
1094 # Unless you are familiar with ICA and/or FARCE do not
1095 # select this option
1096 #
1097 # ICA and FARCE are analysis tools for comparing one
1098 # build to the next. Builds mays differ from one iteration
1099 # to another due to the build order and these tools try
1100 # to ferret out those differences by examining the stored
1101 # build logs and binary files.
1102 #
1103 # The scripts are well commented and can be found in ./extras/*
1104 #
1105
1106 config ITERATIONS
1107 int "Number of test runs (2,3,4,5)" if COMPARE
1108 depends on COMPARE
1109 range 2 5
1110 default 3
1111
1112 config RUN_ICA
1113 bool "ICA testing"
1114 depends on COMPARE
1115 default y
1116 help
1117 #-- Run ICA testing
1118
1119 config RUN_FARCE
1120 bool "farce testing"
1121 depends on COMPARE
1122 default n
1123 help
1124 #-- Run farce testing
1125 #--- End ICA/farce
1126
1127 #--- Optimizations
[0536270]1128if !BOOK_CLFS2 && !BOOK_CLFS3
[e5d44f5]1129 config CONFIG_OPTIMIZE
1130 bool "Optimization and parallelization"
1131 default n
1132 help
1133 # Opens a menu for various optimization settings:
1134 # Actual optimization flags MUST be defined in ./optimize/*
1135 # before activating this option.
1136 #
1137 # WARNING: The use of build optimizations may lead to build issues.
1138 # If the system doesn't work as expected, please rebuild
1139 # without optimizations before asking for support.
1140 menu "Optimization settings"
1141 depends on CONFIG_OPTIMIZE
1142
1143 config N_PARALLEL
1144 int "Number of parallel `make' jobs"
1145 default 1
1146 help
1147 #-- The usual recommandation is (number of CPU cores)+1
1148 # Do not set for meaningful SBU calculations.
1149
1150 choice
1151 prompt "Optimization level "
1152 default OPT_1
1153 help
1154 #-- Optimization values are set in optimize/* files
1155
1156 config OPT_1
1157 bool "Final system only"
1158
1159 config OPT_2
1160 bool "Both temp tools and final system"
1161
1162 config OPT_3
1163 bool "Cross tools (only MAKEFLAGS), temp tools and final system" if BOOK_CLFS
1164 endchoice
[84a3fda]1165
1166 config REALSBU
1167 bool "Build Binutls pass1 without optimization (Real SBU)"
1168 depends on (BOOK_LFS || BOOK_LFS_SYSD) && OPT_2
1169 default n
1170 help
1171 #-- Use -j1 in make invokation for Binutils pass1 to
1172 # get a valid SBU value.
1173
[854854e]1174endmenu
[e5d44f5]1175 config OPTIMIZE
1176 int
1177 default "0" if !CONFIG_OPTIMIZE
1178 default "1" if OPT_1
1179 default "2" if OPT_2
1180 default "3" if OPT_3
[045b2dc]1181endif
[84a3fda]1182
[e5d44f5]1183 #--- End Optimizations
[a705708]1184
[e5d44f5]1185 #-- Internal Settings
1186 menu "Internal Settings (WARNING: for jhalfs developers only)"
[4da2512]1187
[e5d44f5]1188 config SCRIPT_ROOT
1189 string "Scripts root"
1190 default "jhalfs"
[4da2512]1191
[e5d44f5]1192 config JHALFSDIR
1193 string "jhalfs directory"
1194 default "$BUILDDIR/$SCRIPT_ROOT"
[4da2512]1195
[e5d44f5]1196 config LOGDIRBASE
1197 string "Build logs directory basename"
1198 default "logs"
[93346ee]1199
[e5d44f5]1200 config LOGDIR
1201 string "Build logs directory"
1202 default "$JHALFSDIR/$LOGDIRBASE"
[93346ee]1203
[e5d44f5]1204 config TESTLOGDIRBASE
1205 string "Test suites logs directory basename"
1206 default "test-logs"
[4da2512]1207
[e5d44f5]1208 config TESTLOGDIR
1209 string "Test suites logs directory"
1210 default "$JHALFSDIR/$TESTLOGDIRBASE"
[93346ee]1211
[e5d44f5]1212 config FILELOGDIRBASE
1213 string "Installed files logs directory basename"
1214 default "installed-files"
[93346ee]1215
[e5d44f5]1216 config FILELOGDIR
1217 string "Installed files logs directory"
1218 default "$JHALFSDIR/$FILELOGDIRBASE"
[4da2512]1219
[e5d44f5]1220 config ICALOGDIR
1221 string "ICA logs directory"
1222 default "$LOGDIR/ICA"
[4da2512]1223
[e5d44f5]1224 config FARCELOGDIR
1225 string "farce logs directory"
1226 default "$LOGDIR/farce"
[4da2512]1227
[e5d44f5]1228 config MKFILE
1229 string "Makefile"
1230 default "$JHALFSDIR/Makefile"
[4da2512]1231
[e5d44f5]1232 config XSL
1233 string "XSL stylesheet"
1234 default "$PROGNAME.xsl"
[4da2512]1235
[e5d44f5]1236 config PKG_LST
1237 string "Package contents list"
1238 default "unpacked"
[4da2512]1239
[e5d44f5]1240 #--- End Internal Settings
1241 endmenu
[4da2512]1242
[a705708]1243#--- End Advanced Features
1244endmenu
[7b6ecc5]1245
[a16f769]1246config REBUILD_MAKEFILE
[e5d44f5]1247 depends !BOOK_BLFS
1248 bool "Rebuild the Makefile (see help)"
1249 default n
1250 help
1251 #-- Rebuild the Makefile
1252 #
1253 # This option allows to rebuild the Makefile after
1254 # customizing the base system build scripts.
1255 #
1256 # See README.CUSTOM for more info about this feature.
[7b6ecc5]1257
Note: See TracBrowser for help on using the repository browser.