source: Config.in@ 33c34c9

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

Some help changes.

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