source: Config.in@ 1838bc7

2.3 2.3.x 2.4 ablfs ablfs-more legacy new_features trunk
Last change on this file since 1838bc7 was 1838bc7, checked in by Manuel Canales Esparcia <manuel@…>, 18 years ago

Changed how create-sbu_du-report target is created.
Added blfs-tool support to HLFS.

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