source: Config.in@ 56d8426

2.4 ablfs-more legacy new_features trunk
Last change on this file since 56d8426 was c4ad7bf, checked in by Pierre Labastie <pierre@…>, 11 years ago

Make the use of branches clearer, and allow branches to be used
for CLFS

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