source: Config.in@ 4ddaa8e

experimental
Last change on this file since 4ddaa8e was 9c9775f, checked in by Manuel Canales Esparcia <manuel@…>, 17 years ago

Updated experimental branch to current trunk code.

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