source: Config.in@ bb4b5c3

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

Typo

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