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