source: Config.in@ 0510381

experimental
Last change on this file since 0510381 was 42e1b38, checked in by George Boudreau <georgeb@…>, 18 years ago

Add code for user defined scripts. User scripts added at the end of the final build (LFS only)

  • Property mode set to 100644
File size: 18.4 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
[42e1b38]402
403 #--- Custom Tools support
404 config CUSTOM_TOOLS
405 bool "Add custom tool support"
406 default n
407 depends on BOOK_LFS
408 help
409 #--- Activating this option additional packages you create
410 # will be installed.
411 #
412 #--- End Custom Tools support
413
[3b0fb28]414#--- End BOOK Settings
415endmenu
[613d46b]416
[3b0fb28]417menu "--- General Settings"
[00f4966]418 depends on !BOOK_BLFS
[3b0fb28]419
420 #--- Set User Account
421 config CONFIG_USER
422 bool "Change the default user/group for this build"
423 default n
424 help #-- Unprivileged user and group name
425 # If you do not have the priv to create/delete
426 # users and groups you can specifiy your own
427 # user id for the build
428 #
429 # default values for each book
430 # LFS lfs
431 # CLFS clfs
432 # CLFS2 clfs
433 # HLFS hlfs
434
435 config DEF_USER
436 string
437 default "lfs" if BOOK_LFS
438 default "clfs" if BOOK_CLFS || BOOK_CLFS2
439 default "hlfs" if BOOK_HLFS
440
441 config SET_USER
442 string "User account"
443 depends CONFIG_USER
444 default DEF_USER
445
446
447 config CONFIG_GROUP
448 bool "Set Group?"
449 default n
450 depends CONFIG_USER
451
452 config SET_GROUP
453 string "GROUP account"
454 depends CONFIG_GROUP
455 default DEF_USER
456
457 config LUSER
458 string
459 default DEF_USER if !CONFIG_USER
460 default SET_USER if CONFIG_USER
461
462 config LGROUP
463 string
464 default LUSER if !CONFIG_GROUP
465 default SET_GROUP if CONFIG_GROUP
466 #--- End Set User Account
[613d46b]467
[cbe3f2b]468 config BUILDDIR
469 string "Build Directory"
470 default "/mnt/build_dir"
471 help
[3b0fb28]472 #-- The directory where the created system will be located.
[613d46b]473
[47fddc8]474 config GETPKG
[613d46b]475 bool "Retrieve source files"
476 default n
477 help
[3b0fb28]478 #-- Download all packages and patches required by the book selected
479 # NOTE: Looks for files in the local archive defined by SRC_ARCHIVE
480 # first and if necessary retrieve them from the 'net.
481 # Files will be transfered to $BUILDDIR/sources.
482
483 config SRC_ARCHIVE
484 string "Package Archive Directory"
485 default "$SRC_ARCHIVE"
[47fddc8]486 depends GETPKG
[3b0fb28]487 help
488 #-- A local archive for packages/file (not $BUILDDIR/sources)
489 # Used only if GETPKG = 1
490 # Any missing file will be downloaded and archived here,
491 # if the user has the right priviledges.
[613d46b]492
[3c96826]493 config SERVER
494 string "FTP mirror"
495 default "ftp://ftp.lfs-matrix.net"
496 depends GETPKG
497 help
498 #-- FTP mirror to download packages and patches if not found
499 # in $SRC_ARCHIVE
500 # As a last resort, the files will dowloaded from upstream,
501 # if possible.
502
[47fddc8]503 config GETKERNEL
[2ee1d11]504 bool "Always retrieve kernel package (see help)"
505 default y if BOOK_LFS && relSVN
[47fddc8]506 depends GETPKG
[613d46b]507 help
[2ee1d11]508 #-- Get the kernel package and patches even if no kernel
509 # configuration file has been supplied.
510
511 # NOTE:
512 # The kernel package must be available when building
513 # the SVN version of LFS to can install the headers files.
[613d46b]514
[47fddc8]515 config RUNMAKE
[21dab83]516 bool "Run the makefile"
[613d46b]517 default n
518 help
[3b0fb28]519 #-- Automatically run the makefile once it has been created
[613d46b]520
[47fddc8]521 config CLEAN
[21dab83]522 bool "Rebuild files"
523 default n
524 help
[3b0fb28]525 #-- Clean the build directory before performing any other task.
526 # The directory is cleaned only if it was populated by a
527 # previous JHALFS run.
[056486c]528 #
[3b0fb28]529 # NOTE::You must be 'root' for this function to work
[613d46b]530
[3b0fb28]531#--- End General Settings
532endmenu
[056486c]533
[3b0fb28]534menu "--- Build Settings"
[00f4966]535 depends on !BOOK_BLFS
[613d46b]536
[3b0fb28]537 #--- Test Suites
[613d46b]538 config CONFIG_TESTS
539 bool "Run testsuites"
[623643e]540 depends !BOOK_CLFS2
[1b99a8b]541 default y
[613d46b]542 help
[3b0fb28]543 #-- Run test suites
[623643e]544 #
545 # You will can to select between:
546 #
547 # - Only final system Glibc, GCC and Binutils testsuites
548 # - All final system testsuites
549 # - Both temporary tools and final system testsuites
550 #
551 # HLFS and CLFS has no testsuites available in the
[33c34c9]552 # temporary tools phase
[623643e]553
554 # You will be promt also about the "flavour" of the
555 # testsuites run:
556 #
557 # - Don't stop on test suite failures
558 # - Abort the build at the first test suite failure
[056486c]559 #
560
[3b0fb28]561 choice
[ed339567]562 prompt "Tests level"
[623643e]563 depends CONFIG_TESTS
[613d46b]564 default TEST_1
[056486c]565
[613d46b]566 config TST_1
[623643e]567 bool "Only final system Glibc, GCC and Binutils testsuites"
[3b0fb28]568
[613d46b]569 config TST_2
[623643e]570 bool "All final system testsuites"
[3b0fb28]571
[613d46b]572 config TST_3
[623643e]573 bool "Both temporary tools and final system testsuites" if !BOOK_HLFS && !BOOK_CLFS
[3b0fb28]574 endchoice
575
576 config TEST
[613d46b]577 int
[21dab83]578 default "0" if !CONFIG_TESTS
[613d46b]579 default "1" if TST_1
580 default "2" if TST_2
581 default "3" if TST_3
[3b0fb28]582
[1b99a8b]583 choice
[ed339567]584 prompt "Flavour"
[623643e]585 depends CONFIG_TESTS
[056486c]586
587 config NO_BOMB
588 bool "Don't stop on test suite failures"
[3b0fb28]589
[056486c]590 config BOMB
591 bool "Abort the build at the first test suite failure"
[3b0fb28]592 endchoice
593
594 config BOMB_TEST
[47fddc8]595 bool
[ed339567]596 default n if NO_BOMB
597 default y if BOMB
[47fddc8]598
[3b0fb28]599 #--- End Test Suites
[613d46b]600
[3b0fb28]601 #--- FSTAB
602 config HAVE_FSTAB
603 bool "Use a custom fstab file"
604 default n
605 help
606 #-- Select this if you have ready a proper fstab file
607
608 config FSTAB
609 string "Fstab file (optional)"
610 default "***EDIT ME***"
611 depends on HAVE_FSTAB
612 help
613 #-- The location of fstab file (if empty, a template is created)
614 #--- End FSTAB
615
616 #--- Kernel
617 config CONFIG_BUILD_KERNEL
618 bool "Build the kernel"
619 default n
620 help
621 #-- Select this option if you wish to build the kernel.
622 #
623 # You will be prompted for the full path to the .config
624 # file. It will be copied to the 'sources' directory and
625 # rename kernel-config
626
627 config CONFIG
628 string "Kernel config file"
629 default "***EDIT ME***"
630 depends on CONFIG_BUILD_KERNEL
631 help
632 #-- Fully qualified path to a kernel config file
633 # The config file will be copied to ${BUILD_DIR}/sources
634 # and renamed 'kernel-config'
635 #--- End Kernel
636
[47fddc8]637 config STRIP
[3b0fb28]638 bool "Strip Installed Binaries/Libraries"
[613d46b]639 default y
640
[47fddc8]641 config VIMLANG
[3b0fb28]642 bool "Install vim-lang package"
643 default y
644 help
[1b99a8b]645 #-- Install the optional vim-lang package
[3b0fb28]646
[613d46b]647 config TIMEZONE
648 string "TimeZone"
[33c34c9]649 default "GMT"
[613d46b]650 help
[33c34c9]651 #-- The timezone as output by tzselect
652 # This will be copied to /etc/localtime
[613d46b]653
654 config LANG
655 string "Language"
656 default "$LANG"
657 help
[3b0fb28]658 #-- Language information in /etc/profile See <locale -a> for values
[613d46b]659
660 config LC_ALL
661 string "Language"
662 default "$LC_ALL"
663 depends on !BOOK_LFS
664 help
[3b0fb28]665 #-- Language information in /etc/profile See <locale -a> for values
[613d46b]666
[3b0fb28]667 #--- Groff page
[613d46b]668 choice
669 prompt "Groff page size"
670 default PAGE_LETTER
671 help
[3b0fb28]672 #-- Page definition for groff: letter or A4
[056486c]673
[613d46b]674 config PAGE_LETTER
675 bool "letter"
[3b0fb28]676
[613d46b]677 config PAGE_A4
678 bool "A4"
679 endchoice
[3b0fb28]680
[613d46b]681 config PAGE
682 string
683 default "letter" if PAGE_LETTER
684 default "A4" if PAGE_A4
[3b0fb28]685 #--- End Groff page
[613d46b]686
[3b0fb28]687#--- End Build Settings
688endmenu
689
690menu "--- Advanced Features"
[00f4966]691 depends on !BOOK_BLFS
[3b0fb28]692
[47fddc8]693 config REPORT
[3b0fb28]694 bool "Create SBU and disk usage report"
695 default y
696
697 #--- ICA/farce
[47fddc8]698 config COMPARE
[3b0fb28]699 bool "Run comparison analysis on final stage"
700 depends !BOOK_CLFS2
701 default n
[613d46b]702 help
[3b0fb28]703 #-- Should some iterative comparison analysis by made?
704 #
705 # Unless you are familiar with ICA and/or FARCE do not
706 # select this option
707 #
708 # ICA and FARCE are analysis tools for comparing one
709 # build to the next. Builds mays differ from one iteration
710 # to another due to the build order and these tools try
711 # to ferret out those differences by examining the stored
712 # build logs and binary files.
713 #
714 # The scripts are well commented and can be found in ./extras/*
715 #
716
717 config ITERATIONS
[47fddc8]718 int "Number of test runs (2,3,4,5)" if COMPARE
719 depends on COMPARE
[3b0fb28]720 range 2 5
721 default 3
722
[47fddc8]723 config RUN_ICA
[3b0fb28]724 bool "ICA testing"
[47fddc8]725 depends on COMPARE
[3b0fb28]726 default y
[613d46b]727 help
[3b0fb28]728 #-- Run ICA testing
[613d46b]729
[47fddc8]730 config RUN_FARCE
[3b0fb28]731 bool "farce testing"
[47fddc8]732 depends on COMPARE
[3b0fb28]733 default n
734 help
735 #-- Run farce testing
736 #--- End ICA/farce
737
[3c96826]738 #--- Optimizations
[7d4cc81]739if !BOOK_CLFS2
[3b0fb28]740 config CONFIG_OPTIMIZE
[3c96826]741 bool "Use optimization (see help)"
[cbe3f2b]742 default n
743 help
[3b0fb28]744 #-- Actual optimzation flags MUST be defined in ./optimize/*
745 # files before activate this option.
[cbe3f2b]746 #
[3b0fb28]747 # WARNING: The use of build optimizations may be dangerous.
748 # You should know what you are doing and be sure that the
749 # optimization settings listed below are what you want.
750 # It there are build issues or the system doesn't work as
751 # expected, please rebuild without optimizations before
752 # asking for support.
[613d46b]753
[3b0fb28]754 choice
755 prompt "Optimization level "
756 default OPT_1
757 depends CONFIG_OPTIMIZE
[613d46b]758 help
[3b0fb28]759 #-- Optimization values are set in optimize/* files
760
761 config OPT_1
762 bool "Final system only"
763
764 config OPT_2
765 bool "Both temp tools and final system"
766 endchoice
767
768 config OPTIMIZE
769 int
770 default "0" if !CONFIG_OPTIMIZE
771 default "1" if OPT_1
772 default "2" if OPT_2
[7d4cc81]773endif
[3b0fb28]774 #--- End Optimizations
775
[3c96826]776 #-- Internal Settings
777 menu "--- Internal Settings (WARNING: for jhalfs developers only)"
778
779 config SCRIPT_ROOT
780 string "Scripts root"
781 default "jhalfs"
782
783 config JHALFSDIR
784 string "jhalfs directory"
785 default "$BUILDDIR/$SCRIPT_ROOT"
786
787 config LOGDIR
788 string "Build logs directory"
789 default "$JHALFSDIR/logs"
790
791 config TESTLOGDIR
792 string "Test suites logs directory"
793 default "$JHALFSDIR/test-logs"
794
795 config ICALOGDIR
796 string "ICA logs directory"
797 default "$LOGDIR/ICA"
798
799 config FARCELOGDIR
800 string "farce logs directory"
801 default "$LOGDIR/farce"
802
803 config MKFILE
804 string "Makefile"
805 default "$JHALFSDIR/Makefile"
806
807 config XSL
808 string "XSL stylesheet"
809 default "$PROGNAME.xsl"
810
811 config PKG_LST
812 string "Package contents list"
813 default "unpacked"
814
815 #--- End Internal Settings
816 endmenu
817
[3b0fb28]818#--- End Advanced Features
819endmenu
Note: See TracBrowser for help on using the repository browser.