source: Config.in@ 4da2512

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

Merged r3068:3072 from expoerimental:
cmdline and config files support removal.

  • Property mode set to 100644
File size: 16.6 KB
RevLine 
[a705708]1menu "--- BOOK Settings"
2
3 #--- BOOK/script
4 choice
5 prompt "Use BOOK"
6 default BOOK_LFS
7 help
8 #-- Select the BOOK/Build style you wish to configure.
9
10 config BOOK_LFS
11 bool "Linux From Scratch"
12
13 config BOOK_CLFS
14 bool "Cross-Compiled Linux From Scratch"
15
16 config BOOK_CLFS2
17 bool "Cross-Compiled Linux From Scratch (Version 2)"
18
19# config BOOK_CLFS3
20# bool "Cross-Compiled Linux From Scratch (Embedded Systems)"
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
34# default "clfs3" if BOOK_CLFS3
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
60 bool "Branch or stable book" if !BOOK_HLFS && !BOOK_CLFS2
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
86 depends BOOK_CLFS || BOOK_CLFS2
87 help
88 #-- Choose a base architecture
89
90 config ARCH_X86
91 bool "x86"
92
93 config ARCH_MIPS
94 bool "mips" if !BOOK_CLFS2
95
96 config ARCH_PPC
97 bool "ppc" if !BOOK_CLFS2
98
99 config ARCH_SPARC
100 bool "sparc" if !BOOK_CLFS2
101
102 config ARCH_ALPHA
103 bool "alpha" if !BOOK_CLFS2
104
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
114
115 config DATA_32
116 bool "32-bit" if !ARCH_ALPHA
117
118 config DATA_64
119 bool "64-bit" if !ARCH_PPC && !ARCH_ARM && !(BOOK_CLFS2 && ARCH_X86)
120
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)
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
147 depends DATA_32
148 default "i486-pc-linux-gnu" if ARCH_X86 && PROC_i486
149 default "i586-pc-linux-gnu" if ARCH_X86 && PROC_i586
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
160 default "x86_64-unknown-linux-gnu" if ARCH_X86
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
174
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
183 default "powerpc-unknown-linux-gnu" if ARCH_PPC
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
193
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
201
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
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
217 config BUILD_CHROOT
218 bool "chroot"
219
220 config BUILD_BOOT
221 bool "boot"
222 endchoice
223
224 config METHOD
225 string
226 default "chroot" if BUILD_CHROOT
227 default "boot" if BUILD_BOOT
228
229 config BOOT_CONFIG
230 string "BOOT kernel config file (mandatory)"
231 default "***EDIT ME***"
232 depends on BUILD_BOOT
233 help
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
240 config BOOT_KEYMAP
241 string "BOOT kernel keyboard map (see help)"
242 default "none"
243 depends on BUILD_BOOT
244 help
245 #-- Include the keymap in the kernel if defined. Path to the
246 # keymap file relative to /usr/share/kbd/keymaps/
247 # (e.g., i386/qwerty/us.map.gz) or "none" if you do not want
248 # a keymap included in the kernel
249
250 === Note about CLFS ===
[a3b0e38]251 If building the SVN, Branch 1.0, or 1.0.0rc4 version using the boot method
252 and compiling the keymap into the kernel, you MUST manually edit the
[a705708]253 "loadkeys" command found in $JHALFSDIR/clfs-commands/boot/066-kernel
254 to set the full path in your host to the keymap file.
255 #--- End CLFS specific params
256
257 #--- HLFS specific params
[401f81e]258 config GRSECURITY_HOST
[a705708]259 bool "Building on grsecurity enabled host?"
260 default n
261 depends on BOOK_HLFS
262 help
263 #-- If your build system has grsecurity patches applied
264 # you MUST enable this switch.
265
266 choice
267 prompt "Library"
268 depends on BOOK_HLFS
269 help
270 #-- Which library model to use: uClibc/glibc
271
272 config LIB_GLIBC
273 bool "glibc"
274
275 config LIB_UCLIBC
276 bool "uClibc"
277 endchoice
278
279 config MODEL
280 depends on BOOK_HLFS
281 string
282 default "glibc" if LIB_GLIBC
283 default "uclibc" if LIB_UCLIBC
284 #--- End HLFS specific params
285
[d3ce173]286 #--- BLFS specific params
287 config BLFS_ROOT
288 string "Directory root"
289 default "$HOME/blfs_root"
290 depends on BOOK_BLFS
291 help
292 #-- Full path to the directory where all required
293 # files and scripts will be stored.
294
295 config BLFS_XML
296 string "BLFS sources directory"
297 default "blfs-xml"
298 depends on BOOK_BLFS
299 help
300 #-- The directory name where BLFS book sources
301 # will be checkout.
[f4ed135]302
303 config TRACKING_DIR
304 string "Installed packages database directory"
305 default "/var/lib/jhalfs/BLFS"
306 depends on BOOK_BLFS
307 help
308 #-- Full path to the directory where the installed
309 # packages database will be created.
310 #
311 # Note that the user that will build the packages must
312 # have read and write privileges on that directory.
[d3ce173]313 #--- End BLFS specific params
314
[a705708]315#--- End BOOK Settings
316endmenu
317
318menu "--- General Settings"
[d3ce173]319 depends on !BOOK_BLFS
[a705708]320
321 #--- Set User Account
322 config CONFIG_USER
323 bool "Change the default user/group for this build"
324 default n
325 help #-- Unprivileged user and group name
326 # If you do not have the priv to create/delete
327 # users and groups you can specifiy your own
328 # user id for the build
329 #
330 # default values for each book
331 # LFS lfs
332 # CLFS clfs
333 # CLFS2 clfs
334 # HLFS hlfs
335
336 config DEF_USER
337 string
338 default "lfs" if BOOK_LFS
339 default "clfs" if BOOK_CLFS || BOOK_CLFS2
340 default "hlfs" if BOOK_HLFS
341
342 config SET_USER
343 string "User account"
344 depends CONFIG_USER
345 default DEF_USER
346
347
348 config CONFIG_GROUP
349 bool "Set Group?"
350 default n
351 depends CONFIG_USER
352
353 config SET_GROUP
354 string "GROUP account"
355 depends CONFIG_GROUP
356 default DEF_USER
357
358 config LUSER
359 string
360 default DEF_USER if !CONFIG_USER
361 default SET_USER if CONFIG_USER
362
363 config LGROUP
364 string
365 default LUSER if !CONFIG_GROUP
366 default SET_GROUP if CONFIG_GROUP
367 #--- End Set User Account
368
369 config BUILDDIR
370 string "Build Directory"
371 default "/mnt/build_dir"
372 help
373 #-- The directory where the created system will be located.
374
[401f81e]375 config GETPKG
[a705708]376 bool "Retrieve source files"
377 default n
378 help
379 #-- Download all packages and patches required by the book selected
380 # NOTE: Looks for files in the local archive defined by SRC_ARCHIVE
381 # first and if necessary retrieve them from the 'net.
382 # Files will be transfered to $BUILDDIR/sources.
383
384 config SRC_ARCHIVE
385 string "Package Archive Directory"
386 default "$SRC_ARCHIVE"
[401f81e]387 depends GETPKG
[a705708]388 help
389 #-- A local archive for packages/file (not $BUILDDIR/sources)
390 # Used only if GETPKG = 1
391 # Any missing file will be downloaded and archived here,
392 # if the user has the right priviledges.
393
[4da2512]394 config SERVER
395 string "FTP mirror"
396 default "ftp://ftp.lfs-matrix.net"
397 depends GETPKG
398 help
399 #-- FTP mirror to download packages and patches if not found
400 # in $SRC_ARCHIVE
401 # As a last resort, the files will dowloaded from upstream,
402 # if possible.
403
[401f81e]404 config GETKERNEL
[a705708]405 bool "Always retrieve kernel package"
406 default n
[401f81e]407 depends GETPKG
[a705708]408 help
409 #-- Get the kernel package and patches even if no configuration
410 # file has been supplied.
411
[401f81e]412 config RUNMAKE
[a705708]413 bool "Run the makefile"
414 default n
415 help
416 #-- Automatically run the makefile once it has been created
417
[401f81e]418 config CLEAN
[a705708]419 bool "Rebuild files"
420 default n
421 help
422 #-- Clean the build directory before performing any other task.
423 # The directory is cleaned only if it was populated by a
424 # previous JHALFS run.
425 #
426 # NOTE::You must be 'root' for this function to work
427
428#--- End General Settings
429endmenu
430
431menu "--- Build Settings"
[d3ce173]432 depends on !BOOK_BLFS
[a705708]433
434 #--- Test Suites
435 config CONFIG_TESTS
436 bool "Run testsuites"
437 depends !BOOK_CLFS2
[401f81e]438 default y
[a705708]439 help
440 #-- Run test suites
441 #
442 # You will can to select between:
443 #
444 # - Only final system Glibc, GCC and Binutils testsuites
445 # - All final system testsuites
446 # - Both temporary tools and final system testsuites
447 #
448 # HLFS and CLFS has no testsuites available in the
449 # temporary tools phase
450
451 # You will be promt also about the "flavour" of the
452 # testsuites run:
453 #
454 # - Don't stop on test suite failures
455 # - Abort the build at the first test suite failure
456 #
457
458 choice
[8e3ccf7]459 prompt "Tests level"
[a705708]460 depends CONFIG_TESTS
461 default TEST_1
462
463 config TST_1
464 bool "Only final system Glibc, GCC and Binutils testsuites"
465
466 config TST_2
467 bool "All final system testsuites"
468
469 config TST_3
470 bool "Both temporary tools and final system testsuites" if !BOOK_HLFS && !BOOK_CLFS
471 endchoice
472
473 config TEST
474 int
475 default "0" if !CONFIG_TESTS
476 default "1" if TST_1
477 default "2" if TST_2
478 default "3" if TST_3
479
480 choice
[8e3ccf7]481 prompt "Flavour"
[a705708]482 depends CONFIG_TESTS
483
484 config NO_BOMB
485 bool "Don't stop on test suite failures"
486
487 config BOMB
488 bool "Abort the build at the first test suite failure"
489 endchoice
490
491 config BOMB_TEST
[401f81e]492 bool
[8e3ccf7]493 default n if NO_BOMB
494 default y if BOMB
[401f81e]495
[a705708]496 #--- End Test Suites
497
498 #--- FSTAB
499 config HAVE_FSTAB
500 bool "Use a custom fstab file"
501 default n
502 help
503 #-- Select this if you have ready a proper fstab file
504
505 config FSTAB
506 string "Fstab file (optional)"
507 default "***EDIT ME***"
508 depends on HAVE_FSTAB
509 help
510 #-- The location of fstab file (if empty, a template is created)
511 #--- End FSTAB
512
513 #--- Kernel
514 config CONFIG_BUILD_KERNEL
515 bool "Build the kernel"
516 default n
517 help
518 #-- Select this option if you wish to build the kernel.
519 #
520 # You will be prompted for the full path to the .config
521 # file. It will be copied to the 'sources' directory and
522 # rename kernel-config
523
524 config CONFIG
525 string "Kernel config file"
526 default "***EDIT ME***"
527 depends on CONFIG_BUILD_KERNEL
528 help
529 #-- Fully qualified path to a kernel config file
530 # The config file will be copied to ${BUILD_DIR}/sources
531 # and renamed 'kernel-config'
532
533 config KEYMAP
534 string "Keyboard map"
535 default "none"
536 depends on !BOOK_LFS && CONFIG_BUILD_KERNEL
537 help
538 #-- Include the keymap in the kernel if defined. Path to the
539 # keymap file relative to /usr/share/kbd/keymaps/
540 # (e.g., i386/qwerty/us.map.gz) or "none" if you do not want
541 # a keymap included in the kernel
542 #--- End Kernel
543
[401f81e]544 config STRIP
[a705708]545 bool "Strip Installed Binaries/Libraries"
546 default y
547
[401f81e]548 config VIMLANG
[a705708]549 bool "Install vim-lang package"
550 default y
551 help
[401f81e]552 #-- Install the optional vim-lang package
[a705708]553
554 config TIMEZONE
555 string "TimeZone"
556 default "GMT"
557 help
558 #-- The timezone as output by tzselect
559 # This will be copied to /etc/localtime
560
561 config LANG
562 string "Language"
563 default "$LANG"
564 help
565 #-- Language information in /etc/profile See <locale -a> for values
566
567 config LC_ALL
568 string "Language"
569 default "$LC_ALL"
570 depends on !BOOK_LFS
571 help
572 #-- Language information in /etc/profile See <locale -a> for values
573
574 #--- Groff page
575 choice
576 prompt "Groff page size"
577 default PAGE_LETTER
578 help
579 #-- Page definition for groff: letter or A4
580
581 config PAGE_LETTER
582 bool "letter"
583
584 config PAGE_A4
585 bool "A4"
586 endchoice
587
588 config PAGE
589 string
590 default "letter" if PAGE_LETTER
591 default "A4" if PAGE_A4
592 #--- End Groff page
593
594#--- End Build Settings
595endmenu
596
597menu "--- Advanced Features"
[d3ce173]598 depends on !BOOK_BLFS
[a705708]599
[401f81e]600 config REPORT
[a705708]601 bool "Create SBU and disk usage report"
602 default y
603
604 #--- ICA/farce
[401f81e]605 config COMPARE
[a705708]606 bool "Run comparison analysis on final stage"
607 depends !BOOK_CLFS2
608 default n
609 help
610 #-- Should some iterative comparison analysis by made?
611 #
612 # Unless you are familiar with ICA and/or FARCE do not
613 # select this option
614 #
615 # ICA and FARCE are analysis tools for comparing one
616 # build to the next. Builds mays differ from one iteration
617 # to another due to the build order and these tools try
618 # to ferret out those differences by examining the stored
619 # build logs and binary files.
620 #
621 # The scripts are well commented and can be found in ./extras/*
622 #
623
624 config ITERATIONS
[401f81e]625 int "Number of test runs (2,3,4,5)" if COMPARE
626 depends on COMPARE
[a705708]627 range 2 5
628 default 3
629
[401f81e]630 config RUN_ICA
[a705708]631 bool "ICA testing"
[401f81e]632 depends on COMPARE
[a705708]633 default y
634 help
635 #-- Run ICA testing
636
[401f81e]637 config RUN_FARCE
[a705708]638 bool "farce testing"
[401f81e]639 depends on COMPARE
[a705708]640 default n
641 help
642 #-- Run farce testing
643 #--- End ICA/farce
644
[4da2512]645 #--- Optimizations
[a705708]646 config CONFIG_OPTIMIZE
[4da2512]647 bool "Use optimization (see help)"
[a705708]648 default n
649 help
650 #-- Actual optimzation flags MUST be defined in ./optimize/*
651 # files before activate this option.
652 #
653 # WARNING: The use of build optimizations may be dangerous.
654 # You should know what you are doing and be sure that the
655 # optimization settings listed below are what you want.
656 # It there are build issues or the system doesn't work as
657 # expected, please rebuild without optimizations before
658 # asking for support.
659
660 choice
661 prompt "Optimization level "
662 default OPT_1
663 depends CONFIG_OPTIMIZE
664 help
665 #-- Optimization values are set in optimize/* files
666
667 config OPT_1
668 bool "Final system only"
669
670 config OPT_2
671 bool "Both temp tools and final system"
672 endchoice
673
674 config OPTIMIZE
675 int
676 default "0" if !CONFIG_OPTIMIZE
677 default "1" if OPT_1
678 default "2" if OPT_2
679 #--- End Optimizations
680
[4da2512]681 #-- Internal Settings
682 menu "--- Internal Settings (WARNING: for jhalfs developers only)"
683
684 config SCRIPT_ROOT
685 string "Scripts root"
686 default "jhalfs"
687
688 config JHALFSDIR
689 string "jhalfs directory"
690 default "$BUILDDIR/$SCRIPT_ROOT"
691
692 config LOGDIR
693 string "Build logs directory"
694 default "$JHALFSDIR/logs"
695
696 config TESTLOGDIR
697 string "Test suites logs directory"
698 default "$JHALFSDIR/test-logs"
699
700 config ICALOGDIR
701 string "ICA logs directory"
702 default "$LOGDIR/ICA"
703
704 config FARCELOGDIR
705 string "farce logs directory"
706 default "$LOGDIR/farce"
707
708 config MKFILE
709 string "Makefile"
710 default "$JHALFSDIR/Makefile"
711
712 config XSL
713 string "XSL stylesheet"
714 default "$PROGNAME.xsl"
715
716 config PKG_LST
717 string "Package contents list"
718 default "unpacked"
719
720 #--- End Internal Settings
721 endmenu
722
[a705708]723#--- End Advanced Features
724endmenu
Note: See TracBrowser for help on using the repository browser.