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