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