1 | menu "--- BOOK Settings"
|
---|
2 |
|
---|
3 | #--- BOOK/script
|
---|
4 | choice
|
---|
5 | prompt "Use BOOK"
|
---|
6 | default BOOK_LFS
|
---|
7 | help
|
---|
8 | #-- Select the BOOK/Build style you wish to configure.
|
---|
9 |
|
---|
10 | config BOOK_LFS
|
---|
11 | bool "Linux From Scratch"
|
---|
12 |
|
---|
13 | config BOOK_CLFS
|
---|
14 | bool "Cross-Compiled Linux From Scratch"
|
---|
15 |
|
---|
16 | config BOOK_CLFS2
|
---|
17 | bool "Cross-Compiled Linux From Scratch (Version 2)"
|
---|
18 |
|
---|
19 | # config BOOK_CLFS3
|
---|
20 | # bool "Cross-Compiled Linux From Scratch (Embedded Systems)"
|
---|
21 |
|
---|
22 | config BOOK_HLFS
|
---|
23 | bool "Hardened Linux From Scratch"
|
---|
24 |
|
---|
25 | config BOOK_BLFS
|
---|
26 | bool "Beyond Linux From Scratch"
|
---|
27 | endchoice
|
---|
28 |
|
---|
29 | config PROGNAME
|
---|
30 | string
|
---|
31 | default "lfs" if BOOK_LFS
|
---|
32 | default "clfs" if BOOK_CLFS
|
---|
33 | default "clfs2" if BOOK_CLFS2
|
---|
34 | # default "clfs3" if BOOK_CLFS3
|
---|
35 | default "hlfs" if BOOK_HLFS
|
---|
36 | default "blfs" if BOOK_BLFS
|
---|
37 |
|
---|
38 | config RUN_ME
|
---|
39 | string
|
---|
40 | default "./jhalfs run" if !BOOK_BLFS
|
---|
41 | default "./blfs-tool" if BOOK_BLFS
|
---|
42 | #--- End BOOK/script
|
---|
43 |
|
---|
44 | #--- Book version
|
---|
45 | choice
|
---|
46 | prompt "Release"
|
---|
47 | default relSVN
|
---|
48 | config relSVN
|
---|
49 | bool "SVN"
|
---|
50 | help
|
---|
51 | #-- Current development version as in trunk
|
---|
52 |
|
---|
53 | config WORKING_COPY
|
---|
54 | bool "Working Copy"
|
---|
55 | depends on !BOOK_BLFS
|
---|
56 | help
|
---|
57 | #-- A local working copy
|
---|
58 |
|
---|
59 | config BRANCH
|
---|
60 | bool "Branch or stable book" if !BOOK_CLFS2
|
---|
61 | help
|
---|
62 | #-- A supported SVN branch or stable released book
|
---|
63 | endchoice
|
---|
64 |
|
---|
65 | config BRANCH_ID
|
---|
66 | string "Book Version (mandatory)"
|
---|
67 | default "**EDIT ME**"
|
---|
68 | depends BRANCH
|
---|
69 | help
|
---|
70 | #-- A list of valid branches and stable books ID's is available here.
|
---|
71 | # http://wiki.linuxfromscratch.org/alfs/wiki/SupportedBooks
|
---|
72 |
|
---|
73 | config BOOK
|
---|
74 | string "Loc of working copy (mandatory)"
|
---|
75 | default "**EDIT ME**"
|
---|
76 | depends WORKING_COPY
|
---|
77 | help
|
---|
78 | #-- The full path to a local copy of the book XML sources
|
---|
79 | #
|
---|
80 | #--- End BOOK version
|
---|
81 |
|
---|
82 | #--- CLFS specific params
|
---|
83 | choice
|
---|
84 | prompt "Target architecture"
|
---|
85 | default ARCH_X86
|
---|
86 | depends BOOK_CLFS || BOOK_CLFS2
|
---|
87 | help
|
---|
88 | #-- Choose a base architecture
|
---|
89 |
|
---|
90 | config ARCH_X86
|
---|
91 | bool "x86"
|
---|
92 |
|
---|
93 | config ARCH_MIPS
|
---|
94 | bool "mips" if !BOOK_CLFS2
|
---|
95 |
|
---|
96 | config ARCH_PPC
|
---|
97 | bool "ppc" if !BOOK_CLFS2
|
---|
98 |
|
---|
99 | config ARCH_SPARC
|
---|
100 | bool "sparc" if !BOOK_CLFS2
|
---|
101 |
|
---|
102 | config ARCH_ALPHA
|
---|
103 | bool "alpha" if !BOOK_CLFS2
|
---|
104 |
|
---|
105 | config ARCH_ARM
|
---|
106 | bool "arm" if !BOOK_CLFS
|
---|
107 | endchoice
|
---|
108 |
|
---|
109 | choice
|
---|
110 | prompt "Library"
|
---|
111 | depends (BOOK_CLFS || BOOK_CLFS2)
|
---|
112 | default DATA_32 if !ARCH_ALPHA
|
---|
113 | default DATA_64 if ARCH_ALPHA
|
---|
114 |
|
---|
115 | config DATA_32
|
---|
116 | bool "32-bit" if !ARCH_ALPHA
|
---|
117 |
|
---|
118 | config DATA_64
|
---|
119 | bool "64-bit" if !ARCH_PPC && !ARCH_ARM && !(BOOK_CLFS2 && ARCH_X86)
|
---|
120 |
|
---|
121 | config DATA_MULTI
|
---|
122 | bool "multilib" if !ARCH_ALPHA && !ARCH_ARM && !(BOOK_CLFS2 && ARCH_X86)
|
---|
123 | endchoice
|
---|
124 |
|
---|
125 | choice
|
---|
126 | prompt "Target"
|
---|
127 | depends (BOOK_CLFS || BOOK_CLFS2) && ((ARCH_X86 && DATA_32) || ARCH_MIPS)
|
---|
128 |
|
---|
129 | config PROC_i486
|
---|
130 | bool "i486" if ARCH_X86 && DATA_32
|
---|
131 |
|
---|
132 | config PROC_i586
|
---|
133 | bool "i586" if ARCH_X86 && DATA_32
|
---|
134 |
|
---|
135 | config PROC_i686
|
---|
136 | bool "i686" if ARCH_X86 && DATA_32
|
---|
137 |
|
---|
138 | config PROC_mipsel
|
---|
139 | bool "mips -little endian" if ARCH_MIPS
|
---|
140 |
|
---|
141 | config PROC_mips
|
---|
142 | bool "mips" if ARCH_MIPS
|
---|
143 | endchoice
|
---|
144 |
|
---|
145 | config TARGET
|
---|
146 | string
|
---|
147 | depends DATA_32
|
---|
148 | default "i486-pc-linux-gnu" if ARCH_X86 && PROC_i486
|
---|
149 | default "i586-pc-linux-gnu" if ARCH_X86 && PROC_i586
|
---|
150 | default "i686-pc-linux-gnu" if ARCH_X86 && PROC_i686
|
---|
151 | default "mipsel-unknown-linux-gnu" if ARCH_MIPS && PROC_mipsel
|
---|
152 | default "mips-unknown-linux-gnu" if ARCH_MIPS && PROC_mips
|
---|
153 | default "powerpc-unknown-linux-gnu" if ARCH_PPC
|
---|
154 | default "sparc-unknown-linux-gnu" if ARCH_SPARC
|
---|
155 | default "arm-unknown-linux-gnu" if ARCH_ARM
|
---|
156 |
|
---|
157 | config TARGET
|
---|
158 | string
|
---|
159 | depends DATA_64
|
---|
160 | default "x86_64-unknown-linux-gnu" if ARCH_X86
|
---|
161 | default "mips64el-unknown-linux-gnu" if ARCH_MIPS && PROC_mipsel
|
---|
162 | default "mips64-unknown-linux-gnu" if ARCH_MIPS && PROC_mips
|
---|
163 | default "sparc64-unknown-linux-gnu" if ARCH_SPARC
|
---|
164 | default "alpha-unknown-linux-gnu" if ARCH_ALPHA
|
---|
165 |
|
---|
166 | config TARGET
|
---|
167 | string
|
---|
168 | depends DATA_MULTI
|
---|
169 | default "x86_64-unknown-linux-gnu" if ARCH_X86
|
---|
170 | default "mips64el-unknown-linux-gnu" if ARCH_MIPS && PROC_mipsel
|
---|
171 | default "mips64-unknown-linux-gnu" if ARCH_MIPS && PROC_mips
|
---|
172 | default "sparc64-unknown-linux-gnu" if ARCH_SPARC
|
---|
173 | default "powerpc64-unknown-linux-gnu" if ARCH_PPC
|
---|
174 |
|
---|
175 |
|
---|
176 | config TARGET32
|
---|
177 | string
|
---|
178 | depends DATA_MULTI
|
---|
179 | default "i686-pc-linux-gnu" if ARCH_X86
|
---|
180 | default "mipsel-unknown-linux-gnu" if ARCH_MIPS && PROC_mipsel
|
---|
181 | default "mips-unknown-linux-gnu" if ARCH_MIPS && PROC_mips
|
---|
182 | default "sparc-unknown-linux-gnu" if ARCH_SPARC
|
---|
183 | default "powerpc-unknown-linux-gnu" if ARCH_PPC
|
---|
184 |
|
---|
185 | config ARCH
|
---|
186 | string
|
---|
187 | depends DATA_32
|
---|
188 | default "x86" if ARCH_X86
|
---|
189 | default "ppc" if ARCH_PPC
|
---|
190 | default "mips" if ARCH_MIPS
|
---|
191 | default "sparc" if ARCH_SPARC
|
---|
192 | default "arm" if ARCH_ARM
|
---|
193 |
|
---|
194 | config ARCH
|
---|
195 | string
|
---|
196 | depends DATA_64
|
---|
197 | default "x86_64-64" if ARCH_X86
|
---|
198 | default "mips64-64" if ARCH_MIPS
|
---|
199 | default "sparc64-64" if ARCH_SPARC
|
---|
200 | default "alpha" if ARCH_ALPHA
|
---|
201 |
|
---|
202 | config ARCH
|
---|
203 | string
|
---|
204 | depends DATA_MULTI
|
---|
205 | default "x86_64" if ARCH_X86
|
---|
206 | default "mips64" if ARCH_MIPS
|
---|
207 | default "sparc64" if ARCH_SPARC
|
---|
208 | default "ppc64" if ARCH_PPC
|
---|
209 |
|
---|
210 | choice
|
---|
211 | prompt "Build method"
|
---|
212 | depends BOOK_CLFS
|
---|
213 | help
|
---|
214 | #-- What build method should be used: a chroot jail or minimal boot system
|
---|
215 | # Review the Cross-LFS book chap6 "TO BOOT OR CHROOT" for a full explanation.
|
---|
216 |
|
---|
217 | config BUILD_CHROOT
|
---|
218 | bool "chroot"
|
---|
219 |
|
---|
220 | config BUILD_BOOT
|
---|
221 | bool "boot"
|
---|
222 | endchoice
|
---|
223 |
|
---|
224 | config METHOD
|
---|
225 | string
|
---|
226 | default "chroot" if BUILD_CHROOT
|
---|
227 | default "boot" if BUILD_BOOT
|
---|
228 |
|
---|
229 | config BOOT_CONFIG
|
---|
230 | string "BOOT kernel config file (mandatory)"
|
---|
231 | default "***EDIT ME***"
|
---|
232 | depends on BUILD_BOOT
|
---|
233 | help
|
---|
234 | #-- If METHOD=boot, location of boot-kernel config file
|
---|
235 | # The config file will be copied to ${BUILD_DIR}/sources
|
---|
236 | # and renamed 'bootkernel-config'
|
---|
237 | #
|
---|
238 | # NOTE: this setting is required
|
---|
239 | #--- End CLFS specific params
|
---|
240 |
|
---|
241 | #--- HLFS specific params
|
---|
242 | config GRSECURITY_HOST
|
---|
243 | bool "Building on grsecurity enabled host?"
|
---|
244 | default n
|
---|
245 | depends on BOOK_HLFS
|
---|
246 | help
|
---|
247 | #-- If your build system has grsecurity patches applied
|
---|
248 | # you MUST enable this switch.
|
---|
249 |
|
---|
250 | choice
|
---|
251 | prompt "Library"
|
---|
252 | depends on BOOK_HLFS
|
---|
253 | help
|
---|
254 | #-- Which library model to use: uClibc/glibc
|
---|
255 |
|
---|
256 | config LIB_GLIBC
|
---|
257 | bool "glibc"
|
---|
258 |
|
---|
259 | config LIB_UCLIBC
|
---|
260 | bool "uClibc"
|
---|
261 | endchoice
|
---|
262 |
|
---|
263 | config MODEL
|
---|
264 | depends on BOOK_HLFS
|
---|
265 | string
|
---|
266 | default "glibc" if LIB_GLIBC
|
---|
267 | default "uclibc" if LIB_UCLIBC
|
---|
268 | #--- End HLFS specific params
|
---|
269 |
|
---|
270 | #--- Custom Tools support
|
---|
271 | config CUSTOM_TOOLS
|
---|
272 | bool "Add custom tool support"
|
---|
273 | default n
|
---|
274 | depends on BOOK_LFS
|
---|
275 | help
|
---|
276 | #--- Activating this option additional packages you create
|
---|
277 | # will be installed.
|
---|
278 | #
|
---|
279 | #--- End Custom Tools support
|
---|
280 |
|
---|
281 | #--- blfs-tool Support
|
---|
282 | config BLFS_TOOL
|
---|
283 | bool "Add blfs-tool support"
|
---|
284 | default n
|
---|
285 | # depends on !BOOK_BLFS
|
---|
286 | depends on BOOK_LFS || BOOK_CLFS
|
---|
287 | help
|
---|
288 | #--- Activating this option additional packages needed to
|
---|
289 | # use blfs-tool will be installed.
|
---|
290 | #
|
---|
291 | # The blfs-tool files will be installed under
|
---|
292 | # $BUILD_DIR/blfs_root.
|
---|
293 |
|
---|
294 | # After booting the new xLFS system you should to
|
---|
295 | # create an user account and move the blfs-root
|
---|
296 | # directory to the user's home, making he the
|
---|
297 | # directory and files owner, before start
|
---|
298 | # using blfs-tool.
|
---|
299 | #
|
---|
300 | # Also, be sure to bring to that user read and write
|
---|
301 | # privileges over the $TRACKING_DIR directory and
|
---|
302 | # the files that it contains.
|
---|
303 | #
|
---|
304 | # And don't forget to configure sudo properly.
|
---|
305 |
|
---|
306 | choice
|
---|
307 | prompt "BLFS Release"
|
---|
308 | default BLFS_SVN
|
---|
309 | depends on BLFS_TOOL
|
---|
310 | config BLFS_SVN
|
---|
311 | bool "BLFS SVN"
|
---|
312 | help
|
---|
313 | #-- Current development version as in trunk
|
---|
314 |
|
---|
315 | config BLFS_BRANCH
|
---|
316 | bool "BLFS Branch or stable book"
|
---|
317 | help
|
---|
318 | #-- A supported SVN branch or stable released book
|
---|
319 | endchoice
|
---|
320 |
|
---|
321 | config BLFS_BRANCH_ID
|
---|
322 | string "BLFS Book Version (mandatory)"
|
---|
323 | default "**EDIT ME**"
|
---|
324 | depends on BLFS_BRANCH
|
---|
325 | help
|
---|
326 | #-- A list of valid branches and stable books ID's is available here.
|
---|
327 | # http://wiki.linuxfromscratch.org/alfs/wiki/SupportedBooks
|
---|
328 |
|
---|
329 | menu "blfs-tool dependencies"
|
---|
330 | depends on BLFS_TOOL
|
---|
331 |
|
---|
332 | config DEP_LIBXML
|
---|
333 | bool "libxml2 (required)"
|
---|
334 | default y
|
---|
335 |
|
---|
336 | config DEP_LIBXSLT
|
---|
337 | bool "libxslt (required)"
|
---|
338 | default y
|
---|
339 |
|
---|
340 | config DEP_TIDY
|
---|
341 | bool "tidy (required)"
|
---|
342 | default y
|
---|
343 |
|
---|
344 | config DEP_DBXML
|
---|
345 | bool "DocBook XML DTD (required)"
|
---|
346 | default y
|
---|
347 |
|
---|
348 | config DEP_UNZIP
|
---|
349 | bool "UnZip (required to install DocBook XML DTD)"
|
---|
350 | default y
|
---|
351 | depends on DEP_DBXML
|
---|
352 |
|
---|
353 | config DEP_DBXSL
|
---|
354 | bool "DocBook XSL (required)"
|
---|
355 | default y
|
---|
356 |
|
---|
357 | config DEP_LINKS
|
---|
358 | bool "links (required)"
|
---|
359 | default y
|
---|
360 |
|
---|
361 | config DEP_SUDO
|
---|
362 | bool "sudo (recommended)"
|
---|
363 | default y
|
---|
364 |
|
---|
365 | config DEP_WGET
|
---|
366 | bool "wget (recommended)"
|
---|
367 | default y
|
---|
368 |
|
---|
369 | config DEP_SVN
|
---|
370 | bool "SVN client (optional)"
|
---|
371 | default y
|
---|
372 |
|
---|
373 | config DEP_GPM
|
---|
374 | bool "GPM (optional, see help)"
|
---|
375 | default y
|
---|
376 | help
|
---|
377 | #-- You MUST to install manually the gpm bootscript
|
---|
378 | # and create its configuration file
|
---|
379 | endmenu
|
---|
380 | #--- End blfs-tool Support
|
---|
381 |
|
---|
382 | #--- BLFS specific params
|
---|
383 | config BLFS_ROOT
|
---|
384 | string "Directory root"
|
---|
385 | default "$HOME/blfs_root" if BOOK_BLFS
|
---|
386 | default "/blfs_root" if BLFS_TOOL
|
---|
387 | depends on BOOK_BLFS || BLFS_TOOL
|
---|
388 | help
|
---|
389 | #-- Full path to the directory where all required
|
---|
390 | # files and scripts will be stored.
|
---|
391 |
|
---|
392 | config BLFS_XML
|
---|
393 | string "BLFS sources directory"
|
---|
394 | default "blfs-xml"
|
---|
395 | depends on BOOK_BLFS || BLFS_TOOL
|
---|
396 | help
|
---|
397 | #-- The directory name under $BLFS_ROOT where BLFS book
|
---|
398 | # sources will be checkout.
|
---|
399 |
|
---|
400 | config TRACKING_DIR
|
---|
401 | string "Installed packages database directory"
|
---|
402 | default "/var/lib/jhalfs/BLFS"
|
---|
403 | depends on BOOK_BLFS || BLFS_TOOL || CUSTOM_TOOLS
|
---|
404 | help
|
---|
405 | #-- Full path to the directory where the installed
|
---|
406 | # packages database will be created.
|
---|
407 | #
|
---|
408 | # If you are installing blfs-tool on a running xLFS system
|
---|
409 | # you MUST to create manually this directory.
|
---|
410 | #
|
---|
411 | # If you are installing blfs-tool as part of a xLFS build
|
---|
412 | # and/or using the customized scripts feature, you will
|
---|
413 | # need to fix that directory permissions after booting
|
---|
414 | # the new system.
|
---|
415 | #
|
---|
416 | # Note that the user that will build the packages must
|
---|
417 | # have read and write privileges on that directory.
|
---|
418 | #--- End BLFS specific params
|
---|
419 |
|
---|
420 | #--- End BOOK Settings
|
---|
421 | endmenu
|
---|
422 |
|
---|
423 | menu "--- General Settings"
|
---|
424 | depends on !BOOK_BLFS
|
---|
425 |
|
---|
426 | #--- Set User Account
|
---|
427 | config CONFIG_USER
|
---|
428 | bool "Change the default user/group for this build"
|
---|
429 | default n
|
---|
430 | help #-- Unprivileged user and group name
|
---|
431 | # If you do not have the priv to create/delete
|
---|
432 | # users and groups you can specifiy your own
|
---|
433 | # user id for the build
|
---|
434 | #
|
---|
435 | # default values for each book
|
---|
436 | # LFS lfs
|
---|
437 | # CLFS clfs
|
---|
438 | # CLFS2 clfs
|
---|
439 | # HLFS hlfs
|
---|
440 |
|
---|
441 | config DEF_USER
|
---|
442 | string
|
---|
443 | default "lfs" if BOOK_LFS
|
---|
444 | default "clfs" if BOOK_CLFS || BOOK_CLFS2
|
---|
445 | default "hlfs" if BOOK_HLFS
|
---|
446 |
|
---|
447 | config SET_USER
|
---|
448 | string "User account"
|
---|
449 | depends CONFIG_USER
|
---|
450 | default DEF_USER
|
---|
451 |
|
---|
452 |
|
---|
453 | config CONFIG_GROUP
|
---|
454 | bool "Set Group?"
|
---|
455 | default n
|
---|
456 | depends CONFIG_USER
|
---|
457 |
|
---|
458 | config SET_GROUP
|
---|
459 | string "GROUP account"
|
---|
460 | depends CONFIG_GROUP
|
---|
461 | default DEF_USER
|
---|
462 |
|
---|
463 | config LUSER
|
---|
464 | string
|
---|
465 | default DEF_USER if !CONFIG_USER
|
---|
466 | default SET_USER if CONFIG_USER
|
---|
467 |
|
---|
468 | config LGROUP
|
---|
469 | string
|
---|
470 | default LUSER if !CONFIG_GROUP
|
---|
471 | default SET_GROUP if CONFIG_GROUP
|
---|
472 | #--- End Set User Account
|
---|
473 |
|
---|
474 | config BUILDDIR
|
---|
475 | string "Build Directory"
|
---|
476 | default "/mnt/build_dir"
|
---|
477 | help
|
---|
478 | #-- The directory where the created system will be located.
|
---|
479 |
|
---|
480 | config GETPKG
|
---|
481 | bool "Retrieve source files"
|
---|
482 | default n
|
---|
483 | help
|
---|
484 | #-- Download all packages and patches required by the book selected
|
---|
485 | # NOTE: Looks for files in the local archive defined by SRC_ARCHIVE
|
---|
486 | # first and if necessary retrieve them from the 'net.
|
---|
487 | # Files will be transfered to $BUILDDIR/sources.
|
---|
488 |
|
---|
489 | config SRC_ARCHIVE
|
---|
490 | string "Package Archive Directory"
|
---|
491 | default "$SRC_ARCHIVE"
|
---|
492 | depends GETPKG
|
---|
493 | help
|
---|
494 | #-- A local archive for packages/file (not $BUILDDIR/sources)
|
---|
495 | # Used only if GETPKG = 1
|
---|
496 | # Any missing file will be downloaded and archived here,
|
---|
497 | # if the user has the right priviledges.
|
---|
498 |
|
---|
499 | config SERVER
|
---|
500 | string "FTP mirror"
|
---|
501 | default "ftp://ftp.lfs-matrix.net"
|
---|
502 | depends GETPKG
|
---|
503 | help
|
---|
504 | #-- FTP mirror to download packages and patches if not found
|
---|
505 | # in $SRC_ARCHIVE
|
---|
506 | # As a last resort, the files will dowloaded from upstream,
|
---|
507 | # if possible.
|
---|
508 |
|
---|
509 | config GETKERNEL
|
---|
510 | bool "Always retrieve kernel package (see help)"
|
---|
511 | default y if BOOK_LFS && relSVN
|
---|
512 | depends GETPKG
|
---|
513 | help
|
---|
514 | #-- Get the kernel package and patches even if no kernel
|
---|
515 | # configuration file has been supplied.
|
---|
516 |
|
---|
517 | # NOTE:
|
---|
518 | # The kernel package must be available when building
|
---|
519 | # the SVN version of LFS to can install the headers files.
|
---|
520 |
|
---|
521 | config RUNMAKE
|
---|
522 | bool "Run the makefile"
|
---|
523 | default n
|
---|
524 | help
|
---|
525 | #-- Automatically run the makefile once it has been created
|
---|
526 |
|
---|
527 | config CLEAN
|
---|
528 | bool "Rebuild files"
|
---|
529 | default n
|
---|
530 | help
|
---|
531 | #-- Clean the build directory before performing any other task.
|
---|
532 | # The directory is cleaned only if it was populated by a
|
---|
533 | # previous JHALFS run.
|
---|
534 | #
|
---|
535 | # NOTE::You must be 'root' for this function to work
|
---|
536 |
|
---|
537 | #--- End General Settings
|
---|
538 | endmenu
|
---|
539 |
|
---|
540 | menu "--- Build Settings"
|
---|
541 | depends on !BOOK_BLFS
|
---|
542 |
|
---|
543 | #--- Test Suites
|
---|
544 | config CONFIG_TESTS
|
---|
545 | bool "Run testsuites"
|
---|
546 | depends !BOOK_CLFS2
|
---|
547 | default y
|
---|
548 | help
|
---|
549 | #-- Run test suites
|
---|
550 | #
|
---|
551 | # You will can to select between:
|
---|
552 | #
|
---|
553 | # - Only final system Glibc, GCC and Binutils testsuites
|
---|
554 | # - All final system testsuites
|
---|
555 | # - Both temporary tools and final system testsuites
|
---|
556 | #
|
---|
557 | # HLFS and CLFS has no testsuites available in the
|
---|
558 | # temporary tools phase
|
---|
559 |
|
---|
560 | # You will be promt also about the "flavour" of the
|
---|
561 | # testsuites run:
|
---|
562 | #
|
---|
563 | # - Don't stop on test suite failures
|
---|
564 | # - Abort the build at the first test suite failure
|
---|
565 | #
|
---|
566 |
|
---|
567 | choice
|
---|
568 | prompt "Tests level"
|
---|
569 | depends CONFIG_TESTS
|
---|
570 | default TEST_1
|
---|
571 |
|
---|
572 | config TST_1
|
---|
573 | bool "Only final system Glibc, GCC and Binutils testsuites"
|
---|
574 |
|
---|
575 | config TST_2
|
---|
576 | bool "All final system testsuites"
|
---|
577 |
|
---|
578 | config TST_3
|
---|
579 | bool "Both temporary tools and final system testsuites" if !BOOK_HLFS && !BOOK_CLFS
|
---|
580 | endchoice
|
---|
581 |
|
---|
582 | config TEST
|
---|
583 | int
|
---|
584 | default "0" if !CONFIG_TESTS
|
---|
585 | default "1" if TST_1
|
---|
586 | default "2" if TST_2
|
---|
587 | default "3" if TST_3
|
---|
588 |
|
---|
589 | choice
|
---|
590 | prompt "Flavour"
|
---|
591 | depends CONFIG_TESTS
|
---|
592 |
|
---|
593 | config NO_BOMB
|
---|
594 | bool "Don't stop on test suite failures"
|
---|
595 |
|
---|
596 | config BOMB
|
---|
597 | bool "Abort the build at the first test suite failure"
|
---|
598 | endchoice
|
---|
599 |
|
---|
600 | config BOMB_TEST
|
---|
601 | bool
|
---|
602 | default n if NO_BOMB
|
---|
603 | default y if BOMB
|
---|
604 |
|
---|
605 | #--- End Test Suites
|
---|
606 |
|
---|
607 | #--- FSTAB
|
---|
608 | config HAVE_FSTAB
|
---|
609 | bool "Use a custom fstab file"
|
---|
610 | default n
|
---|
611 | help
|
---|
612 | #-- Select this if you have ready a proper fstab file
|
---|
613 |
|
---|
614 | config FSTAB
|
---|
615 | string "Fstab file (optional)"
|
---|
616 | default "***EDIT ME***"
|
---|
617 | depends on HAVE_FSTAB
|
---|
618 | help
|
---|
619 | #-- The location of fstab file (if empty, a template is created)
|
---|
620 | #--- End FSTAB
|
---|
621 |
|
---|
622 | #--- Kernel
|
---|
623 | config CONFIG_BUILD_KERNEL
|
---|
624 | bool "Build the kernel"
|
---|
625 | default n
|
---|
626 | help
|
---|
627 | #-- Select this option if you wish to build the kernel.
|
---|
628 | #
|
---|
629 | # You will be prompted for the full path to the .config
|
---|
630 | # file. It will be copied to the 'sources' directory and
|
---|
631 | # rename kernel-config
|
---|
632 |
|
---|
633 | config CONFIG
|
---|
634 | string "Kernel config file"
|
---|
635 | default "***EDIT ME***"
|
---|
636 | depends on CONFIG_BUILD_KERNEL
|
---|
637 | help
|
---|
638 | #-- Fully qualified path to a kernel config file
|
---|
639 | # The config file will be copied to ${BUILD_DIR}/sources
|
---|
640 | # and renamed 'kernel-config'
|
---|
641 | #--- End Kernel
|
---|
642 |
|
---|
643 | config STRIP
|
---|
644 | bool "Strip Installed Binaries/Libraries"
|
---|
645 | default y
|
---|
646 |
|
---|
647 | config VIMLANG
|
---|
648 | bool "Install vim-lang package"
|
---|
649 | default y
|
---|
650 | help
|
---|
651 | #-- Install the optional vim-lang package
|
---|
652 |
|
---|
653 | config TIMEZONE
|
---|
654 | string "TimeZone"
|
---|
655 | default "GMT"
|
---|
656 | help
|
---|
657 | #-- The timezone as output by tzselect
|
---|
658 | # This will be copied to /etc/localtime
|
---|
659 |
|
---|
660 | config LANG
|
---|
661 | string "Language"
|
---|
662 | default "$LANG"
|
---|
663 | help
|
---|
664 | #-- Language information in /etc/profile See <locale -a> for values
|
---|
665 |
|
---|
666 | config LC_ALL
|
---|
667 | string "Language"
|
---|
668 | default "$LC_ALL"
|
---|
669 | depends on !BOOK_LFS
|
---|
670 | help
|
---|
671 | #-- Language information in /etc/profile See <locale -a> for values
|
---|
672 |
|
---|
673 | #--- Groff page
|
---|
674 | choice
|
---|
675 | prompt "Groff page size"
|
---|
676 | default PAGE_LETTER
|
---|
677 | help
|
---|
678 | #-- Page definition for groff: letter or A4
|
---|
679 |
|
---|
680 | config PAGE_LETTER
|
---|
681 | bool "letter"
|
---|
682 |
|
---|
683 | config PAGE_A4
|
---|
684 | bool "A4"
|
---|
685 | endchoice
|
---|
686 |
|
---|
687 | config PAGE
|
---|
688 | string
|
---|
689 | default "letter" if PAGE_LETTER
|
---|
690 | default "A4" if PAGE_A4
|
---|
691 | #--- End Groff page
|
---|
692 |
|
---|
693 | #--- End Build Settings
|
---|
694 | endmenu
|
---|
695 |
|
---|
696 | menu "--- Advanced Features"
|
---|
697 | depends on !BOOK_BLFS
|
---|
698 |
|
---|
699 | config REPORT
|
---|
700 | bool "Create SBU and disk usage report"
|
---|
701 | default y
|
---|
702 |
|
---|
703 | #--- ICA/farce
|
---|
704 | config COMPARE
|
---|
705 | bool "Run comparison analysis on final stage"
|
---|
706 | depends !BOOK_CLFS2
|
---|
707 | default n
|
---|
708 | help
|
---|
709 | #-- Should some iterative comparison analysis by made?
|
---|
710 | #
|
---|
711 | # Unless you are familiar with ICA and/or FARCE do not
|
---|
712 | # select this option
|
---|
713 | #
|
---|
714 | # ICA and FARCE are analysis tools for comparing one
|
---|
715 | # build to the next. Builds mays differ from one iteration
|
---|
716 | # to another due to the build order and these tools try
|
---|
717 | # to ferret out those differences by examining the stored
|
---|
718 | # build logs and binary files.
|
---|
719 | #
|
---|
720 | # The scripts are well commented and can be found in ./extras/*
|
---|
721 | #
|
---|
722 |
|
---|
723 | config ITERATIONS
|
---|
724 | int "Number of test runs (2,3,4,5)" if COMPARE
|
---|
725 | depends on COMPARE
|
---|
726 | range 2 5
|
---|
727 | default 3
|
---|
728 |
|
---|
729 | config RUN_ICA
|
---|
730 | bool "ICA testing"
|
---|
731 | depends on COMPARE
|
---|
732 | default y
|
---|
733 | help
|
---|
734 | #-- Run ICA testing
|
---|
735 |
|
---|
736 | config RUN_FARCE
|
---|
737 | bool "farce testing"
|
---|
738 | depends on COMPARE
|
---|
739 | default n
|
---|
740 | help
|
---|
741 | #-- Run farce testing
|
---|
742 | #--- End ICA/farce
|
---|
743 |
|
---|
744 | #--- Optimizations
|
---|
745 | if !BOOK_CLFS2
|
---|
746 | config CONFIG_OPTIMIZE
|
---|
747 | bool "Use optimization (see help)"
|
---|
748 | default n
|
---|
749 | help
|
---|
750 | #-- Actual optimzation flags MUST be defined in ./optimize/*
|
---|
751 | # files before activate this option.
|
---|
752 | #
|
---|
753 | # WARNING: The use of build optimizations may be dangerous.
|
---|
754 | # You should know what you are doing and be sure that the
|
---|
755 | # optimization settings listed below are what you want.
|
---|
756 | # It there are build issues or the system doesn't work as
|
---|
757 | # expected, please rebuild without optimizations before
|
---|
758 | # asking for support.
|
---|
759 |
|
---|
760 | choice
|
---|
761 | prompt "Optimization level "
|
---|
762 | default OPT_1
|
---|
763 | depends CONFIG_OPTIMIZE
|
---|
764 | help
|
---|
765 | #-- Optimization values are set in optimize/* files
|
---|
766 |
|
---|
767 | config OPT_1
|
---|
768 | bool "Final system only"
|
---|
769 |
|
---|
770 | config OPT_2
|
---|
771 | bool "Both temp tools and final system"
|
---|
772 | endchoice
|
---|
773 |
|
---|
774 | config OPTIMIZE
|
---|
775 | int
|
---|
776 | default "0" if !CONFIG_OPTIMIZE
|
---|
777 | default "1" if OPT_1
|
---|
778 | default "2" if OPT_2
|
---|
779 | endif
|
---|
780 | #--- End Optimizations
|
---|
781 |
|
---|
782 | #-- Internal Settings
|
---|
783 | menu "--- Internal Settings (WARNING: for jhalfs developers only)"
|
---|
784 |
|
---|
785 | config SCRIPT_ROOT
|
---|
786 | string "Scripts root"
|
---|
787 | default "jhalfs"
|
---|
788 |
|
---|
789 | config JHALFSDIR
|
---|
790 | string "jhalfs directory"
|
---|
791 | default "$BUILDDIR/$SCRIPT_ROOT"
|
---|
792 |
|
---|
793 | config LOGDIR
|
---|
794 | string "Build logs directory"
|
---|
795 | default "$JHALFSDIR/logs"
|
---|
796 |
|
---|
797 | config TESTLOGDIR
|
---|
798 | string "Test suites logs directory"
|
---|
799 | default "$JHALFSDIR/test-logs"
|
---|
800 |
|
---|
801 | config ICALOGDIR
|
---|
802 | string "ICA logs directory"
|
---|
803 | default "$LOGDIR/ICA"
|
---|
804 |
|
---|
805 | config FARCELOGDIR
|
---|
806 | string "farce logs directory"
|
---|
807 | default "$LOGDIR/farce"
|
---|
808 |
|
---|
809 | config MKFILE
|
---|
810 | string "Makefile"
|
---|
811 | default "$JHALFSDIR/Makefile"
|
---|
812 |
|
---|
813 | config XSL
|
---|
814 | string "XSL stylesheet"
|
---|
815 | default "$PROGNAME.xsl"
|
---|
816 |
|
---|
817 | config PKG_LST
|
---|
818 | string "Package contents list"
|
---|
819 | default "unpacked"
|
---|
820 |
|
---|
821 | #--- End Internal Settings
|
---|
822 | endmenu
|
---|
823 |
|
---|
824 | #--- End Advanced Features
|
---|
825 | endmenu
|
---|
826 |
|
---|
827 | config REBUILD_MAKEFILE
|
---|
828 | bool "Rebuild the Makefile (see help)"
|
---|
829 | default n
|
---|
830 | depends on !BOOK_BLFS
|
---|
831 | help
|
---|
832 | #-- Rebuild the Makefile
|
---|
833 | #
|
---|
834 | # This option alow to rebuild the Makefile after
|
---|
835 | # customizing the base system build scripts.
|
---|
836 | #
|
---|
837 | # See README.CUSTOM for more info about this feature.
|
---|
838 |
|
---|