source: Config.in@ bd52fd3

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

A few changes to Config.in.

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