source: Config.in@ 14f86de

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

work on Config.in help text

  • Property mode set to 100644
File size: 12.4 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"
45 default ""
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"
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 config BUILD_CHROOT
187 bool "chroot"
188 config BUILD_BOOT
189 bool "boot"
190 endchoice
191 config METHOD
192 string
193 default "" if !BUILD_CHROOT && !BUILD_ROOT
194 default "chroot" if BUILD_CHROOT
195 default "boot" if BUILD_ROOT
196
197 config BOOT_CONFIG
198 string "BOOT kernel config file (manditory)"
199 default ""
200 depends on BUILD_BOOT
201 help
202 #--- If METHOD=boot, location of boot-kernel config file
203 # The config file will be copied to ${BUILD_DIR}/sources
204 # and renamed 'bootkernel-config'
205 # NOTE: this setting is required
206
207 config BOOT_KEYMAP
208 string "BOOT kernel keyboard map (see help)"
209 default "none"
210 depends on BUILD_BOOT
211 help
212 #--- Include the keymap in the kernel if defined. Path to the
213 # keymap file relative to /usr/share/kbd/keymaps/
214 # (e.g., i386/qwerty/us.map.gz) or "none" if you do not want
215 # a keymap included in the kernel
216
217 === Note about CLFS ===
218 If building the SVN or 1.0.0rc3 version using the boot method and
219 compiling the keymap into the kernel, you MUST to edit the "loadkeys"
220 command found in $JHALFSDIR/clfs-commands/boot/066-kernel to set the
221 full path in your host to the keymap file.
222
223comment "----------------------------------------"
224depends on BOOK_CLFS || BOOK_CLFS2
225
226
227comment "--------HLFS specific params---------"
228depends on BOOK_HLFS
229
230 config GRSECURITY_HOST
231 bool "Building on grsecurity enabled host?"
232 default n
233 depends on BOOK_HLFS
234 help
235 #--- If your build system has grsecurity patches applied
236 # you MUST enable this switch.
237
238 choice
239 prompt "Library"
240 depends on BOOK_HLFS
241 help
242 #--- Which library model to use: uClibc/glibc
243 config LIB_GLIBC
244 bool "glibc"
245 config LIB_UCLIBC
246 bool "uClibc"
247 endchoice
248 config MODEL
249 depends on BOOK_HLFS
250 string
251 default "glibc" if LIB_GLIBC
252 default "uclibc" if LIB_UCLIBC
253
254comment "-------------------------------------"
255depends on BOOK_HLFS
256
257#-----------------------
258
259
260 config CONFIG_GETPKG
261 bool "Retrieve source files"
262 default n
263 help
264 #--- Download all packages and patches required by the book selected
265 # NOTE: Looks for files in the local archive defined by SRC_ARCHIVE
266 # first and if necessary retrieve them from the 'net.
267 # Files will be transfered to $BUILDDIR/sources.
268
269 config CONFIG_GETKERNEL
270 bool "Always retrieve kernel package"
271 default n
272 help
273 # Get the kernel package and patches even if no configuration file
274 # has been supplied?
275
276 config CONFIG_RUNMAKE
277 bool "Run the makefile"
278 default n
279 help
280 #--- Automatically run the makefile once it has been created
281
282 config CONFIG_STRIP
283 bool "Strip Installed Binaries/Libraries"
284 default y
285
286
287 config CONFIG_VIMLANG
288 bool "Install vim-lang package"
289 default y
290 help
291 #--- install the optional vim-lang package
292
293
294#------------------
295 config CONFIG_OPTIMIZE
296 bool "Use optimization "
297 default n
298 help
299 # Actual optimzation flags are defined in ./optimize/*
300 #
301 # WARNING: The use of build optimizations may be dangerous.
302 # You should know what you are doing and be sure that the
303 # optimization settings listed below are what you want.
304 # There are build issues or the system doesn't work as
305 # expected, please rebuild without optimizations before
306 # asking for support.
307
308 choice
309 prompt "OPT level "
310 default OPT_1
311 depends CONFIG_OPTIMIZE
312 help
313 ***Optimization values are set in optimize/* files
314
315 config OPT_1
316 bool "Final system only"
317 config OPT_2
318 bool "Both temp tools and final system"
319 endchoice
320 config OPTIMIZE
321 int
322 default "0" if !CONFIG_OPTIMIZE
323 default "1" if OPT_1
324 default "2" if OPT_2
325
326#------------------
327 config CONFIG_COMPARE
328 bool "Run comparison analysis on final stage"
329 default n
330 help
331 #--- Should some iterative comparison analysis by made?
332 # Unless you are familiar with ICA and/or FARCE do not select this option
333 #
334 # ICA and FARCE are analysis tools for comparing one
335 # build to the next. Builds mays differ from one iteration
336 # to another due to the build order and these tools try
337 # to ferret out those differences by examining the stored
338 # build logs and binary files.
339 #
340 # The scripts are well commented and can be found here ./extras/*
341 #
342
343 config ITERATIONS
344 int "Number of test runs (2,3,4,5)"
345 depends on CONFIG_COMPARE
346 default 3
347
348 config CONFIG_ICA
349 bool "ICA testing"
350 depends on CONFIG_COMPARE
351 default y
352 help
353 #--- Run ICA testing
354
355 config CONFIG_FARCE
356 bool "farce testing"
357 depends on CONFIG_COMPARE
358 default n
359 help
360 #--- Run farce testing
361#------------------
362
363 config CONFIG_TESTS
364 bool "Run testsuites"
365 default n
366 help
367 #--- Run test suites [1-3]
368 # 1 = only chapter06 Glibc, GCC and Binutils testsuites
369 # 2 = all chapter06 testsuites
370 # 3 = all chapter05 and chapter06 testsuites
371 # (in CLFS, alias to 2)
372
373 choice
374 prompt "Tests ->"
375 depends !BOOK_CLFS2 && CONFIG_TESTS
376 default TEST_1
377
378 config TST_1
379 bool "Only chap06 Glibc/GCC/Binutils tests"
380 config TST_2
381 bool "All chap06 testsuites"
382 config TST_3
383 bool "All chap05/06 testsuites"
384 endchoice
385 config TEST
386 int
387 default "0" if !CONFIG_TEST
388 default "1" if TST_1
389 default "2" if TST_2
390 default "3" if TST_3
391
392 config CONFIG_REPORT
393 bool "Create SBU and disk usage report"
394 default y
395
396 config TIMEZONE
397 string "TimeZone"
398 default "America/New_York"
399 help
400 This will be copied to /etc/localtime
401
402
403 config LANG
404 string "Language"
405 default "$LANG"
406 help
407 #--- Language information in /etc/profile See <locale -a> for values
408
409 config LC_ALL
410 string "Language"
411 default "$LC_ALL"
412 depends on !BOOK_LFS
413 help
414 #--- Language information in /etc/profile See <locale -a> for values
415
416 choice
417 prompt "Groff page size"
418 default PAGE_LETTER
419 help
420 #--- page definition for groff letter/A4
421
422 config PAGE_LETTER
423 bool "letter"
424 config PAGE_A4
425 bool "A4"
426 endchoice
427 config PAGE
428 string
429 default "letter" if PAGE_LETTER
430 default "A4" if PAGE_A4
431
432
433
434
435 config BUILDDIR
436 string "Build Directory"
437 default "/mnt/build_dir"
438 help
439 #--- The directory where the created system will be located.
440
441 config SRC_ARCHIVE
442 string "Package Archive Directory"
443 default "$SRC_ARCHIVE"
444 help
445 #--- A local archive for packages/file (not BUILDDIR/sources)
446 # Used only if GETPKG = 1
447 # Any missing file will be downloaded and archived here,
448 # if the user has the right priviledges.
449
450 config FSTAB
451 string "Fstab file (optional)"
452 default ""
453 help
454 #--- Location of fstab file (if empty, a template is created)
455
456 config CONFIG
457 string "Kernel config file (optional)"
458 default ""
459 help
460 #--- Fully qualified path to a kernel config file
461 # The config file will be copied to ${BUILD_DIR}/sources
462 # and renamed 'kernel-config'
463 #
464 # If no config file is specified the kernel is NOT compiled
465
466 config KEYMAP
467 string "Keyboard map"
468 default "none"
469 depends on !BOOK_LFS
470 help
471 #--- Include the keymap in the kernel if defined. Path to the
472 # keymap file relative to /usr/share/kbd/keymaps/
473 # (e.g., i386/qwerty/us.map.gz) or "none" if you do not want
474 # a keymap included in the kernel
475
476
477# convert CONFIG_XXXX n/y to XXXX 0/1
478
479 config COMPARE
480 int
481 default 0 if !CONFIG_COMPARE
482 default 1 if CONFIG_COMPARE
483
484 config GETPKG
485 int
486 default 0 if !CONFIG_GETPKG
487 default 1 if CONFIG_GETPKG
488
489 config GETKERNEL
490 int
491 default 0 if !CONFIG_GETKERNEL
492 default 1 if CONFIG_GETKERNEL
493
494 config RUNMAKE
495 int
496 default 0 if !CONFIG_RUNMAKE
497 default 1 if CONFIG_RUNMAKE
498
499 config STRIP
500 int
501 default 0 if !CONFIG_STRIP
502 default 1 if CONFIG_STRIP
503
504 config REPORT
505 int
506 default 0 if !CONFIG_REPORT
507 default 1 if CONFIG_REPORT
508
509 config VIMLANG
510 int
511 default 0 if !CONFIG_VIMLANG
512 default 1 if CONFIG_VIMLANG
513
514 config RUN_ICA
515 int
516 default 0 if !CONFIG_ICA
517 default 1 if CONFIG_ICA
518
519 config RUN_FARCE
520 int
521 default 0 if !CONFIG_FARCE
522 default 1 if CONFIG_FARCE
523
Note: See TracBrowser for help on using the repository browser.