source: Config.in@ 2ee1d11

experimental
Last change on this file since 2ee1d11 was 2ee1d11, checked in by Manuel Canales Esparcia <manuel@…>, 18 years ago

Merged r3147:3173 from trunk.

  • Property mode set to 100644
File size: 18.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
[33c34c9]17 bool "Cross-Compiled Linux From Scratch (Version 2)"
[3b0fb28]18
[725ae5a]19# config BOOK_CLFS3
[33c34c9]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
34# default "clfs3" if BOOK_CLFS3
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
[2ee1d11]60 bool "Branch or stable book" if !BOOK_CLFS2
[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
86 depends BOOK_CLFS || BOOK_CLFS2
87 help
[33c34c9]88 #-- Choose a 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
97 bool "ppc" if !BOOK_CLFS2
[3b0fb28]98
[613d46b]99 config ARCH_SPARC
100 bool "sparc" if !BOOK_CLFS2
[3b0fb28]101
[613d46b]102 config ARCH_ALPHA
103 bool "alpha" if !BOOK_CLFS2
[3b0fb28]104
[613d46b]105 config ARCH_ARM
106 bool "arm" if !BOOK_CLFS
107 endchoice
108
109 choice
110 prompt "Library"
111 depends (BOOK_CLFS || BOOK_CLFS2)
112 default DATA_32 if !ARCH_ALPHA
113 default DATA_64 if ARCH_ALPHA
[3b0fb28]114
[613d46b]115 config DATA_32
116 bool "32-bit" if !ARCH_ALPHA
[3b0fb28]117
[613d46b]118 config DATA_64
119 bool "64-bit" if !ARCH_PPC && !ARCH_ARM && !(BOOK_CLFS2 && ARCH_X86)
[3b0fb28]120
[613d46b]121 config DATA_MULTI
122 bool "multilib" if !ARCH_ALPHA && !ARCH_ARM && !(BOOK_CLFS2 && ARCH_X86)
123 endchoice
124
125 choice
126 prompt "Target"
127 depends (BOOK_CLFS || BOOK_CLFS2) && ((ARCH_X86 && DATA_32) || ARCH_MIPS)
[3b0fb28]128
[613d46b]129 config PROC_i486
130 bool "i486" if ARCH_X86 && DATA_32
[3b0fb28]131
[613d46b]132 config PROC_i586
133 bool "i586" if ARCH_X86 && DATA_32
[3b0fb28]134
[613d46b]135 config PROC_i686
136 bool "i686" if ARCH_X86 && DATA_32
[3b0fb28]137
[613d46b]138 config PROC_mipsel
139 bool "mips -little endian" if ARCH_MIPS
[3b0fb28]140
[613d46b]141 config PROC_mips
142 bool "mips" if ARCH_MIPS
143 endchoice
144
145 config TARGET
146 string
147 depends DATA_32
148 default "i486-pc-linux-gnu" if ARCH_X86 && PROC_i486
[056486c]149 default "i586-pc-linux-gnu" if ARCH_X86 && PROC_i586
[613d46b]150 default "i686-pc-linux-gnu" if ARCH_X86 && PROC_i686
151 default "mipsel-unknown-linux-gnu" if ARCH_MIPS && PROC_mipsel
152 default "mips-unknown-linux-gnu" if ARCH_MIPS && PROC_mips
153 default "powerpc-unknown-linux-gnu" if ARCH_PPC
154 default "sparc-unknown-linux-gnu" if ARCH_SPARC
155 default "arm-unknown-linux-gnu" if ARCH_ARM
156
157 config TARGET
158 string
159 depends DATA_64
[056486c]160 default "x86_64-unknown-linux-gnu" if ARCH_X86
[613d46b]161 default "mips64el-unknown-linux-gnu" if ARCH_MIPS && PROC_mipsel
162 default "mips64-unknown-linux-gnu" if ARCH_MIPS && PROC_mips
163 default "sparc64-unknown-linux-gnu" if ARCH_SPARC
164 default "alpha-unknown-linux-gnu" if ARCH_ALPHA
165
166 config TARGET
167 string
168 depends DATA_MULTI
169 default "x86_64-unknown-linux-gnu" if ARCH_X86
170 default "mips64el-unknown-linux-gnu" if ARCH_MIPS && PROC_mipsel
171 default "mips64-unknown-linux-gnu" if ARCH_MIPS && PROC_mips
172 default "sparc64-unknown-linux-gnu" if ARCH_SPARC
173 default "powerpc64-unknown-linux-gnu" if ARCH_PPC
[056486c]174
[613d46b]175
176 config TARGET32
177 string
178 depends DATA_MULTI
179 default "i686-pc-linux-gnu" if ARCH_X86
180 default "mipsel-unknown-linux-gnu" if ARCH_MIPS && PROC_mipsel
181 default "mips-unknown-linux-gnu" if ARCH_MIPS && PROC_mips
182 default "sparc-unknown-linux-gnu" if ARCH_SPARC
[056486c]183 default "powerpc-unknown-linux-gnu" if ARCH_PPC
[613d46b]184
185 config ARCH
186 string
187 depends DATA_32
188 default "x86" if ARCH_X86
189 default "ppc" if ARCH_PPC
190 default "mips" if ARCH_MIPS
191 default "sparc" if ARCH_SPARC
192 default "arm" if ARCH_ARM
[056486c]193
[613d46b]194 config ARCH
195 string
196 depends DATA_64
197 default "x86_64-64" if ARCH_X86
198 default "mips64-64" if ARCH_MIPS
199 default "sparc64-64" if ARCH_SPARC
200 default "alpha" if ARCH_ALPHA
[056486c]201
[613d46b]202 config ARCH
203 string
204 depends DATA_MULTI
205 default "x86_64" if ARCH_X86
206 default "mips64" if ARCH_MIPS
207 default "sparc64" if ARCH_SPARC
208 default "ppc64" if ARCH_PPC
209
210 choice
211 prompt "Build method"
212 depends BOOK_CLFS
213 help
[3b0fb28]214 #-- What build method should be used: a chroot jail or minimal boot system
215 # Review the Cross-LFS book chap6 "TO BOOT OR CHROOT" for a full explanation.
216
[613d46b]217 config BUILD_CHROOT
218 bool "chroot"
[3b0fb28]219
[613d46b]220 config BUILD_BOOT
[056486c]221 bool "boot"
[613d46b]222 endchoice
[3b0fb28]223
[613d46b]224 config METHOD
225 string
226 default "chroot" if BUILD_CHROOT
[a181405]227 default "boot" if BUILD_BOOT
[056486c]228
[613d46b]229 config BOOT_CONFIG
[65a2be6]230 string "BOOT kernel config file (mandatory)"
[725ae5a]231 default "***EDIT ME***"
[613d46b]232 depends on BUILD_BOOT
233 help
[3b0fb28]234 #-- If METHOD=boot, location of boot-kernel config file
235 # The config file will be copied to ${BUILD_DIR}/sources
236 # and renamed 'bootkernel-config'
237 #
238 # NOTE: this setting is required
239 #--- End CLFS specific params
[613d46b]240
[3b0fb28]241 #--- HLFS specific params
[613d46b]242 config GRSECURITY_HOST
243 bool "Building on grsecurity enabled host?"
244 default n
245 depends on BOOK_HLFS
246 help
[3b0fb28]247 #-- If your build system has grsecurity patches applied
248 # you MUST enable this switch.
[613d46b]249
250 choice
251 prompt "Library"
252 depends on BOOK_HLFS
253 help
[3b0fb28]254 #-- Which library model to use: uClibc/glibc
255
[613d46b]256 config LIB_GLIBC
257 bool "glibc"
[3b0fb28]258
[613d46b]259 config LIB_UCLIBC
260 bool "uClibc"
261 endchoice
[3b0fb28]262
[613d46b]263 config MODEL
264 depends on BOOK_HLFS
265 string
266 default "glibc" if LIB_GLIBC
267 default "uclibc" if LIB_UCLIBC
[3b0fb28]268 #--- End HLFS specific params
[613d46b]269
[cfdc0f1]270 #--- blfs-tool Support
271 config BLFS_TOOL
272 bool "Add blfs-tool support"
273 default n
[2ee1d11]274# depends on !BOOK_BLFS
275 depends on BOOK_LFS || BOOK_CLFS
[cfdc0f1]276 help
277 #--- Activating this option additional packages needed to
278 # use blfs-tool will be installed.
279 #
280 # The blfs-tool files will be installed under
281 # $BUILD_DIR/blfs_root.
282
283 # After booting the new xLFS system you should to
284 # create an user account and move the blfs-root
285 # directory to the user's home, making he the
286 # directory and files owner, before start
287 # using blfs-tool.
288 #
[2ee1d11]289 # Also, be sure to bring to that user read and write
290 # privileges over the $TRACKING_DIR directory and
291 # the files that it contains.
[cfdc0f1]292 #
293 # And don't forget to configure sudo properly.
294
295 choice
296 prompt "BLFS Release"
297 default BLFS_SVN
298 depends on BLFS_TOOL
299 config BLFS_SVN
300 bool "BLFS SVN"
301 help
302 #-- Current development version as in trunk
303
304 config BLFS_BRANCH
305 bool "BLFS Branch or stable book"
306 help
307 #-- A supported SVN branch or stable released book
308 endchoice
309
310 config BLFS_BRANCH_ID
311 string "BLFS Book Version (mandatory)"
312 default "**EDIT ME**"
313 depends on BLFS_BRANCH
314 help
315 #-- A list of valid branches and stable books ID's is available here.
316 # http://wiki.linuxfromscratch.org/alfs/wiki/SupportedBooks
317
318 menu "blfs-tool dependencies"
319 depends on BLFS_TOOL
320
321 config DEP_LIBXML
322 bool "libxml2 (required)"
323 default y
324
325 config DEP_LIBXSLT
326 bool "libxslt (required)"
327 default y
328
[2020b1b]329 config DEP_TIDY
330 bool "tidy (required)"
331 default y
332
333 config DEP_DBXML
334 bool "DocBook XML DTD (required)"
335 default y
336
337 config DEP_UNZIP
338 bool "UnZip (required to install DocBook XML DTD)"
339 default y
340 depends on DEP_DBXML
341
[cfdc0f1]342 config DEP_DBXSL
343 bool "DocBook XSL (required)"
344 default y
345
346 config DEP_LINKS
347 bool "links (required)"
348 default y
349
350 config DEP_SUDO
351 bool "sudo (recommended)"
352 default y
353
354 config DEP_WGET
355 bool "wget (recommended)"
356 default y
357
358 config DEP_SVN
359 bool "SVN client (optional)"
360 default y
361
362 config DEP_GPM
363 bool "GPM (optional, see help)"
364 default y
365 help
366 #-- You MUST to install manually the gpm bootscript
367 # and create its configuration file
368 endmenu
369 #--- End blfs-tool Support
370
[00f4966]371 #--- BLFS specific params
372 config BLFS_ROOT
373 string "Directory root"
[cfdc0f1]374 default "$HOME/blfs_root" if BOOK_BLFS
[9425fd9]375 default "/blfs_root" if BLFS_TOOL
[cfdc0f1]376 depends on BOOK_BLFS || BLFS_TOOL
[00f4966]377 help
378 #-- Full path to the directory where all required
379 # files and scripts will be stored.
380
381 config BLFS_XML
382 string "BLFS sources directory"
383 default "blfs-xml"
[cfdc0f1]384 depends on BOOK_BLFS || BLFS_TOOL
[00f4966]385 help
[cfdc0f1]386 #-- The directory name under $BLFS_ROOT where BLFS book
387 # sources will be checkout.
[2d0a2e5]388
389 config TRACKING_DIR
390 string "Installed packages database directory"
391 default "/var/lib/jhalfs/BLFS"
[cfdc0f1]392 depends on BOOK_BLFS || BLFS_TOOL
[2d0a2e5]393 help
394 #-- Full path to the directory where the installed
395 # packages database will be created.
396 #
[cfdc0f1]397 # You MUST to create manually this directory.
398 #
[2d0a2e5]399 # Note that the user that will build the packages must
400 # have read and write privileges on that directory.
[00f4966]401 #--- End BLFS specific params
402
[3b0fb28]403#--- End BOOK Settings
404endmenu
[613d46b]405
[3b0fb28]406menu "--- General Settings"
[00f4966]407 depends on !BOOK_BLFS
[3b0fb28]408
409 #--- Set User Account
410 config CONFIG_USER
411 bool "Change the default user/group for this build"
412 default n
413 help #-- Unprivileged user and group name
414 # If you do not have the priv to create/delete
415 # users and groups you can specifiy your own
416 # user id for the build
417 #
418 # default values for each book
419 # LFS lfs
420 # CLFS clfs
421 # CLFS2 clfs
422 # HLFS hlfs
423
424 config DEF_USER
425 string
426 default "lfs" if BOOK_LFS
427 default "clfs" if BOOK_CLFS || BOOK_CLFS2
428 default "hlfs" if BOOK_HLFS
429
430 config SET_USER
431 string "User account"
432 depends CONFIG_USER
433 default DEF_USER
434
435
436 config CONFIG_GROUP
437 bool "Set Group?"
438 default n
439 depends CONFIG_USER
440
441 config SET_GROUP
442 string "GROUP account"
443 depends CONFIG_GROUP
444 default DEF_USER
445
446 config LUSER
447 string
448 default DEF_USER if !CONFIG_USER
449 default SET_USER if CONFIG_USER
450
451 config LGROUP
452 string
453 default LUSER if !CONFIG_GROUP
454 default SET_GROUP if CONFIG_GROUP
455 #--- End Set User Account
[613d46b]456
[cbe3f2b]457 config BUILDDIR
458 string "Build Directory"
459 default "/mnt/build_dir"
460 help
[3b0fb28]461 #-- The directory where the created system will be located.
[613d46b]462
[47fddc8]463 config GETPKG
[613d46b]464 bool "Retrieve source files"
465 default n
466 help
[3b0fb28]467 #-- Download all packages and patches required by the book selected
468 # NOTE: Looks for files in the local archive defined by SRC_ARCHIVE
469 # first and if necessary retrieve them from the 'net.
470 # Files will be transfered to $BUILDDIR/sources.
471
472 config SRC_ARCHIVE
473 string "Package Archive Directory"
474 default "$SRC_ARCHIVE"
[47fddc8]475 depends GETPKG
[3b0fb28]476 help
477 #-- A local archive for packages/file (not $BUILDDIR/sources)
478 # Used only if GETPKG = 1
479 # Any missing file will be downloaded and archived here,
480 # if the user has the right priviledges.
[613d46b]481
[3c96826]482 config SERVER
483 string "FTP mirror"
484 default "ftp://ftp.lfs-matrix.net"
485 depends GETPKG
486 help
487 #-- FTP mirror to download packages and patches if not found
488 # in $SRC_ARCHIVE
489 # As a last resort, the files will dowloaded from upstream,
490 # if possible.
491
[47fddc8]492 config GETKERNEL
[2ee1d11]493 bool "Always retrieve kernel package (see help)"
494 default y if BOOK_LFS && relSVN
[47fddc8]495 depends GETPKG
[613d46b]496 help
[2ee1d11]497 #-- Get the kernel package and patches even if no kernel
498 # configuration file has been supplied.
499
500 # NOTE:
501 # The kernel package must be available when building
502 # the SVN version of LFS to can install the headers files.
[613d46b]503
[47fddc8]504 config RUNMAKE
[21dab83]505 bool "Run the makefile"
[613d46b]506 default n
507 help
[3b0fb28]508 #-- Automatically run the makefile once it has been created
[613d46b]509
[47fddc8]510 config CLEAN
[21dab83]511 bool "Rebuild files"
512 default n
513 help
[3b0fb28]514 #-- Clean the build directory before performing any other task.
515 # The directory is cleaned only if it was populated by a
516 # previous JHALFS run.
[056486c]517 #
[3b0fb28]518 # NOTE::You must be 'root' for this function to work
[613d46b]519
[3b0fb28]520#--- End General Settings
521endmenu
[056486c]522
[3b0fb28]523menu "--- Build Settings"
[00f4966]524 depends on !BOOK_BLFS
[613d46b]525
[3b0fb28]526 #--- Test Suites
[613d46b]527 config CONFIG_TESTS
528 bool "Run testsuites"
[623643e]529 depends !BOOK_CLFS2
[1b99a8b]530 default y
[613d46b]531 help
[3b0fb28]532 #-- Run test suites
[623643e]533 #
534 # You will can to select between:
535 #
536 # - Only final system Glibc, GCC and Binutils testsuites
537 # - All final system testsuites
538 # - Both temporary tools and final system testsuites
539 #
540 # HLFS and CLFS has no testsuites available in the
[33c34c9]541 # temporary tools phase
[623643e]542
543 # You will be promt also about the "flavour" of the
544 # testsuites run:
545 #
546 # - Don't stop on test suite failures
547 # - Abort the build at the first test suite failure
[056486c]548 #
549
[3b0fb28]550 choice
[ed339567]551 prompt "Tests level"
[623643e]552 depends CONFIG_TESTS
[613d46b]553 default TEST_1
[056486c]554
[613d46b]555 config TST_1
[623643e]556 bool "Only final system Glibc, GCC and Binutils testsuites"
[3b0fb28]557
[613d46b]558 config TST_2
[623643e]559 bool "All final system testsuites"
[3b0fb28]560
[613d46b]561 config TST_3
[623643e]562 bool "Both temporary tools and final system testsuites" if !BOOK_HLFS && !BOOK_CLFS
[3b0fb28]563 endchoice
564
565 config TEST
[613d46b]566 int
[21dab83]567 default "0" if !CONFIG_TESTS
[613d46b]568 default "1" if TST_1
569 default "2" if TST_2
570 default "3" if TST_3
[3b0fb28]571
[1b99a8b]572 choice
[ed339567]573 prompt "Flavour"
[623643e]574 depends CONFIG_TESTS
[056486c]575
576 config NO_BOMB
577 bool "Don't stop on test suite failures"
[3b0fb28]578
[056486c]579 config BOMB
580 bool "Abort the build at the first test suite failure"
[3b0fb28]581 endchoice
582
583 config BOMB_TEST
[47fddc8]584 bool
[ed339567]585 default n if NO_BOMB
586 default y if BOMB
[47fddc8]587
[3b0fb28]588 #--- End Test Suites
[613d46b]589
[3b0fb28]590 #--- FSTAB
591 config HAVE_FSTAB
592 bool "Use a custom fstab file"
593 default n
594 help
595 #-- Select this if you have ready a proper fstab file
596
597 config FSTAB
598 string "Fstab file (optional)"
599 default "***EDIT ME***"
600 depends on HAVE_FSTAB
601 help
602 #-- The location of fstab file (if empty, a template is created)
603 #--- End FSTAB
604
605 #--- Kernel
606 config CONFIG_BUILD_KERNEL
607 bool "Build the kernel"
608 default n
609 help
610 #-- Select this option if you wish to build the kernel.
611 #
612 # You will be prompted for the full path to the .config
613 # file. It will be copied to the 'sources' directory and
614 # rename kernel-config
615
616 config CONFIG
617 string "Kernel config file"
618 default "***EDIT ME***"
619 depends on CONFIG_BUILD_KERNEL
620 help
621 #-- Fully qualified path to a kernel config file
622 # The config file will be copied to ${BUILD_DIR}/sources
623 # and renamed 'kernel-config'
624 #--- End Kernel
625
[47fddc8]626 config STRIP
[3b0fb28]627 bool "Strip Installed Binaries/Libraries"
[613d46b]628 default y
629
[47fddc8]630 config VIMLANG
[3b0fb28]631 bool "Install vim-lang package"
632 default y
633 help
[1b99a8b]634 #-- Install the optional vim-lang package
[3b0fb28]635
[613d46b]636 config TIMEZONE
637 string "TimeZone"
[33c34c9]638 default "GMT"
[613d46b]639 help
[33c34c9]640 #-- The timezone as output by tzselect
641 # This will be copied to /etc/localtime
[613d46b]642
643 config LANG
644 string "Language"
645 default "$LANG"
646 help
[3b0fb28]647 #-- Language information in /etc/profile See <locale -a> for values
[613d46b]648
649 config LC_ALL
650 string "Language"
651 default "$LC_ALL"
652 depends on !BOOK_LFS
653 help
[3b0fb28]654 #-- Language information in /etc/profile See <locale -a> for values
[613d46b]655
[3b0fb28]656 #--- Groff page
[613d46b]657 choice
658 prompt "Groff page size"
659 default PAGE_LETTER
660 help
[3b0fb28]661 #-- Page definition for groff: letter or A4
[056486c]662
[613d46b]663 config PAGE_LETTER
664 bool "letter"
[3b0fb28]665
[613d46b]666 config PAGE_A4
667 bool "A4"
668 endchoice
[3b0fb28]669
[613d46b]670 config PAGE
671 string
672 default "letter" if PAGE_LETTER
673 default "A4" if PAGE_A4
[3b0fb28]674 #--- End Groff page
[613d46b]675
[3b0fb28]676#--- End Build Settings
677endmenu
678
679menu "--- Advanced Features"
[00f4966]680 depends on !BOOK_BLFS
[3b0fb28]681
[47fddc8]682 config REPORT
[3b0fb28]683 bool "Create SBU and disk usage report"
684 default y
685
686 #--- ICA/farce
[47fddc8]687 config COMPARE
[3b0fb28]688 bool "Run comparison analysis on final stage"
689 depends !BOOK_CLFS2
690 default n
[613d46b]691 help
[3b0fb28]692 #-- Should some iterative comparison analysis by made?
693 #
694 # Unless you are familiar with ICA and/or FARCE do not
695 # select this option
696 #
697 # ICA and FARCE are analysis tools for comparing one
698 # build to the next. Builds mays differ from one iteration
699 # to another due to the build order and these tools try
700 # to ferret out those differences by examining the stored
701 # build logs and binary files.
702 #
703 # The scripts are well commented and can be found in ./extras/*
704 #
705
706 config ITERATIONS
[47fddc8]707 int "Number of test runs (2,3,4,5)" if COMPARE
708 depends on COMPARE
[3b0fb28]709 range 2 5
710 default 3
711
[47fddc8]712 config RUN_ICA
[3b0fb28]713 bool "ICA testing"
[47fddc8]714 depends on COMPARE
[3b0fb28]715 default y
[613d46b]716 help
[3b0fb28]717 #-- Run ICA testing
[613d46b]718
[47fddc8]719 config RUN_FARCE
[3b0fb28]720 bool "farce testing"
[47fddc8]721 depends on COMPARE
[3b0fb28]722 default n
723 help
724 #-- Run farce testing
725 #--- End ICA/farce
726
[3c96826]727 #--- Optimizations
[7d4cc81]728if !BOOK_CLFS2
[3b0fb28]729 config CONFIG_OPTIMIZE
[3c96826]730 bool "Use optimization (see help)"
[cbe3f2b]731 default n
732 help
[3b0fb28]733 #-- Actual optimzation flags MUST be defined in ./optimize/*
734 # files before activate this option.
[cbe3f2b]735 #
[3b0fb28]736 # WARNING: The use of build optimizations may be dangerous.
737 # You should know what you are doing and be sure that the
738 # optimization settings listed below are what you want.
739 # It there are build issues or the system doesn't work as
740 # expected, please rebuild without optimizations before
741 # asking for support.
[613d46b]742
[3b0fb28]743 choice
744 prompt "Optimization level "
745 default OPT_1
746 depends CONFIG_OPTIMIZE
[613d46b]747 help
[3b0fb28]748 #-- Optimization values are set in optimize/* files
749
750 config OPT_1
751 bool "Final system only"
752
753 config OPT_2
754 bool "Both temp tools and final system"
755 endchoice
756
757 config OPTIMIZE
758 int
759 default "0" if !CONFIG_OPTIMIZE
760 default "1" if OPT_1
761 default "2" if OPT_2
[7d4cc81]762endif
[3b0fb28]763 #--- End Optimizations
764
[3c96826]765 #-- Internal Settings
766 menu "--- Internal Settings (WARNING: for jhalfs developers only)"
767
768 config SCRIPT_ROOT
769 string "Scripts root"
770 default "jhalfs"
771
772 config JHALFSDIR
773 string "jhalfs directory"
774 default "$BUILDDIR/$SCRIPT_ROOT"
775
776 config LOGDIR
777 string "Build logs directory"
778 default "$JHALFSDIR/logs"
779
780 config TESTLOGDIR
781 string "Test suites logs directory"
782 default "$JHALFSDIR/test-logs"
783
784 config ICALOGDIR
785 string "ICA logs directory"
786 default "$LOGDIR/ICA"
787
788 config FARCELOGDIR
789 string "farce logs directory"
790 default "$LOGDIR/farce"
791
792 config MKFILE
793 string "Makefile"
794 default "$JHALFSDIR/Makefile"
795
796 config XSL
797 string "XSL stylesheet"
798 default "$PROGNAME.xsl"
799
800 config PKG_LST
801 string "Package contents list"
802 default "unpacked"
803
804 #--- End Internal Settings
805 endmenu
806
[3b0fb28]807#--- End Advanced Features
808endmenu
Note: See TracBrowser for help on using the repository browser.