source: Config.in@ 7bd0866

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

Merge trunk up to revision 3864

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