source: Config.in@ 3fa20d4

experimental
Last change on this file since 3fa20d4 was 47fddc8, checked in by George Boudreau <georgeb@…>, 18 years ago

Change bool parameter definitions from 0/1 to y/n to match the new menu app

  • Property mode set to 100644
File size: 14.9 KB
Line 
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
25# config BOOK_BLFS
26# bool "Beyond Linux From Scratch"
27 endchoice
28
29 config RUN_ME
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 #--- End BOOK/script
38
39 #--- Book version
40 choice
41 prompt "Release"
42 default relSVN
43 config relSVN
44 bool "SVN"
45 help
46 #-- Current development version as in trunk
47
48 config WORKING_COPY
49 bool "Working Copy"
50 help
51 #-- A local working copy
52
53 config BRANCH
54 bool "Branch or stable book" if !BOOK_HLFS && !BOOK_CLFS2
55 help
56 #-- A supported SVN branch or stable released book
57 endchoice
58
59 config BRANCH_ID
60 string "Branch (mandatory)"
61 default "**EDIT ME**"
62 depends BRANCH
63 help
64 #-- A list of valid branches and stable books ID's is available here.
65 # http://wiki.linuxfromscratch.org/alfs/wiki/SupportedBooks
66
67 config BOOK
68 string "Loc of working copy (mandatory)"
69 default "**EDIT ME**"
70 depends WORKING_COPY
71 help
72 #-- The full path to a local copy of the book XML sources
73 #
74 #--- End BOOK version
75
76 #--- CLFS specific params
77 choice
78 prompt "Target architecture"
79 default ARCH_X86
80 depends BOOK_CLFS || BOOK_CLFS2
81 help
82 #-- Choose a base architecture
83
84 config ARCH_X86
85 bool "x86"
86
87 config ARCH_MIPS
88 bool "mips" if !BOOK_CLFS2
89
90 config ARCH_PPC
91 bool "ppc" if !BOOK_CLFS2
92
93 config ARCH_SPARC
94 bool "sparc" if !BOOK_CLFS2
95
96 config ARCH_ALPHA
97 bool "alpha" if !BOOK_CLFS2
98
99 config ARCH_ARM
100 bool "arm" if !BOOK_CLFS
101 endchoice
102
103 choice
104 prompt "Library"
105 depends (BOOK_CLFS || BOOK_CLFS2)
106 default DATA_32 if !ARCH_ALPHA
107 default DATA_64 if ARCH_ALPHA
108
109 config DATA_32
110 bool "32-bit" if !ARCH_ALPHA
111
112 config DATA_64
113 bool "64-bit" if !ARCH_PPC && !ARCH_ARM && !(BOOK_CLFS2 && ARCH_X86)
114
115 config DATA_MULTI
116 bool "multilib" if !ARCH_ALPHA && !ARCH_ARM && !(BOOK_CLFS2 && ARCH_X86)
117 endchoice
118
119 choice
120 prompt "Target"
121 depends (BOOK_CLFS || BOOK_CLFS2) && ((ARCH_X86 && DATA_32) || ARCH_MIPS)
122
123 config PROC_i486
124 bool "i486" if ARCH_X86 && DATA_32
125
126 config PROC_i586
127 bool "i586" if ARCH_X86 && DATA_32
128
129 config PROC_i686
130 bool "i686" if ARCH_X86 && DATA_32
131
132 config PROC_mipsel
133 bool "mips -little endian" if ARCH_MIPS
134
135 config PROC_mips
136 bool "mips" if ARCH_MIPS
137 endchoice
138
139 config TARGET
140 string
141 depends DATA_32
142 default "i486-pc-linux-gnu" if ARCH_X86 && PROC_i486
143 default "i586-pc-linux-gnu" if ARCH_X86 && PROC_i586
144 default "i686-pc-linux-gnu" if ARCH_X86 && PROC_i686
145 default "mipsel-unknown-linux-gnu" if ARCH_MIPS && PROC_mipsel
146 default "mips-unknown-linux-gnu" if ARCH_MIPS && PROC_mips
147 default "powerpc-unknown-linux-gnu" if ARCH_PPC
148 default "sparc-unknown-linux-gnu" if ARCH_SPARC
149 default "arm-unknown-linux-gnu" if ARCH_ARM
150
151 config TARGET
152 string
153 depends DATA_64
154 default "x86_64-unknown-linux-gnu" if ARCH_X86
155 default "mips64el-unknown-linux-gnu" if ARCH_MIPS && PROC_mipsel
156 default "mips64-unknown-linux-gnu" if ARCH_MIPS && PROC_mips
157 default "sparc64-unknown-linux-gnu" if ARCH_SPARC
158 default "alpha-unknown-linux-gnu" if ARCH_ALPHA
159
160 config TARGET
161 string
162 depends DATA_MULTI
163 default "x86_64-unknown-linux-gnu" if ARCH_X86
164 default "mips64el-unknown-linux-gnu" if ARCH_MIPS && PROC_mipsel
165 default "mips64-unknown-linux-gnu" if ARCH_MIPS && PROC_mips
166 default "sparc64-unknown-linux-gnu" if ARCH_SPARC
167 default "powerpc64-unknown-linux-gnu" if ARCH_PPC
168
169
170 config TARGET32
171 string
172 depends DATA_MULTI
173 default "i686-pc-linux-gnu" if ARCH_X86
174 default "mipsel-unknown-linux-gnu" if ARCH_MIPS && PROC_mipsel
175 default "mips-unknown-linux-gnu" if ARCH_MIPS && PROC_mips
176 default "sparc-unknown-linux-gnu" if ARCH_SPARC
177 default "powerpc-unknown-linux-gnu" if ARCH_PPC
178
179 config ARCH
180 string
181 depends DATA_32
182 default "x86" if ARCH_X86
183 default "ppc" if ARCH_PPC
184 default "mips" if ARCH_MIPS
185 default "sparc" if ARCH_SPARC
186 default "arm" if ARCH_ARM
187
188 config ARCH
189 string
190 depends DATA_64
191 default "x86_64-64" if ARCH_X86
192 default "mips64-64" if ARCH_MIPS
193 default "sparc64-64" if ARCH_SPARC
194 default "alpha" if ARCH_ALPHA
195
196 config ARCH
197 string
198 depends DATA_MULTI
199 default "x86_64" if ARCH_X86
200 default "mips64" if ARCH_MIPS
201 default "sparc64" if ARCH_SPARC
202 default "ppc64" if ARCH_PPC
203
204 choice
205 prompt "Build method"
206 depends BOOK_CLFS
207 help
208 #-- What build method should be used: a chroot jail or minimal boot system
209 # Review the Cross-LFS book chap6 "TO BOOT OR CHROOT" for a full explanation.
210
211 config BUILD_CHROOT
212 bool "chroot"
213
214 config BUILD_BOOT
215 bool "boot"
216 endchoice
217
218 config METHOD
219 string
220 default "chroot" if BUILD_CHROOT
221 default "boot" if BUILD_BOOT
222
223 config BOOT_CONFIG
224 string "BOOT kernel config file (mandatory)"
225 default "***EDIT ME***"
226 depends on BUILD_BOOT
227 help
228 #-- If METHOD=boot, location of boot-kernel config file
229 # The config file will be copied to ${BUILD_DIR}/sources
230 # and renamed 'bootkernel-config'
231 #
232 # NOTE: this setting is required
233
234 config BOOT_KEYMAP
235 string "BOOT kernel keyboard map (see help)"
236 default "none"
237 depends on BUILD_BOOT
238 help
239 #-- Include the keymap in the kernel if defined. Path to the
240 # keymap file relative to /usr/share/kbd/keymaps/
241 # (e.g., i386/qwerty/us.map.gz) or "none" if you do not want
242 # a keymap included in the kernel
243
244 === Note about CLFS ===
245 If building the SVN or 1.0.0rc3 version using the boot method and
246 compiling the keymap into the kernel, you MUST manually edit the
247 "loadkeys" command found in $JHALFSDIR/clfs-commands/boot/066-kernel
248 to set the full path in your host to the keymap file.
249 #--- End CLFS specific params
250
251 #--- HLFS specific params
252 config GRSECURITY_HOST
253 bool "Building on grsecurity enabled host?"
254 default n
255 depends on BOOK_HLFS
256 help
257 #-- If your build system has grsecurity patches applied
258 # you MUST enable this switch.
259
260 choice
261 prompt "Library"
262 depends on BOOK_HLFS
263 help
264 #-- Which library model to use: uClibc/glibc
265
266 config LIB_GLIBC
267 bool "glibc"
268
269 config LIB_UCLIBC
270 bool "uClibc"
271 endchoice
272
273 config MODEL
274 depends on BOOK_HLFS
275 string
276 default "glibc" if LIB_GLIBC
277 default "uclibc" if LIB_UCLIBC
278 #--- End HLFS specific params
279
280#--- End BOOK Settings
281endmenu
282
283menu "--- General Settings"
284
285 #--- Set User Account
286 config CONFIG_USER
287 bool "Change the default user/group for this build"
288 default n
289 help #-- Unprivileged user and group name
290 # If you do not have the priv to create/delete
291 # users and groups you can specifiy your own
292 # user id for the build
293 #
294 # default values for each book
295 # LFS lfs
296 # CLFS clfs
297 # CLFS2 clfs
298 # HLFS hlfs
299
300 config DEF_USER
301 string
302 default "lfs" if BOOK_LFS
303 default "clfs" if BOOK_CLFS || BOOK_CLFS2
304 default "hlfs" if BOOK_HLFS
305
306 config SET_USER
307 string "User account"
308 depends CONFIG_USER
309 default DEF_USER
310
311
312 config CONFIG_GROUP
313 bool "Set Group?"
314 default n
315 depends CONFIG_USER
316
317 config SET_GROUP
318 string "GROUP account"
319 depends CONFIG_GROUP
320 default DEF_USER
321
322 config LUSER
323 string
324 default DEF_USER if !CONFIG_USER
325 default SET_USER if CONFIG_USER
326
327 config LGROUP
328 string
329 default LUSER if !CONFIG_GROUP
330 default SET_GROUP if CONFIG_GROUP
331 #--- End Set User Account
332
333 config BUILDDIR
334 string "Build Directory"
335 default "/mnt/build_dir"
336 help
337 #-- The directory where the created system will be located.
338
339 config GETPKG
340 bool "Retrieve source files"
341 default n
342 help
343 #-- Download all packages and patches required by the book selected
344 # NOTE: Looks for files in the local archive defined by SRC_ARCHIVE
345 # first and if necessary retrieve them from the 'net.
346 # Files will be transfered to $BUILDDIR/sources.
347
348 config SRC_ARCHIVE
349 string "Package Archive Directory"
350 default "$SRC_ARCHIVE"
351 depends GETPKG
352 help
353 #-- A local archive for packages/file (not $BUILDDIR/sources)
354 # Used only if GETPKG = 1
355 # Any missing file will be downloaded and archived here,
356 # if the user has the right priviledges.
357
358 config GETKERNEL
359 bool "Always retrieve kernel package"
360 default n
361 depends GETPKG
362 help
363 #-- Get the kernel package and patches even if no configuration
364 # file has been supplied.
365
366 config RUNMAKE
367 bool "Run the makefile"
368 default n
369 help
370 #-- Automatically run the makefile once it has been created
371
372 config CLEAN
373 bool "Rebuild files"
374 default n
375 help
376 #-- Clean the build directory before performing any other task.
377 # The directory is cleaned only if it was populated by a
378 # previous JHALFS run.
379 #
380 # NOTE::You must be 'root' for this function to work
381
382#--- End General Settings
383endmenu
384
385menu "--- Build Settings"
386
387 #--- Test Suites
388 config CONFIG_TESTS
389 bool "Run testsuites"
390 depends !BOOK_CLFS2
391 default n
392 help
393 #-- Run test suites
394 #
395 # You will can to select between:
396 #
397 # - Only final system Glibc, GCC and Binutils testsuites
398 # - All final system testsuites
399 # - Both temporary tools and final system testsuites
400 #
401 # HLFS and CLFS has no testsuites available in the
402 # temporary tools phase
403
404 # You will be promt also about the "flavour" of the
405 # testsuites run:
406 #
407 # - Don't stop on test suite failures
408 # - Abort the build at the first test suite failure
409 #
410
411 choice
412 prompt "Tests ->"
413 depends CONFIG_TESTS
414 default TEST_1
415
416 config TST_1
417 bool "Only final system Glibc, GCC and Binutils testsuites"
418
419 config TST_2
420 bool "All final system testsuites"
421
422 config TST_3
423 bool "Both temporary tools and final system testsuites" if !BOOK_HLFS && !BOOK_CLFS
424 endchoice
425
426 config TEST
427 int
428 default "0" if !CONFIG_TESTS
429 default "1" if TST_1
430 default "2" if TST_2
431 default "3" if TST_3
432
433 choice
434 prompt "Flavour ->"
435 depends CONFIG_TESTS
436
437 config NO_BOMB
438 bool "Don't stop on test suite failures"
439 default n
440
441 config BOMB
442 bool "Abort the build at the first test suite failure"
443 default n
444 endchoice
445
446 config BOMB_TEST
447 bool
448 default BOMB
449
450 #--- End Test Suites
451
452 #--- FSTAB
453 config HAVE_FSTAB
454 bool "Use a custom fstab file"
455 default n
456 help
457 #-- Select this if you have ready a proper fstab file
458
459 config FSTAB
460 string "Fstab file (optional)"
461 default "***EDIT ME***"
462 depends on HAVE_FSTAB
463 help
464 #-- The location of fstab file (if empty, a template is created)
465 #--- End FSTAB
466
467 #--- Kernel
468 config CONFIG_BUILD_KERNEL
469 bool "Build the kernel"
470 default n
471 help
472 #-- Select this option if you wish to build the kernel.
473 #
474 # You will be prompted for the full path to the .config
475 # file. It will be copied to the 'sources' directory and
476 # rename kernel-config
477
478 config CONFIG
479 string "Kernel config file"
480 default "***EDIT ME***"
481 depends on CONFIG_BUILD_KERNEL
482 help
483 #-- Fully qualified path to a kernel config file
484 # The config file will be copied to ${BUILD_DIR}/sources
485 # and renamed 'kernel-config'
486
487 config KEYMAP
488 string "Keyboard map"
489 default "none"
490 depends on !BOOK_LFS && CONFIG_BUILD_KERNEL
491 help
492 #-- Include the keymap in the kernel if defined. Path to the
493 # keymap file relative to /usr/share/kbd/keymaps/
494 # (e.g., i386/qwerty/us.map.gz) or "none" if you do not want
495 # a keymap included in the kernel
496 #--- End Kernel
497
498 config STRIP
499 bool "Strip Installed Binaries/Libraries"
500 default y
501
502 config VIMLANG
503 bool "Install vim-lang package"
504 default y
505 help
506 #-- install the optional vim-lang package
507
508 config TIMEZONE
509 string "TimeZone"
510 default "GMT"
511 help
512 #-- The timezone as output by tzselect
513 # This will be copied to /etc/localtime
514
515 config LANG
516 string "Language"
517 default "$LANG"
518 help
519 #-- Language information in /etc/profile See <locale -a> for values
520
521 config LC_ALL
522 string "Language"
523 default "$LC_ALL"
524 depends on !BOOK_LFS
525 help
526 #-- Language information in /etc/profile See <locale -a> for values
527
528 #--- Groff page
529 choice
530 prompt "Groff page size"
531 default PAGE_LETTER
532 help
533 #-- Page definition for groff: letter or A4
534
535 config PAGE_LETTER
536 bool "letter"
537
538 config PAGE_A4
539 bool "A4"
540 endchoice
541
542 config PAGE
543 string
544 default "letter" if PAGE_LETTER
545 default "A4" if PAGE_A4
546 #--- End Groff page
547
548#--- End Build Settings
549endmenu
550
551menu "--- Advanced Features"
552
553 config REPORT
554 bool "Create SBU and disk usage report"
555 default y
556
557 #--- ICA/farce
558 config COMPARE
559 bool "Run comparison analysis on final stage"
560 depends !BOOK_CLFS2
561 default n
562 help
563 #-- Should some iterative comparison analysis by made?
564 #
565 # Unless you are familiar with ICA and/or FARCE do not
566 # select this option
567 #
568 # ICA and FARCE are analysis tools for comparing one
569 # build to the next. Builds mays differ from one iteration
570 # to another due to the build order and these tools try
571 # to ferret out those differences by examining the stored
572 # build logs and binary files.
573 #
574 # The scripts are well commented and can be found in ./extras/*
575 #
576
577 config ITERATIONS
578 int "Number of test runs (2,3,4,5)" if COMPARE
579 depends on COMPARE
580 range 2 5
581 default 3
582
583 config RUN_ICA
584 bool "ICA testing"
585 depends on COMPARE
586 default y
587 help
588 #-- Run ICA testing
589
590 config RUN_FARCE
591 bool "farce testing"
592 depends on COMPARE
593 default n
594 help
595 #-- Run farce testing
596 #--- End ICA/farce
597
598 #-- Optimizations
599 config CONFIG_OPTIMIZE
600 bool "Use optimization "
601 default n
602 help
603 #-- Actual optimzation flags MUST be defined in ./optimize/*
604 # files before activate this option.
605 #
606 # WARNING: The use of build optimizations may be dangerous.
607 # You should know what you are doing and be sure that the
608 # optimization settings listed below are what you want.
609 # It there are build issues or the system doesn't work as
610 # expected, please rebuild without optimizations before
611 # asking for support.
612
613 choice
614 prompt "Optimization level "
615 default OPT_1
616 depends CONFIG_OPTIMIZE
617 help
618 #-- Optimization values are set in optimize/* files
619
620 config OPT_1
621 bool "Final system only"
622
623 config OPT_2
624 bool "Both temp tools and final system"
625 endchoice
626
627 config OPTIMIZE
628 int
629 default "0" if !CONFIG_OPTIMIZE
630 default "1" if OPT_1
631 default "2" if OPT_2
632 #--- End Optimizations
633
634#--- End Advanced Features
635endmenu
636
637# config CONFIG_BLFS_CMDS
638# bool "Add BLFS packages to current build"
639# default n
640# depends !BOOK_HLFS && XXX
641# help
642# #--- Select this option if you wish to install any BLFS packages
643# # as part of your {c,h}lfs build.
644# # Any needed packages will be downloaded to the /sources dir
645# config BLFS_CMDLINE
646# string "BLFS packages"
647# default "none"
648# depends CONFIG_BLFS_CMDS
649
650
Note: See TracBrowser for help on using the repository browser.