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_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 || 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 or HLFS to can install the
|
---|
589 | # headers files.
|
---|
590 | #
|
---|
591 | # If building LFS-6.2 this setting can be disabled.
|
---|
592 |
|
---|
593 | config RUNMAKE
|
---|
594 | bool "Run the makefile"
|
---|
595 | default n
|
---|
596 | help
|
---|
597 | #-- Automatically run the makefile once it has been created
|
---|
598 |
|
---|
599 | config CLEAN
|
---|
600 | bool "Rebuild files"
|
---|
601 | default n
|
---|
602 | help
|
---|
603 | #-- Clean the build directory before performing any other task.
|
---|
604 | # The directory is cleaned only if it was populated by a
|
---|
605 | # previous JHALFS run.
|
---|
606 | #
|
---|
607 |
|
---|
608 | #--- End General Settings
|
---|
609 | endmenu
|
---|
610 |
|
---|
611 | menu "--- Build Settings"
|
---|
612 | depends on !BOOK_BLFS
|
---|
613 |
|
---|
614 | #--- Test Suites
|
---|
615 | config CONFIG_TESTS
|
---|
616 | bool "Run testsuites"
|
---|
617 | depends !BOOK_CLFS2 && !BOOK_CLFS3
|
---|
618 | default y
|
---|
619 | help
|
---|
620 | #-- Run test suites
|
---|
621 | #
|
---|
622 | # You will can to select between:
|
---|
623 | #
|
---|
624 | # - Only final system Glibc, GCC and Binutils testsuites
|
---|
625 | # - All final system testsuites
|
---|
626 | # - Both temporary tools and final system testsuites
|
---|
627 | #
|
---|
628 | # HLFS and CLFS has no testsuites available in the
|
---|
629 | # temporary tools phase
|
---|
630 |
|
---|
631 | # You will be promt also about the "flavour" of the
|
---|
632 | # testsuites run:
|
---|
633 | #
|
---|
634 | # - Don't stop on test suite failures
|
---|
635 | # - Abort the build at the first test suite failure
|
---|
636 | #
|
---|
637 |
|
---|
638 | choice
|
---|
639 | prompt "Tests level"
|
---|
640 | depends CONFIG_TESTS
|
---|
641 | default TEST_1
|
---|
642 |
|
---|
643 | config TST_1
|
---|
644 | bool "Only final system Glibc, GCC and Binutils testsuites"
|
---|
645 |
|
---|
646 | config TST_2
|
---|
647 | bool "All final system testsuites"
|
---|
648 |
|
---|
649 | config TST_3
|
---|
650 | bool "Both temporary tools and final system testsuites" if !BOOK_HLFS && !BOOK_CLFS
|
---|
651 | endchoice
|
---|
652 |
|
---|
653 | config TEST
|
---|
654 | int
|
---|
655 | default "0" if !CONFIG_TESTS
|
---|
656 | default "1" if TST_1
|
---|
657 | default "2" if TST_2
|
---|
658 | default "3" if TST_3
|
---|
659 |
|
---|
660 | choice
|
---|
661 | prompt "Flavour"
|
---|
662 | depends CONFIG_TESTS
|
---|
663 |
|
---|
664 | config NO_BOMB
|
---|
665 | bool "Don't stop on test suite failures"
|
---|
666 |
|
---|
667 | config BOMB
|
---|
668 | bool "Abort the build at the first test suite failure"
|
---|
669 | endchoice
|
---|
670 |
|
---|
671 | config BOMB_TEST
|
---|
672 | bool
|
---|
673 | default n if NO_BOMB
|
---|
674 | default y if BOMB
|
---|
675 |
|
---|
676 | #--- End Test Suites
|
---|
677 |
|
---|
678 | #--- FSTAB
|
---|
679 | config HAVE_FSTAB
|
---|
680 | bool "Use a custom fstab file"
|
---|
681 | default n
|
---|
682 | help
|
---|
683 | #-- Select this if you have ready a proper fstab file
|
---|
684 |
|
---|
685 | config FSTAB
|
---|
686 | string "Fstab file (optional)"
|
---|
687 | default "***EDIT ME***"
|
---|
688 | depends on HAVE_FSTAB
|
---|
689 | help
|
---|
690 | #-- The location of fstab file (if empty, a template is created)
|
---|
691 | #--- End FSTAB
|
---|
692 |
|
---|
693 | #--- Kernel
|
---|
694 | config CONFIG_BUILD_KERNEL
|
---|
695 | bool "Build the kernel"
|
---|
696 | default n
|
---|
697 | help
|
---|
698 | #-- Select this option if you wish to build the kernel.
|
---|
699 | #
|
---|
700 | # You will be prompted for the full path to the .config
|
---|
701 | # file. It will be copied to the 'sources' directory and
|
---|
702 | # rename kernel-config
|
---|
703 |
|
---|
704 | config CONFIG
|
---|
705 | string "Kernel config file"
|
---|
706 | default "***EDIT ME***"
|
---|
707 | depends on CONFIG_BUILD_KERNEL
|
---|
708 | help
|
---|
709 | #-- Fully qualified path to a kernel config file
|
---|
710 | # The config file will be copied to ${BUILD_DIR}/sources
|
---|
711 | # and renamed 'kernel-config'
|
---|
712 | #--- End Kernel
|
---|
713 |
|
---|
714 | config STRIP
|
---|
715 | bool "Strip Installed Binaries/Libraries"
|
---|
716 | default y
|
---|
717 |
|
---|
718 | config VIMLANG
|
---|
719 | bool "Install vim-lang package"
|
---|
720 | default y
|
---|
721 | help
|
---|
722 | #-- Install the optional vim-lang package
|
---|
723 |
|
---|
724 | config TIMEZONE
|
---|
725 | string "TimeZone"
|
---|
726 | default "GMT"
|
---|
727 | help
|
---|
728 | #-- The timezone as output by tzselect
|
---|
729 | # This will be copied to /etc/localtime
|
---|
730 |
|
---|
731 | config LANG
|
---|
732 | string "Language"
|
---|
733 | default "$LANG"
|
---|
734 | help
|
---|
735 | #-- Language information in /etc/profile See <locale -a> for values
|
---|
736 |
|
---|
737 | config LC_ALL
|
---|
738 | string "Language"
|
---|
739 | default "$LC_ALL"
|
---|
740 | depends on BOOK_HLFS
|
---|
741 | help
|
---|
742 | #-- Language information in /etc/profile See <locale -a> for values
|
---|
743 |
|
---|
744 | #--- Groff page
|
---|
745 | choice
|
---|
746 | prompt "Groff page size"
|
---|
747 | default PAGE_LETTER
|
---|
748 | help
|
---|
749 | #-- Page definition for groff: letter or A4
|
---|
750 |
|
---|
751 | config PAGE_LETTER
|
---|
752 | bool "letter"
|
---|
753 |
|
---|
754 | config PAGE_A4
|
---|
755 | bool "A4"
|
---|
756 | endchoice
|
---|
757 |
|
---|
758 | config PAGE
|
---|
759 | string
|
---|
760 | default "letter" if PAGE_LETTER
|
---|
761 | default "A4" if PAGE_A4
|
---|
762 | #--- End Groff page
|
---|
763 |
|
---|
764 | #--- End Build Settings
|
---|
765 | endmenu
|
---|
766 |
|
---|
767 | menu "--- Advanced Features"
|
---|
768 | depends on !BOOK_BLFS
|
---|
769 |
|
---|
770 | config REPORT
|
---|
771 | bool "Create SBU and disk usage report"
|
---|
772 | default y
|
---|
773 |
|
---|
774 | #--- ICA/farce
|
---|
775 | config COMPARE
|
---|
776 | bool "Run comparison analysis on final stage"
|
---|
777 | depends !BOOK_CLFS2 && !BOOK_CLFS3
|
---|
778 | default n
|
---|
779 | help
|
---|
780 | #-- Should some iterative comparison analysis by made?
|
---|
781 | #
|
---|
782 | # Unless you are familiar with ICA and/or FARCE do not
|
---|
783 | # select this option
|
---|
784 | #
|
---|
785 | # ICA and FARCE are analysis tools for comparing one
|
---|
786 | # build to the next. Builds mays differ from one iteration
|
---|
787 | # to another due to the build order and these tools try
|
---|
788 | # to ferret out those differences by examining the stored
|
---|
789 | # build logs and binary files.
|
---|
790 | #
|
---|
791 | # The scripts are well commented and can be found in ./extras/*
|
---|
792 | #
|
---|
793 |
|
---|
794 | config ITERATIONS
|
---|
795 | int "Number of test runs (2,3,4,5)" if COMPARE
|
---|
796 | depends on COMPARE
|
---|
797 | range 2 5
|
---|
798 | default 3
|
---|
799 |
|
---|
800 | config RUN_ICA
|
---|
801 | bool "ICA testing"
|
---|
802 | depends on COMPARE
|
---|
803 | default y
|
---|
804 | help
|
---|
805 | #-- Run ICA testing
|
---|
806 |
|
---|
807 | config RUN_FARCE
|
---|
808 | bool "farce testing"
|
---|
809 | depends on COMPARE
|
---|
810 | default n
|
---|
811 | help
|
---|
812 | #-- Run farce testing
|
---|
813 | #--- End ICA/farce
|
---|
814 |
|
---|
815 | #--- Optimizations
|
---|
816 | if !BOOK_CLFS2 && !BOOK_CLFS3
|
---|
817 | config CONFIG_OPTIMIZE
|
---|
818 | bool "Use optimization (see help)"
|
---|
819 | default n
|
---|
820 | help
|
---|
821 | #-- Actual optimzation flags MUST be defined in ./optimize/*
|
---|
822 | # files before activate this option.
|
---|
823 | #
|
---|
824 | # WARNING: The use of build optimizations may be dangerous.
|
---|
825 | # You should know what you are doing and be sure that the
|
---|
826 | # optimization settings listed below are what you want.
|
---|
827 | # It there are build issues or the system doesn't work as
|
---|
828 | # expected, please rebuild without optimizations before
|
---|
829 | # asking for support.
|
---|
830 |
|
---|
831 | choice
|
---|
832 | prompt "Optimization level "
|
---|
833 | default OPT_1
|
---|
834 | depends CONFIG_OPTIMIZE
|
---|
835 | help
|
---|
836 | #-- Optimization values are set in optimize/* files
|
---|
837 |
|
---|
838 | config OPT_1
|
---|
839 | bool "Final system only"
|
---|
840 |
|
---|
841 | config OPT_2
|
---|
842 | bool "Both temp tools and final system"
|
---|
843 | endchoice
|
---|
844 |
|
---|
845 | config OPTIMIZE
|
---|
846 | int
|
---|
847 | default "0" if !CONFIG_OPTIMIZE
|
---|
848 | default "1" if OPT_1
|
---|
849 | default "2" if OPT_2
|
---|
850 | endif
|
---|
851 | #--- End Optimizations
|
---|
852 |
|
---|
853 | #-- Internal Settings
|
---|
854 | menu "--- Internal Settings (WARNING: for jhalfs developers only)"
|
---|
855 |
|
---|
856 | config SCRIPT_ROOT
|
---|
857 | string "Scripts root"
|
---|
858 | default "jhalfs"
|
---|
859 |
|
---|
860 | config JHALFSDIR
|
---|
861 | string "jhalfs directory"
|
---|
862 | default "$BUILDDIR/$SCRIPT_ROOT"
|
---|
863 |
|
---|
864 | config LOGDIR
|
---|
865 | string "Build logs directory"
|
---|
866 | default "$JHALFSDIR/logs"
|
---|
867 |
|
---|
868 | config TESTLOGDIR
|
---|
869 | string "Test suites logs directory"
|
---|
870 | default "$JHALFSDIR/test-logs"
|
---|
871 |
|
---|
872 | config ICALOGDIR
|
---|
873 | string "ICA logs directory"
|
---|
874 | default "$LOGDIR/ICA"
|
---|
875 |
|
---|
876 | config FARCELOGDIR
|
---|
877 | string "farce logs directory"
|
---|
878 | default "$LOGDIR/farce"
|
---|
879 |
|
---|
880 | config MKFILE
|
---|
881 | string "Makefile"
|
---|
882 | default "$JHALFSDIR/Makefile"
|
---|
883 |
|
---|
884 | config XSL
|
---|
885 | string "XSL stylesheet"
|
---|
886 | default "$PROGNAME.xsl"
|
---|
887 |
|
---|
888 | config PKG_LST
|
---|
889 | string "Package contents list"
|
---|
890 | default "unpacked"
|
---|
891 |
|
---|
892 | #--- End Internal Settings
|
---|
893 | endmenu
|
---|
894 |
|
---|
895 | #--- End Advanced Features
|
---|
896 | endmenu
|
---|
897 |
|
---|
898 | config REBUILD_MAKEFILE
|
---|
899 | bool "Rebuild the Makefile (see help)"
|
---|
900 | default n
|
---|
901 | depends on !BOOK_BLFS
|
---|
902 | help
|
---|
903 | #-- Rebuild the Makefile
|
---|
904 | #
|
---|
905 | # This option alow to rebuild the Makefile after
|
---|
906 | # customizing the base system build scripts.
|
---|
907 | #
|
---|
908 | # See README.CUSTOM for more info about this feature.
|
---|
909 |
|
---|