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