source: Config.in@ 5130b3a

ablfs
Last change on this file since 5130b3a was 5130b3a, checked in by Pierre Labastie <pierre@…>, 11 years ago

Merge trunk r3750-3760

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