source: Config.in@ dfab075

ablfs-more legacy trunk
Last change on this file since dfab075 was 1e686d1, checked in by Pierre Labastie <pierre.labastie@…>, 4 years ago

Moving to git:

Change names and help in Config.in

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