source: Config.in@ 7b7c34a

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

Added reference to new configuration tool

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