source: Config.in@ 725ae5a

experimental
Last change on this file since 725ae5a was 725ae5a, checked in by George Boudreau <georgeb@…>, 18 years ago

Touch up work to Config.in

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