1 | menu "BOOK Settings"
|
---|
2 |
|
---|
3 | #--- BOOK/script
|
---|
4 | choice
|
---|
5 | prompt "Use BOOK"
|
---|
6 | default BOOK_LFS
|
---|
7 | help
|
---|
8 | Select the book where build instructions are retrieved.
|
---|
9 |
|
---|
10 | config BOOK_LFS
|
---|
11 | bool "Linux From Scratch System V"
|
---|
12 | help
|
---|
13 | Set up the tools to build LFS with SysV init.
|
---|
14 |
|
---|
15 | config BOOK_LFS_SYSD
|
---|
16 | bool "Linux From Scratch systemd"
|
---|
17 | help
|
---|
18 | Set up the tools to build LFS with systemd init.
|
---|
19 |
|
---|
20 | config BOOK_CLFS
|
---|
21 | bool "Cross-Compiled Linux From Scratch"
|
---|
22 | help
|
---|
23 | Set up the tools to build CLFS.
|
---|
24 |
|
---|
25 | config BOOK_CLFS2
|
---|
26 | bool "Cross-Compiled Linux From Scratch (Sysroot method)"
|
---|
27 | help
|
---|
28 | Set up the tools to build CLFS by the sysroot method.
|
---|
29 |
|
---|
30 | config BOOK_CLFS3
|
---|
31 | bool "Cross-Compiled Linux From Scratch (Embedded Systems)"
|
---|
32 | help
|
---|
33 | Set up the tools to build CLFS with tools for embedded systems.
|
---|
34 |
|
---|
35 | config BOOK_BLFS
|
---|
36 | bool "Beyond Linux From Scratch (see help)"
|
---|
37 | help
|
---|
38 | if the (C)LFS system has already been built, install the tools
|
---|
39 | to build BLFS packages.
|
---|
40 | endchoice
|
---|
41 |
|
---|
42 | choice
|
---|
43 | depends on BOOK_BLFS
|
---|
44 | prompt "Init system"
|
---|
45 |
|
---|
46 | config BLFS_SYSV
|
---|
47 | bool "BLFS SysV"
|
---|
48 | help
|
---|
49 | Extract the SysV flavour of the BLFS book
|
---|
50 |
|
---|
51 | config BLFS_SYSD
|
---|
52 | bool "BLFS systemd"
|
---|
53 | help
|
---|
54 | Extract the systemd flavour of the BLFS book
|
---|
55 |
|
---|
56 | endchoice
|
---|
57 |
|
---|
58 | config INITSYS
|
---|
59 | string
|
---|
60 | default "sysv" if BOOK_LFS || BLFS_SYSV
|
---|
61 | default "systemd" if BOOK_LFS_SYSD || BLFS_SYSD
|
---|
62 |
|
---|
63 | config PROGNAME
|
---|
64 | string
|
---|
65 | default "lfs" if BOOK_LFS || BOOK_LFS_SYSD
|
---|
66 | default "clfs" if BOOK_CLFS
|
---|
67 | default "clfs2" if BOOK_CLFS2
|
---|
68 | default "clfs3" if BOOK_CLFS3
|
---|
69 |
|
---|
70 | config RUN_ME
|
---|
71 | string
|
---|
72 | default "./jhalfs run" if BOOK_LFS || BOOK_LFS_SYSD || BOOK_CLFS || \
|
---|
73 | BOOK_CLFS2 || BOOK_CLFS_3
|
---|
74 | default "./install-blfs-tools.sh auto" if BOOK_BLFS
|
---|
75 | #--- End BOOK/script
|
---|
76 |
|
---|
77 | #--- Book version
|
---|
78 | choice
|
---|
79 | prompt "Release"
|
---|
80 | default relGIT
|
---|
81 |
|
---|
82 | config relGIT
|
---|
83 | bool "GIT"
|
---|
84 | help
|
---|
85 | Current development git trunk branch
|
---|
86 |
|
---|
87 | config WORKING_COPY
|
---|
88 | bool "Working Copy"
|
---|
89 | help
|
---|
90 | A local working copy
|
---|
91 |
|
---|
92 | config BRANCH
|
---|
93 | bool "Branch or stable book" if !BOOK_CLFS2 && !BOOK_CLFS3
|
---|
94 | help
|
---|
95 | A supported GIT branch or tag
|
---|
96 | endchoice
|
---|
97 |
|
---|
98 | config BRANCH_ID
|
---|
99 | string "Branch (preceded by \"branch-\"), stable Version, or tag"
|
---|
100 | default "**EDIT ME**"
|
---|
101 | depends on BRANCH
|
---|
102 | help
|
---|
103 | A list of valid branches and stable book IDs is available at
|
---|
104 | http://wiki.linuxfromscratch.org/alfs/wiki/SupportedBooks
|
---|
105 |
|
---|
106 | Enter "branch-XXX" for branch XXX, or just "YYY" for stable (or tag)
|
---|
107 | YYY version.
|
---|
108 |
|
---|
109 | config BOOK
|
---|
110 | string "Loc of working copy (mandatory)"
|
---|
111 | default "**EDIT ME**"
|
---|
112 | depends on WORKING_COPY
|
---|
113 | help
|
---|
114 | The full path to a local copy of the book XML sources
|
---|
115 |
|
---|
116 | choice
|
---|
117 | depends on (BOOK_LFS || BOOK_LFS_SYSD) && (BRANCH || WORKING_COPY)
|
---|
118 | prompt "Mutilib"
|
---|
119 | default LFS_MULTILIB_NO
|
---|
120 | config LFS_MULTILIB_NO
|
---|
121 | bool "Standard LFS on i686 or amd64"
|
---|
122 | help
|
---|
123 | Use standard LFS book (choose this if not multilib source)
|
---|
124 |
|
---|
125 | config LFS_MULTILIB_I686
|
---|
126 | bool "Multilib LFS on amd64 with i686 libraries"
|
---|
127 | help
|
---|
128 | Use Multilib LFS book with i686 libraries
|
---|
129 |
|
---|
130 | config LFS_MULTILIB_X32
|
---|
131 | bool "Multilib LFS on amd64 with x32 libraries"
|
---|
132 | help
|
---|
133 | Use Multilib LFS book with x32 libraries
|
---|
134 |
|
---|
135 | config LFS_MULTILIB_ALL
|
---|
136 | bool "Multilib LFS on amd64 with i686 and x32 libraries"
|
---|
137 | help
|
---|
138 | Use Multilib LFS book with i686 and x32 libraries
|
---|
139 |
|
---|
140 | endchoice
|
---|
141 |
|
---|
142 | config MULTILIB
|
---|
143 | string
|
---|
144 | default "default" if LFS_MULTILIB_NO
|
---|
145 | default "ml_32" if LFS_MULTILIB_I686
|
---|
146 | default "ml_x32" if LFS_MULTILIB_X32
|
---|
147 | default "ml_all" if LFS_MULTILIB_ALL
|
---|
148 |
|
---|
149 | #--- End BOOK version
|
---|
150 |
|
---|
151 | #--- CLFS specific params
|
---|
152 | choice
|
---|
153 | prompt "Target architecture"
|
---|
154 | default ARCH_X86
|
---|
155 | depends on BOOK_CLFS || BOOK_CLFS2 || BOOK_CLFS3
|
---|
156 | help
|
---|
157 | Choose the target system base architecture
|
---|
158 |
|
---|
159 | config ARCH_X86
|
---|
160 | bool "x86"
|
---|
161 |
|
---|
162 | config ARCH_MIPS
|
---|
163 | bool "mips" if !BOOK_CLFS2
|
---|
164 |
|
---|
165 | config ARCH_PPC
|
---|
166 | bool "ppc" if BOOK_CLFS
|
---|
167 |
|
---|
168 | config ARCH_SPARC
|
---|
169 | bool "sparc" if BOOK_CLFS
|
---|
170 |
|
---|
171 | config ARCH_ALPHA
|
---|
172 | bool "alpha" if !BOOK_CLFS3
|
---|
173 |
|
---|
174 | config ARCH_ARM
|
---|
175 | bool "arm" if !BOOK_CLFS
|
---|
176 |
|
---|
177 | config ARCH_HPPA
|
---|
178 | bool "hppa" if BOOK_CLFS2
|
---|
179 | endchoice
|
---|
180 |
|
---|
181 | choice
|
---|
182 | prompt "Hardware Platform"
|
---|
183 | depends on BOOK_CLFS3 && ARCH_MIPS
|
---|
184 | default PLATFORM_GENERIC
|
---|
185 | help
|
---|
186 | Choose a destination platform
|
---|
187 | Platform specific files will be included
|
---|
188 |
|
---|
189 | config PLATFORM_GENERIC
|
---|
190 | bool "Generic platform"
|
---|
191 |
|
---|
192 | config PLATFORM_WRT
|
---|
193 | bool "WRT - MIPS based wireless router" if ARCH_MIPS
|
---|
194 | endchoice
|
---|
195 |
|
---|
196 | choice
|
---|
197 | prompt "Library"
|
---|
198 | depends on (BOOK_CLFS && !ARCH_ALPHA) || (BOOK_CLFS3 && ARCH_MIPS)
|
---|
199 | default DATA_32
|
---|
200 | help
|
---|
201 | Choose the target system libraries type
|
---|
202 |
|
---|
203 | config DATA_32
|
---|
204 | bool "32-bit"
|
---|
205 |
|
---|
206 | config DATA_64
|
---|
207 | bool "64-bit"
|
---|
208 |
|
---|
209 | config DATA_MULTI
|
---|
210 | bool "multilib" if !(BOOK_CLFS3 && ARCH_MIPS )
|
---|
211 | endchoice
|
---|
212 |
|
---|
213 | choice
|
---|
214 | prompt "Processor type"
|
---|
215 | depends on (BOOK_CLFS || BOOK_CLFS2 || BOOK_CLFS3) && ((ARCH_X86 && !(DATA_64 || DATA_MULTI)) || ARCH_MIPS || ARCH_HPPA || ARCH_ALPHA || (ARCH_SPARC && (DATA_64 || DATA_MULTI)) || (ARCH_ARM && BOOK_CLFS3))
|
---|
216 | help
|
---|
217 | Choose the target system processor
|
---|
218 |
|
---|
219 | config PROC_i486
|
---|
220 | bool "486 Compatibles" if ARCH_X86
|
---|
221 |
|
---|
222 | config PROC_i586
|
---|
223 | bool "Pentium, K6, 586 Compatibles" if ARCH_X86
|
---|
224 |
|
---|
225 | config PROC_i686
|
---|
226 | bool "Pentium II, Pentium III, Pentium 4, Athlon, Duron" if ARCH_X86
|
---|
227 |
|
---|
228 | config PROC_mipsel
|
---|
229 | bool "MIPS Little Endian" if ARCH_MIPS
|
---|
230 |
|
---|
231 | config PROC_mips
|
---|
232 | bool "MIPS Big Endian" if ARCH_MIPS
|
---|
233 |
|
---|
234 | config PROC_unknown
|
---|
235 | bool "Unknown" if ARCH_HPPA || ARCH_ALPHA
|
---|
236 |
|
---|
237 | config PROC_hppa1
|
---|
238 | bool "PA 7000 Series" if ARCH_HPPA
|
---|
239 |
|
---|
240 | config PROC_hppa2
|
---|
241 | bool "PA 8000 Series" if ARCH_HPPA
|
---|
242 |
|
---|
243 | config PROC_EV5
|
---|
244 | bool "EV5 Series" if ARCH_ALPHA
|
---|
245 |
|
---|
246 | config PROC_EV56
|
---|
247 | bool "EV56 Series" if ARCH_ALPHA
|
---|
248 |
|
---|
249 | config PROC_PCA56
|
---|
250 | bool "PCA56 Series" if ARCH_ALPHA
|
---|
251 |
|
---|
252 | config PROC_PCA57
|
---|
253 | bool "PCA57 Series" if ARCH_ALPHA
|
---|
254 |
|
---|
255 | config PROC_EV6
|
---|
256 | bool "EV6 Series" if ARCH_ALPHA
|
---|
257 |
|
---|
258 | config PROC_EV67
|
---|
259 | bool "EV67 Series" if ARCH_ALPHA
|
---|
260 |
|
---|
261 | config PROC_EV68
|
---|
262 | bool "EV68 Series" if ARCH_ALPHA
|
---|
263 |
|
---|
264 | config PROC_ARM
|
---|
265 | bool "Generic arm, little endian" if ARCH_ARM
|
---|
266 |
|
---|
267 | config PROC_ARM5L
|
---|
268 | bool "Generic arm, version 5, little endian" if ARCH_ARM
|
---|
269 |
|
---|
270 | config PROC_ARM5B
|
---|
271 | bool "Generic arm, version 5, big endian" if ARCH_ARM
|
---|
272 |
|
---|
273 | config PROC_ULTRA1
|
---|
274 | bool "UtraSparc" if ARCH_SPARC && (DATA_64 || DATA_MULTI)
|
---|
275 |
|
---|
276 | config PROC_ULTRA2
|
---|
277 | bool "UtraSparc2" if ARCH_SPARC && (DATA_64 || DATA_MULTI)
|
---|
278 |
|
---|
279 | config PROC_ULTRA3
|
---|
280 | bool "UtraSparc3" if ARCH_SPARC && (DATA_64 || DATA_MULTI)
|
---|
281 | endchoice
|
---|
282 |
|
---|
283 | choice
|
---|
284 | prompt "MIPS 64 ABI"
|
---|
285 | depends on BOOK_CLFS3 && ARCH_MIPS && DATA_64
|
---|
286 | default ABI_64
|
---|
287 | help
|
---|
288 | Choose the target system ABI to use
|
---|
289 |
|
---|
290 | config ABI_32
|
---|
291 | bool "o32"
|
---|
292 |
|
---|
293 | config ABI_N32
|
---|
294 | bool "n32"
|
---|
295 |
|
---|
296 | config ABI_64
|
---|
297 | bool "n64"
|
---|
298 | endchoice
|
---|
299 |
|
---|
300 | config TARGET
|
---|
301 | string
|
---|
302 | default "i486-pc-linux-gnu" if !BOOK_CLFS3 && PROC_i486
|
---|
303 | default "i586-pc-linux-gnu" if !BOOK_CLFS3 && PROC_i586
|
---|
304 | default "i686-pc-linux-gnu" if !BOOK_CLFS3 && PROC_i686
|
---|
305 |
|
---|
306 | default "i486-pc-linux-uclibc" if BOOK_CLFS3 && PROC_i486
|
---|
307 | default "i586-pc-linux-uclibc" if BOOK_CLFS3 && PROC_i586
|
---|
308 | default "i686-pc-linux-uclibc" if BOOK_CLFS3 && PROC_i686
|
---|
309 |
|
---|
310 | default "x86_64-unknown-linux-gnu" if ARCH_X86 && (DATA_64 || DATA_MULTI)
|
---|
311 |
|
---|
312 | default "mipsel-unknown-linux-gnu" if !BOOK_CLFS3 && PROC_mipsel && DATA_32
|
---|
313 | default "mips-unknown-linux-gnu" if !BOOK_CLFS3 && PROC_mips && DATA_32
|
---|
314 | default "mips64el-unknown-linux-gnu" if !BOOK_CLFS3 && PROC_mipsel && (DATA_64 || DATA_MULTI)
|
---|
315 | default "mips64-unknown-linux-gnu" if !BOOK_CLFS3 && PROC_mips && (DATA_64 || DATA_MULTI)
|
---|
316 |
|
---|
317 | default "mipsel-unknown-linux-uclibc" if BOOK_CLFS3 && PROC_mipsel && DATA_32
|
---|
318 | default "mips-unknown-linux-uclibc" if BOOK_CLFS3 && PROC_mips && DATA_32
|
---|
319 | default "mips64el-unknown-linux-uclibc" if BOOK_CLFS3 && PROC_mipsel && DATA_64
|
---|
320 | default "mips64-unknown-linux-uclibc" if BOOK_CLFS3 && PROC_mips && DATA_64
|
---|
321 |
|
---|
322 | default "powerpc-unknown-linux-gnu" if ARCH_PPC && DATA_32
|
---|
323 | default "powerpc64-unknown-linux-gnu" if ARCH_PPC && (DATA_MULTI || DATA_64)
|
---|
324 |
|
---|
325 | default "sparc-unknown-linux-gnu" if ARCH_SPARC && DATA_32
|
---|
326 | default "sparc64-unknown-linux-gnu" if ARCH_SPARC && (DATA_64 || DATA_MULTI)
|
---|
327 |
|
---|
328 | default "hppa-unknown-linux-gnu" if PROC_unknown && ARCH_HPPA
|
---|
329 | default "hppa1.1-unknown-linux-gnu" if PROC_hppa1
|
---|
330 | default "hppa2.0-unknown-linux-gnu" if PROC_hppa2
|
---|
331 |
|
---|
332 | default "arm-unknown-linux-gnueabi" if ARCH_ARM && BOOK_CLFS2
|
---|
333 |
|
---|
334 | default "arm-unknown-linux-uclibc" if PROC_ARM
|
---|
335 | default "armv5l-unknown-linux-uclibc" if PROC_ARM5L
|
---|
336 | default "armv5b-unknown-linux-uclibc" if PROC_ARM5B
|
---|
337 |
|
---|
338 | default "alpha-unknown-linux-gnu" if PROC_unknown && ARCH_ALPHA
|
---|
339 | default "alphaev5-unknown-linux-gnu" if PROC_EV5
|
---|
340 | default "alphaev56-unknown-linux-gnu" if PROC_EV56
|
---|
341 | default "alphapca56-unknown-linux-gnu" if PROC_PCA56
|
---|
342 | default "alphapca57-unknown-linux-gnu" if PROC_PCA57
|
---|
343 | default "alphaev6-unknown-linux-gnu" if PROC_EV6
|
---|
344 | default "alphaev67-unknown-linux-gnu" if PROC_EV67
|
---|
345 | default "alphaev68-unknown-linux-gnu" if PROC_EV68
|
---|
346 |
|
---|
347 | config TARGET32
|
---|
348 | string
|
---|
349 | depends on DATA_MULTI
|
---|
350 | default "i686-pc-linux-gnu" if ARCH_X86
|
---|
351 | default "mipsel-unknown-linux-gnu" if PROC_mipsel
|
---|
352 | default "mips-unknown-linux-gnu" if PROC_mips
|
---|
353 | default "sparc-unknown-linux-gnu" if ARCH_SPARC
|
---|
354 | default "powerpc-unknown-linux-gnu" if ARCH_PPC
|
---|
355 |
|
---|
356 | config PLATFORM
|
---|
357 | string
|
---|
358 | default "GENERIC" if (!BOOK_CLFS3) || PLATFORM_GENERIC
|
---|
359 | default "WRT - Wireless Router" if PLATFORM_WRT
|
---|
360 |
|
---|
361 | config SPARC64_PROC
|
---|
362 | string
|
---|
363 | default "none" if !(ARCH_SPARC && (DATA_64 || DATA_MULTI))
|
---|
364 | default "1" if PROC_ULTRA1
|
---|
365 | default "2" if PROC_ULTRA2
|
---|
366 | default "3" if PROC_ULTRA3
|
---|
367 |
|
---|
368 | config ARCH
|
---|
369 | string
|
---|
370 | default "x86" if ARCH_X86 && (DATA_32 || BOOK_CLFS2 || BOOK_CLFS3)
|
---|
371 | default "x86_64" if ARCH_X86 && DATA_MULTI
|
---|
372 | default "x86_64-64" if ARCH_X86 && DATA_64
|
---|
373 |
|
---|
374 | default "wrt" if PLATFORM_WRT && BOOK_CLFS3
|
---|
375 |
|
---|
376 | default "mips" if ARCH_MIPS && (DATA_32 || BOOK_CLFS3)
|
---|
377 | default "mips64" if ARCH_MIPS && DATA_MULTI
|
---|
378 | default "mips64-64" if ARCH_MIPS && DATA_64 && BOOK_CLFS
|
---|
379 |
|
---|
380 |
|
---|
381 | default "ppc" if ARCH_PPC && DATA_32
|
---|
382 | default "ppc64" if ARCH_PPC && DATA_MULTI
|
---|
383 | default "ppc64-64" if ARCH_PPC && DATA_64
|
---|
384 |
|
---|
385 | default "sparc" if ARCH_SPARC && DATA_32
|
---|
386 | default "sparc64" if ARCH_SPARC && DATA_MULTI
|
---|
387 | default "sparc64-64" if ARCH_SPARC && DATA_64
|
---|
388 |
|
---|
389 | default "alpha" if ARCH_ALPHA
|
---|
390 | default "arm" if ARCH_ARM
|
---|
391 | default "hppa" if ARCH_HPPA
|
---|
392 |
|
---|
393 | config MIPS_LEVEL
|
---|
394 | string
|
---|
395 | depends on BOOK_CLFS3 && ARCH_MIPS
|
---|
396 | default "1" if DATA_32
|
---|
397 | default "3" if DATA_64
|
---|
398 |
|
---|
399 | config ABI
|
---|
400 | string
|
---|
401 | depends on BOOK_CLFS3
|
---|
402 | default "-m32" if ARCH_X86 || ARCH_ARM
|
---|
403 | # default "-m64" if NO USED YET IN THE BOOK
|
---|
404 | default "-mabi=32" if ABI_32 || (ARCH_MIPS && DATA_32)
|
---|
405 | default "-mabi=n32" if ABI_N32
|
---|
406 | default "-mabi=64" if ABI_64
|
---|
407 |
|
---|
408 | config ENDIAN
|
---|
409 | string
|
---|
410 | depends on BOOK_CLFS3 && (ARCH_MIPS || ARCH_ARM)
|
---|
411 | default "little" if PROC_mipsel || PROC_ARM || PROC_ARM5L
|
---|
412 | default "big" if PROC_mips || PROC_ARM5B
|
---|
413 |
|
---|
414 | choice
|
---|
415 | prompt "Build method"
|
---|
416 | depends on BOOK_CLFS
|
---|
417 | help
|
---|
418 | What build method should be used: a chroot jail or minimal boot
|
---|
419 | system. Review the Cross-LFS book chap6 "TO BOOT OR CHROOT" for
|
---|
420 | a full explanation.
|
---|
421 |
|
---|
422 | config BUILD_CHROOT
|
---|
423 | bool "chroot"
|
---|
424 |
|
---|
425 | config BUILD_BOOT
|
---|
426 | bool "boot"
|
---|
427 | endchoice
|
---|
428 |
|
---|
429 | config METHOD
|
---|
430 | string
|
---|
431 | default "chroot" if BUILD_CHROOT
|
---|
432 | default "boot" if BUILD_BOOT
|
---|
433 |
|
---|
434 | config BOOT_CONFIG
|
---|
435 | string "BOOT kernel config file (mandatory)"
|
---|
436 | default "***EDIT ME***"
|
---|
437 | depends on BUILD_BOOT
|
---|
438 | help
|
---|
439 | If METHOD=boot, location of boot-kernel config file
|
---|
440 | The config file will be copied to ${BUILD_DIR}/sources
|
---|
441 | and renamed 'bootkernel-config'
|
---|
442 | NOTE: this setting is required
|
---|
443 | #--- End CLFS specific params
|
---|
444 |
|
---|
445 | #--- blfs-tool Support
|
---|
446 | config BLFS_TOOL
|
---|
447 | bool "Add blfs-tool support"
|
---|
448 | default n
|
---|
449 | depends on !BOOK_CLFS3 && !BOOK_BLFS
|
---|
450 | help
|
---|
451 | Activating this option will install additional packages needed
|
---|
452 | to use blfs tools after booting the new system.
|
---|
453 | The blfs-tool files will be installed under $BUILD_DIR/blfs_root
|
---|
454 | (see below).
|
---|
455 | After booting the new xLFS system, but before using the blfs tools,
|
---|
456 | you should create a user account, move the /blfs_root directory
|
---|
457 | to that user's home, and change its ownership to that of the user.
|
---|
458 | Also, be sure to give the user read and write access on the
|
---|
459 | $TRACKING_DIR directory and the files that it contains.
|
---|
460 | Don't forget to configure sudo properly on the new system.
|
---|
461 |
|
---|
462 | config DUMMY # Avoid indenting the items below
|
---|
463 | bool
|
---|
464 |
|
---|
465 | if BLFS_TOOL
|
---|
466 | menu "blfs-tool dependencies"
|
---|
467 |
|
---|
468 | config DEP_LIBXML
|
---|
469 | bool "libxml2 (required)"
|
---|
470 | default y
|
---|
471 |
|
---|
472 | config DEP_LIBXSLT
|
---|
473 | bool "libxslt (required)"
|
---|
474 | default y
|
---|
475 |
|
---|
476 | config DEP_DBXML
|
---|
477 | bool "DocBook XML DTD (required)"
|
---|
478 | default y
|
---|
479 |
|
---|
480 | config DEP_LYNX
|
---|
481 | bool "lynx (optional, for reading the generated book)"
|
---|
482 | default y
|
---|
483 |
|
---|
484 | config DEP_SUDO
|
---|
485 | bool "sudo (recommended)"
|
---|
486 | default y
|
---|
487 |
|
---|
488 | config DEP_WGET
|
---|
489 | bool "wget (recommended)"
|
---|
490 | default y
|
---|
491 |
|
---|
492 | config DEP_GPM
|
---|
493 | bool "GPM (optional, see help)"
|
---|
494 | default n
|
---|
495 | help
|
---|
496 | if you install gpm, it will be started
|
---|
497 | automatically on boot. It allows copy-paste
|
---|
498 | while Xorg is not installed.
|
---|
499 |
|
---|
500 | config DEP_GIT
|
---|
501 | bool "GIT client (optional, see help)"
|
---|
502 | default n
|
---|
503 | help
|
---|
504 | Git is needed for updating the book
|
---|
505 | sources. You do not need it if building a
|
---|
506 | stable book.
|
---|
507 |
|
---|
508 | endmenu
|
---|
509 |
|
---|
510 | choice
|
---|
511 | prompt "BLFS Release"
|
---|
512 | default BLFS_GIT
|
---|
513 |
|
---|
514 | config BLFS_GIT
|
---|
515 | bool "BLFS GIT"
|
---|
516 | help
|
---|
517 | Current development version as in trunk
|
---|
518 |
|
---|
519 | config BLFS_WORKING_COPY
|
---|
520 | bool "BLFS working copy"
|
---|
521 | help
|
---|
522 | A local working copy of the BLFS book.
|
---|
523 |
|
---|
524 | config BLFS_BRANCH
|
---|
525 | bool "BLFS Branch or stable book"
|
---|
526 | help
|
---|
527 | A supported GIT branch or stable (tag) book release
|
---|
528 | endchoice
|
---|
529 |
|
---|
530 | config BLFS_WC_LOCATION
|
---|
531 | string "Location of the local BLFS working copy (mandatory)"
|
---|
532 | default "**EDIT ME**"
|
---|
533 | depends on BLFS_WORKING_COPY
|
---|
534 | help
|
---|
535 | Full path to the BLFS book working copy
|
---|
536 |
|
---|
537 | config BLFS_BRANCH_ID
|
---|
538 | string "BLFS Book Version (mandatory)"
|
---|
539 | default "**EDIT ME**"
|
---|
540 | depends on BLFS_BRANCH
|
---|
541 | help
|
---|
542 | A list of valid branches and stable book IDs is available at
|
---|
543 | http://wiki.linuxfromscratch.org/alfs/wiki/SupportedBooks.
|
---|
544 | endif
|
---|
545 | #--- End blfs-tool Support
|
---|
546 |
|
---|
547 | #--- BLFS params (Used for installing the tools, either after a jhalfs run
|
---|
548 | # or directly)
|
---|
549 | config BLFS_ROOT
|
---|
550 | string "Root of the tools directory (see help)"
|
---|
551 | default "/blfs_root"
|
---|
552 | depends on BLFS_TOOL || BOOK_BLFS
|
---|
553 | help
|
---|
554 | Path to the directory where all required files and scripts
|
---|
555 | will be stored.
|
---|
556 |
|
---|
557 | This path must begin with a slash, and:
|
---|
558 | - is relative to the user's HOME directory when installing the
|
---|
559 | blfs tools on an already existing LFS system.
|
---|
560 | - is relative to the root of the build directory (`/' in chroot)
|
---|
561 | when adding the tools after a jhalfs run
|
---|
562 |
|
---|
563 | CAUTION: this directory will be removed if it already exists.
|
---|
564 |
|
---|
565 | config BLFS_XML
|
---|
566 | string "BLFS sources directory (internal parameter)"
|
---|
567 | default "blfs-xml"
|
---|
568 | depends on BLFS_TOOL || BOOK_BLFS
|
---|
569 | help
|
---|
570 | The directory name under $BLFS_ROOT where the BLFS
|
---|
571 | book sources will be copied or checked out. Do not change that
|
---|
572 | unless you know what you are doing...
|
---|
573 |
|
---|
574 | config LFS_XML
|
---|
575 | string "LFS sources directory (internal parameter)"
|
---|
576 | default "lfs-xml"
|
---|
577 | depends on BLFS_TOOL || BOOK_BLFS
|
---|
578 | help
|
---|
579 | The directory name under $BLFS_ROOT where the LFS
|
---|
580 | book sources will be copied or checked out. Do not change that
|
---|
581 | unless you know what you are doing...
|
---|
582 |
|
---|
583 | choice
|
---|
584 | prompt "LFS Release"
|
---|
585 | default LFS_relGIT
|
---|
586 | depends on BOOK_BLFS
|
---|
587 |
|
---|
588 | config LFS_relGIT
|
---|
589 | bool "LFS GIT"
|
---|
590 | help
|
---|
591 | Current development version as in trunk
|
---|
592 |
|
---|
593 | config LFS_WORKING_COPY
|
---|
594 | bool "LFS working copy"
|
---|
595 | help
|
---|
596 | A local working copy of the LFS book.
|
---|
597 |
|
---|
598 | config LFS_BRANCH
|
---|
599 | bool "LFS Branch or stable book"
|
---|
600 | help
|
---|
601 | A supported GIT branch or stable (tag) book release
|
---|
602 | endchoice
|
---|
603 |
|
---|
604 | config BLFS_LFS_BOOK
|
---|
605 | string "Location of the local LFS working copy (mandatory)"
|
---|
606 | default "**EDIT ME**"
|
---|
607 | depends on LFS_WORKING_COPY
|
---|
608 | help
|
---|
609 | Full path to the LFS book working copy"
|
---|
610 |
|
---|
611 | config BLFS_LFS_BRANCH_ID
|
---|
612 | string "LFS Book Version (mandatory)"
|
---|
613 | default "**EDIT ME**"
|
---|
614 | depends on LFS_BRANCH
|
---|
615 | help
|
---|
616 | A list of valid branches and stable book IDs is available at
|
---|
617 | http://wiki.linuxfromscratch.org/alfs/wiki/SupportedBooks.
|
---|
618 | # End of BLFS parameters
|
---|
619 |
|
---|
620 | #--- Custom Tools support
|
---|
621 | config CUSTOM_TOOLS
|
---|
622 | depends on !BOOK_BLFS
|
---|
623 | bool "Add custom tools support"
|
---|
624 | default n
|
---|
625 | help
|
---|
626 | Activating this option additional packages you create
|
---|
627 | will be installed after finished the xLFS system build.
|
---|
628 | #--- End Custom Tools support
|
---|
629 |
|
---|
630 | #--- This directory is needed for blfs tools installation and custom tools
|
---|
631 | # As well.
|
---|
632 | config TRACKING_DIR
|
---|
633 | string "Installed packages database directory"
|
---|
634 | default "/var/lib/jhalfs/BLFS"
|
---|
635 | depends on BOOK_BLFS || BLFS_TOOL || CUSTOM_TOOLS
|
---|
636 | help
|
---|
637 | Full path to the directory where the database of
|
---|
638 | installed packages will be created.
|
---|
639 |
|
---|
640 | If the blfs tools are installed on a running xLFS system,
|
---|
641 | the user must have enough privileges to create this directory.
|
---|
642 | It may be necessary to create the /var/lib/jhalfs directory as
|
---|
643 | root, and make it writable by the user before running this tool.
|
---|
644 |
|
---|
645 | If you are installing the blfs tools as part of an xLFS build
|
---|
646 | and/or using the customized scripts feature, you will
|
---|
647 | need to fix this directory's permissions after booting
|
---|
648 | the new system.
|
---|
649 |
|
---|
650 | Note that the user that will build the packages must
|
---|
651 | have read and write access to this directory.
|
---|
652 |
|
---|
653 | #--- End BOOK Settings
|
---|
654 | endmenu
|
---|
655 |
|
---|
656 | menu "General Settings"
|
---|
657 | depends on !BOOK_BLFS
|
---|
658 |
|
---|
659 | #--- {C,H,}LFS User Account
|
---|
660 |
|
---|
661 | config LUSER
|
---|
662 | string
|
---|
663 | default "lfs" if BOOK_LFS || BOOK_LFS_SYSD
|
---|
664 | default "clfs" if BOOK_CLFS || BOOK_CLFS2 || BOOK_CLFS3
|
---|
665 |
|
---|
666 | config LGROUP
|
---|
667 | string
|
---|
668 | default LUSER
|
---|
669 |
|
---|
670 | config LHOME
|
---|
671 | string
|
---|
672 | default "/home"
|
---|
673 |
|
---|
674 | #--- End Set User Account
|
---|
675 |
|
---|
676 | config BUILDDIR
|
---|
677 | string "Build Directory"
|
---|
678 | default "/mnt/build_dir"
|
---|
679 | help
|
---|
680 | #-- The directory where the created system will be located.
|
---|
681 | # NOTE: A working directory named jhalfs will be created
|
---|
682 | # here, so ensure this does not conflict with the jhalfs
|
---|
683 | # source directory.
|
---|
684 |
|
---|
685 | config GETPKG
|
---|
686 | bool "Retrieve source files"
|
---|
687 | default n
|
---|
688 | help
|
---|
689 | #-- Download all packages and patches required by the selected book
|
---|
690 | # NOTE: Looks for files in the local archive defined by SRC_ARCHIVE
|
---|
691 | # first and if necessary retrieves them from the 'net.
|
---|
692 | # Files will be transferred to $BUILDDIR/sources.
|
---|
693 |
|
---|
694 | config SRC_ARCHIVE
|
---|
695 | string "Package Archive Directory"
|
---|
696 | default "$SRC_ARCHIVE"
|
---|
697 | depends on GETPKG
|
---|
698 | help
|
---|
699 | #-- A local archive for packages/files (not $BUILDDIR/sources)
|
---|
700 | # Any missing file will be downloaded and archived here,
|
---|
701 | # if the user has the right privileges.
|
---|
702 |
|
---|
703 | config RETRYSRCDOWNLOAD
|
---|
704 | bool "Retry on 'connection refused' failure"
|
---|
705 | default n
|
---|
706 | depends on GETPKG
|
---|
707 | help
|
---|
708 | #-- Attempt to download a source package again if it fails
|
---|
709 | # with a 'connection refused' error. This can happen on
|
---|
710 | # servers that are overloaded.
|
---|
711 |
|
---|
712 | config RETRYDOWNLOADCNT
|
---|
713 | int "Number of retry attempts on download failures"
|
---|
714 | default 20
|
---|
715 | depends on GETPKG
|
---|
716 | help
|
---|
717 | #-- Number of times to retry a failed download.
|
---|
718 |
|
---|
719 | config DOWNLOADTIMEOUT
|
---|
720 | int "Download timeout (in seconds)"
|
---|
721 | default 30
|
---|
722 | depends on GETPKG
|
---|
723 | help
|
---|
724 | #-- Number of seconds to wait for a download to start before
|
---|
725 | # timing out.
|
---|
726 |
|
---|
727 | config SERVER
|
---|
728 | string "FTP mirror"
|
---|
729 | default "http://ftp.osuosl.org"
|
---|
730 | depends on GETPKG
|
---|
731 | help
|
---|
732 | #-- FTP mirror to download packages and patches if not found
|
---|
733 | # in $SRC_ARCHIVE
|
---|
734 | # As a last resort, the files will downloaded from upstream,
|
---|
735 | # if possible.
|
---|
736 |
|
---|
737 | config RUNMAKE
|
---|
738 | bool "Run the makefile"
|
---|
739 | default n
|
---|
740 | help
|
---|
741 | #-- Automatically run the makefile once it has been created
|
---|
742 |
|
---|
743 | config CLEAN
|
---|
744 | bool "Rebuild files"
|
---|
745 | default n
|
---|
746 | help
|
---|
747 | #-- Clean the build directory before performing any other task.
|
---|
748 | # The directory is cleaned only if it was populated by a
|
---|
749 | # previous JHALFS run.
|
---|
750 |
|
---|
751 | #--- End General Settings
|
---|
752 | endmenu
|
---|
753 |
|
---|
754 | menu "Build Settings"
|
---|
755 | depends on !BOOK_BLFS
|
---|
756 |
|
---|
757 | #--- Test Suites
|
---|
758 | config CONFIG_TESTS
|
---|
759 | bool "Run testsuites"
|
---|
760 | depends on !BOOK_CLFS2 && !BOOK_CLFS3
|
---|
761 | default y
|
---|
762 | help
|
---|
763 | #-- Run test suites
|
---|
764 | # If you select 'y' here:
|
---|
765 | # You will have to select between:
|
---|
766 | # - Only critical final system testsuites
|
---|
767 | # - All final system testsuites
|
---|
768 | # - Both temporary tools and final system testsuites
|
---|
769 | # You will be prompted also about the "flavour" of the
|
---|
770 | # testsuites run:
|
---|
771 | # - Don't stop on test suite failures
|
---|
772 | # - Abort the build at the first test suite failure
|
---|
773 | #
|
---|
774 | # Note that in any case, all the test instructions will
|
---|
775 | # be generated. Those which are not wanted will be commented
|
---|
776 | # out. If you select 'n' here, the commented test instructions
|
---|
777 | # do not stop on test suite failures.
|
---|
778 |
|
---|
779 | menu "Test settings"
|
---|
780 | depends on CONFIG_TESTS
|
---|
781 | choice
|
---|
782 | prompt "Tests level"
|
---|
783 | default TST_1
|
---|
784 |
|
---|
785 | config TST_1
|
---|
786 | bool "Only final system critical testsuites"
|
---|
787 | help
|
---|
788 | #-- Critical tests:
|
---|
789 | # Only Glibc, Binutils, GMP, MPFR, MPC and GCC
|
---|
790 | # testsuites for final system. The others are commented
|
---|
791 | # out.
|
---|
792 |
|
---|
793 | config TST_2
|
---|
794 | bool "All final system testsuites"
|
---|
795 | help
|
---|
796 | #-- All final system test suites:
|
---|
797 | # Test instructions for the temporary tools (if available)
|
---|
798 | # are commented out.
|
---|
799 |
|
---|
800 | config TST_3
|
---|
801 | bool "All testsuites" if !BOOK_HLFS && !BOOK_CLFS
|
---|
802 | help
|
---|
803 | #-- All tests:
|
---|
804 | # Runs all the testsuites for both temporary tools (if
|
---|
805 | # available) and final system
|
---|
806 | endchoice
|
---|
807 |
|
---|
808 | choice
|
---|
809 | prompt "Flavour"
|
---|
810 |
|
---|
811 | config NO_BOMB
|
---|
812 | bool "Don't stop on test failures"
|
---|
813 |
|
---|
814 | config BOMB
|
---|
815 | bool "Abort the build on the first test failure"
|
---|
816 | endchoice
|
---|
817 |
|
---|
818 | endmenu # test settings
|
---|
819 |
|
---|
820 | config TEST
|
---|
821 | int
|
---|
822 | default "0" if !CONFIG_TESTS
|
---|
823 | default "1" if TST_1
|
---|
824 | default "2" if TST_2
|
---|
825 | default "3" if TST_3
|
---|
826 |
|
---|
827 | config BOMB_TEST
|
---|
828 | bool
|
---|
829 | default n if NO_BOMB
|
---|
830 | default y if BOMB
|
---|
831 | #--- End Test Suites
|
---|
832 |
|
---|
833 | #--- Package Management
|
---|
834 | config PKGMNGT
|
---|
835 | bool "Package management"
|
---|
836 | depends on BOOK_LFS || BOOK_LFS_SYSD
|
---|
837 | default n
|
---|
838 | help
|
---|
839 | #-- Use package management
|
---|
840 | #
|
---|
841 | # If set, you'll have to choose between
|
---|
842 | # two package management styles:
|
---|
843 | # - Build and install:
|
---|
844 | # the packages in the final phase are built
|
---|
845 | # in a separate directory, PKG_DEST.
|
---|
846 | # You should provide a bash function for
|
---|
847 | # packaging and installing the package.
|
---|
848 | # - Preload a library before install:
|
---|
849 | # Run the install instructions inside a
|
---|
850 | # wrapper command, which monitors the
|
---|
851 | # installed files.
|
---|
852 | #
|
---|
853 | # Also, you have to provide the instructions
|
---|
854 | # to build the package manager during the
|
---|
855 | # temporary tools phase, in the form of a
|
---|
856 | # sect1 of the book identical to a package
|
---|
857 | # sect1. See README.PACKAGE_MANAGEMENT
|
---|
858 | #
|
---|
859 | # For now, this only works with LFS
|
---|
860 | choice
|
---|
861 | depends on PKGMNGT
|
---|
862 | prompt "Package management style"
|
---|
863 | default PKG_PACK
|
---|
864 |
|
---|
865 | config PKG_PACK
|
---|
866 | bool "Build and pack (pacman or dpkg style)"
|
---|
867 |
|
---|
868 | config LIB_LOAD
|
---|
869 | bool "Preload a library before installing (porg style)"
|
---|
870 | endchoice
|
---|
871 |
|
---|
872 | config WRAP_INSTALL
|
---|
873 | bool
|
---|
874 | default y if LIB_LOAD
|
---|
875 | default n if PKG_PACK
|
---|
876 | #--- End package management
|
---|
877 |
|
---|
878 | #--- Installed files logs
|
---|
879 | config INSTALL_LOG
|
---|
880 | bool "Create a log of installed files for each package"
|
---|
881 | default n
|
---|
882 | help
|
---|
883 | #-- Select this if you want to create logs of the files
|
---|
884 | # installed by each package on the final system.
|
---|
885 |
|
---|
886 | #--- End Installed files logs
|
---|
887 |
|
---|
888 | config STRIP
|
---|
889 | bool "Strip Installed Binaries/Libraries"
|
---|
890 | default n
|
---|
891 | depends on !BOOK_CLFS3
|
---|
892 |
|
---|
893 | config DEL_LA_FILES
|
---|
894 | bool "Remove libtool .la files"
|
---|
895 | default y
|
---|
896 | help
|
---|
897 | #-- Remove files libxxx.la installed by libtool. For a rationale
|
---|
898 | # see https://blog.flameeyes.eu/tags/lafiles/
|
---|
899 |
|
---|
900 | config NO_PROGRESS_BAR
|
---|
901 | bool "DO NOT use/display progress_bar"
|
---|
902 | default n
|
---|
903 | help
|
---|
904 | #-- Do not use the progress bar routine. On slower machines
|
---|
905 | # this function consumes precious CPU cycles.
|
---|
906 |
|
---|
907 | #--- End Build Settings
|
---|
908 | endmenu
|
---|
909 |
|
---|
910 | menu "System configuration"
|
---|
911 | depends on !BOOK_BLFS
|
---|
912 |
|
---|
913 | #--- FSTAB
|
---|
914 | config HAVE_FSTAB
|
---|
915 | bool "Use a custom fstab file"
|
---|
916 | default n
|
---|
917 | help
|
---|
918 | #-- Select this if you have an fstab file with entries
|
---|
919 | # for the target system
|
---|
920 |
|
---|
921 | config FSTAB
|
---|
922 | string "Fstab file (optional)"
|
---|
923 | default "***EDIT ME***"
|
---|
924 | depends on HAVE_FSTAB
|
---|
925 | help
|
---|
926 | #-- The location of fstab file (if empty, a template is created)
|
---|
927 | #--- End FSTAB
|
---|
928 |
|
---|
929 | #--- Kernel
|
---|
930 | config CONFIG_BUILD_KERNEL
|
---|
931 | bool "Build the kernel"
|
---|
932 | default n
|
---|
933 | help
|
---|
934 | #-- Select this option if you wish to build the kernel.
|
---|
935 | #
|
---|
936 | # You will be prompted for the full path to the .config
|
---|
937 | # file. It will be copied to the 'sources' directory and
|
---|
938 | # renamed kernel-config
|
---|
939 |
|
---|
940 | config CONFIG
|
---|
941 | string "Kernel config file"
|
---|
942 | default "***EDIT ME***"
|
---|
943 | depends on CONFIG_BUILD_KERNEL
|
---|
944 | help
|
---|
945 | #-- Fully qualified path to a kernel config file
|
---|
946 | # The config file will be copied to ${BUILD_DIR}/sources
|
---|
947 | # and renamed 'kernel-config'
|
---|
948 | #--- End Kernel
|
---|
949 |
|
---|
950 | config NCURSES5
|
---|
951 | bool "Install non-wide-character ncurses"
|
---|
952 | default n
|
---|
953 | depends on BOOK_LFS || BOOK_LFS_SYSD
|
---|
954 | help
|
---|
955 | #-- Install the optional non wide character ncurses5 library
|
---|
956 |
|
---|
957 | config TIMEZONE
|
---|
958 | string "TimeZone"
|
---|
959 | default "GMT"
|
---|
960 | help
|
---|
961 | #-- The timezone as output by tzselect
|
---|
962 | # This will be copied to /etc/localtime
|
---|
963 |
|
---|
964 | config LANG
|
---|
965 | string "Language"
|
---|
966 | default "$LANG"
|
---|
967 | help
|
---|
968 | #-- LANG variable set in /etc/profile
|
---|
969 | # See http://sourceware.org/git/?p=glibc.git;a=blob;f=localedata/SUPPORTED
|
---|
970 | # for values (or the file localedata/SUPPORTED in glibc tarball)
|
---|
971 |
|
---|
972 | config FULL_LOCALE
|
---|
973 | bool "Install the full set of locales"
|
---|
974 | default n
|
---|
975 | help
|
---|
976 | #-- If set to y, the full set of supported locales
|
---|
977 | # will be installed. Otherwise, only the minimal set
|
---|
978 | # necessary for the tests will be installed,
|
---|
979 | # together with the locale associated with the
|
---|
980 | # LANG you have chosen, if not in the minimal set.
|
---|
981 |
|
---|
982 | #--- Groff page
|
---|
983 | choice
|
---|
984 | prompt "Groff page size"
|
---|
985 | default PAGE_LETTER
|
---|
986 | help
|
---|
987 | #-- Page definition for groff: letter or A4
|
---|
988 |
|
---|
989 | config PAGE_LETTER
|
---|
990 | bool "letter"
|
---|
991 |
|
---|
992 | config PAGE_A4
|
---|
993 | bool "A4"
|
---|
994 | endchoice
|
---|
995 |
|
---|
996 | config PAGE
|
---|
997 | string
|
---|
998 | default "letter" if PAGE_LETTER
|
---|
999 | default "A4" if PAGE_A4
|
---|
1000 | #--- End Groff page
|
---|
1001 |
|
---|
1002 | config HOSTNAME
|
---|
1003 | string "Hostname (see help)"
|
---|
1004 | default "**EDITME**"
|
---|
1005 | help
|
---|
1006 | If you are on a public network, use the hostname given to you by
|
---|
1007 | your institution, or corporation, etc. If your network is private,
|
---|
1008 | that is, behind a firewall such as a box to connect to your ISP,
|
---|
1009 | you can choose anything you'd like. Combined with the domain name
|
---|
1010 | "local", you have the possibility to access your computer by name
|
---|
1011 | instead of address on the private network (see RFC 6762 and
|
---|
1012 | https://www.howtogeek.com/167190/).
|
---|
1013 |
|
---|
1014 | menu "Network configuration"
|
---|
1015 | config INTERFACE
|
---|
1016 | string "netword card name"
|
---|
1017 | default "eth0"
|
---|
1018 | help
|
---|
1019 | eth0 is used in most cases. Virtual insterfaces may get other
|
---|
1020 | names (for example enp0s3 for the default network stack in qemu).
|
---|
1021 | Systemd may also rename network interfaces according to their
|
---|
1022 | bus addresses.
|
---|
1023 | config IP_ADDR
|
---|
1024 | string "Static IP address"
|
---|
1025 | default "10.0.2.9"
|
---|
1026 | help
|
---|
1027 | The default here is for a virtual interface in qemu. Private
|
---|
1028 | networks have addresses in the range 10.x.x.x or 192.169.x.x.
|
---|
1029 | You have to know your network prefix. Then the last figure
|
---|
1030 | may be anything you like.
|
---|
1031 |
|
---|
1032 | config GATEWAY
|
---|
1033 | string "Gateway"
|
---|
1034 | default "10.0.2.2"
|
---|
1035 | help
|
---|
1036 | Again, this default is for a qemu network stack. Usually, the
|
---|
1037 | gateway is the address of your firewall.
|
---|
1038 | config PREFIX
|
---|
1039 | string "Subnet prefix"
|
---|
1040 | default "24"
|
---|
1041 | help
|
---|
1042 | Again, this default is for a qemu network stack, but is also
|
---|
1043 | the most used in private networks.
|
---|
1044 | config BROADCAST
|
---|
1045 | string "Broadcast address"
|
---|
1046 | default "10.0.2.255"
|
---|
1047 | config DOMAIN
|
---|
1048 | string "Domain name (see help)"
|
---|
1049 | default "local"
|
---|
1050 | help
|
---|
1051 | Domain Name:
|
---|
1052 | Doamin names are registered, so if your computer is on a public
|
---|
1053 | network, you cannot use any name you'd like. On a public
|
---|
1054 | network, you should have been given a domain name by
|
---|
1055 | your corporation, institution, etc.
|
---|
1056 | If your network is really private, that is behind a firewall
|
---|
1057 | such as a box for connecting to an ISP, you can choose any
|
---|
1058 | domain you'd like. You can also opt for "local", see RFC 6762,
|
---|
1059 | or "something.test", see RFC 6761.
|
---|
1060 | config DNS1
|
---|
1061 | string "Primary Name server"
|
---|
1062 | default "10.0.2.3"
|
---|
1063 | config DNS2
|
---|
1064 | string "Secondary Name server"
|
---|
1065 | default "8.8.8.8"
|
---|
1066 | endmenu # Network configuration
|
---|
1067 |
|
---|
1068 | menu "Console configuration"
|
---|
1069 | config FONT
|
---|
1070 | string "Console font"
|
---|
1071 | default "lat0-16"
|
---|
1072 | help
|
---|
1073 | Unicode mode is set by default. Setting FONT_MAP, FONT_UNIMAP,
|
---|
1074 | etc, must be done manually.
|
---|
1075 | config KEYMAP
|
---|
1076 | string "Keymap name"
|
---|
1077 | default "us"
|
---|
1078 | config LOCAL
|
---|
1079 | boolean "Hardware clock is set to local time"
|
---|
1080 | default n
|
---|
1081 | help
|
---|
1082 | If the harware clock is set to local time, answer yes,
|
---|
1083 | If it is set to UTC, answer no
|
---|
1084 | config LOG_LEVEL
|
---|
1085 | string "Default log level (1-8)"
|
---|
1086 | default "4"
|
---|
1087 | depends on BOOK_LFS
|
---|
1088 | help
|
---|
1089 | This can be changed using dmesg. 1 means "no message",
|
---|
1090 | 8 shows every message sent by the kernel, which is very
|
---|
1091 | noisy. The default at boot time is 7, which is quite
|
---|
1092 | noisy too.
|
---|
1093 | endmenu # Console configuration
|
---|
1094 |
|
---|
1095 | endmenu #--- System configuration
|
---|
1096 |
|
---|
1097 | menu "Advanced Features"
|
---|
1098 | depends on !BOOK_BLFS
|
---|
1099 |
|
---|
1100 | config REPORT
|
---|
1101 | bool "Create SBU and disk usage report"
|
---|
1102 | default y
|
---|
1103 |
|
---|
1104 | config SAVE_CH5
|
---|
1105 | bool "Save Chapter 5 work"
|
---|
1106 | depends on BOOK_LFS || BOOK_LFS_SYSD
|
---|
1107 | default n
|
---|
1108 | help
|
---|
1109 | Save the state of jhalfs at the end of chapter 5:
|
---|
1110 |
|
---|
1111 | if you tick this item, the whole $LFS directory is
|
---|
1112 | saved when chapter 5 is finished. It'll be in an xz
|
---|
1113 | compressed tarball in the $LFS/jhalfs directory
|
---|
1114 |
|
---|
1115 | #--- ICA
|
---|
1116 | config COMPARE
|
---|
1117 | bool "Run comparison analysis on final stage"
|
---|
1118 | depends on !BOOK_CLFS2 && !BOOK_CLFS3
|
---|
1119 | default n
|
---|
1120 | help
|
---|
1121 | #-- Should an iterative comparison analysis be performed?
|
---|
1122 | #
|
---|
1123 | # Unless you are familiar with ICA, do not
|
---|
1124 | # select this option
|
---|
1125 | #
|
---|
1126 | # ICA is an analysis tool for comparing one
|
---|
1127 | # build to the next. Builds mays differ from one iteration
|
---|
1128 | # to another due to the build order and this tool try
|
---|
1129 | # to ferret out those differences by examining the stored
|
---|
1130 | # build logs and binary files.
|
---|
1131 | #
|
---|
1132 | # The scripts are well commented and can be found in ./extras/*
|
---|
1133 | #
|
---|
1134 |
|
---|
1135 | config ITERATIONS
|
---|
1136 | int "Number of test runs (2,3,4,5)" if COMPARE
|
---|
1137 | depends on COMPARE
|
---|
1138 | range 2 5
|
---|
1139 | default 3
|
---|
1140 |
|
---|
1141 | config RUN_ICA
|
---|
1142 | bool
|
---|
1143 | default y if COMPARE
|
---|
1144 |
|
---|
1145 | #--- End ICA
|
---|
1146 |
|
---|
1147 | #--- Optimizations
|
---|
1148 | if !BOOK_CLFS2 && !BOOK_CLFS3
|
---|
1149 | config CONFIG_OPTIMIZE
|
---|
1150 | bool "Optimization and parallelization"
|
---|
1151 | default n
|
---|
1152 | help
|
---|
1153 | # Opens a menu for various optimization settings:
|
---|
1154 | # Actual optimization flags MUST be defined in ./optimize/*
|
---|
1155 | # before activating this option.
|
---|
1156 | #
|
---|
1157 | # WARNING: The use of build optimizations may lead to build issues.
|
---|
1158 | # If the system doesn't work as expected, please rebuild
|
---|
1159 | # without optimizations before asking for support.
|
---|
1160 | menu "Optimization settings"
|
---|
1161 | depends on CONFIG_OPTIMIZE
|
---|
1162 |
|
---|
1163 | config N_PARALLEL
|
---|
1164 | int "Number of parallel `make' jobs"
|
---|
1165 | default 1
|
---|
1166 | help
|
---|
1167 | #-- The usual recommandation is (number of CPU cores)+1
|
---|
1168 | # Do not set for meaningful SBU calculations.
|
---|
1169 |
|
---|
1170 | choice
|
---|
1171 | prompt "Optimization level"
|
---|
1172 | default OPT_1
|
---|
1173 | help
|
---|
1174 | #-- Optimization values are set in optimize/* files
|
---|
1175 |
|
---|
1176 | config OPT_1
|
---|
1177 | bool "Final system only"
|
---|
1178 |
|
---|
1179 | config OPT_2
|
---|
1180 | bool "Both temp tools and final system"
|
---|
1181 |
|
---|
1182 | config OPT_3
|
---|
1183 | bool "Cross tools (only MAKEFLAGS), temp tools and final system" if BOOK_CLFS
|
---|
1184 | endchoice
|
---|
1185 |
|
---|
1186 | config REALSBU
|
---|
1187 | bool "Build Binutls pass1 without optimization (Real SBU)"
|
---|
1188 | depends on (BOOK_LFS || BOOK_LFS_SYSD) && OPT_2
|
---|
1189 | default n
|
---|
1190 | help
|
---|
1191 | #-- Use -j1 in make invokation for Binutils pass1 to
|
---|
1192 | # get a valid SBU value.
|
---|
1193 |
|
---|
1194 | endmenu
|
---|
1195 | config OPTIMIZE
|
---|
1196 | int
|
---|
1197 | default "0" if !CONFIG_OPTIMIZE
|
---|
1198 | default "1" if OPT_1
|
---|
1199 | default "2" if OPT_2
|
---|
1200 | default "3" if OPT_3
|
---|
1201 | endif
|
---|
1202 |
|
---|
1203 | #--- End Optimizations
|
---|
1204 |
|
---|
1205 | #-- Internal Settings
|
---|
1206 | menu "Internal Settings (WARNING: for jhalfs developers only)"
|
---|
1207 |
|
---|
1208 | config SCRIPT_ROOT
|
---|
1209 | string "Scripts root"
|
---|
1210 | default "jhalfs"
|
---|
1211 |
|
---|
1212 | config JHALFSDIR
|
---|
1213 | string "jhalfs directory"
|
---|
1214 | default "$BUILDDIR/$SCRIPT_ROOT"
|
---|
1215 |
|
---|
1216 | config LOGDIRBASE
|
---|
1217 | string "Build logs directory basename"
|
---|
1218 | default "logs"
|
---|
1219 |
|
---|
1220 | config LOGDIR
|
---|
1221 | string "Build logs directory"
|
---|
1222 | default "$JHALFSDIR/$LOGDIRBASE"
|
---|
1223 |
|
---|
1224 | config TESTLOGDIRBASE
|
---|
1225 | string "Test suites logs directory basename"
|
---|
1226 | default "test-logs"
|
---|
1227 |
|
---|
1228 | config TESTLOGDIR
|
---|
1229 | string "Test suites logs directory"
|
---|
1230 | default "$JHALFSDIR/$TESTLOGDIRBASE"
|
---|
1231 |
|
---|
1232 | config FILELOGDIRBASE
|
---|
1233 | string "Installed files logs directory basename"
|
---|
1234 | default "installed-files"
|
---|
1235 |
|
---|
1236 | config FILELOGDIR
|
---|
1237 | string "Installed files logs directory"
|
---|
1238 | default "$JHALFSDIR/$FILELOGDIRBASE"
|
---|
1239 |
|
---|
1240 | config ICALOGDIR
|
---|
1241 | string "ICA logs directory"
|
---|
1242 | default "$LOGDIR/ICA"
|
---|
1243 |
|
---|
1244 | config MKFILE
|
---|
1245 | string "Makefile"
|
---|
1246 | default "$JHALFSDIR/Makefile"
|
---|
1247 |
|
---|
1248 | config XSL
|
---|
1249 | string "XSL stylesheet"
|
---|
1250 | default "$PROGNAME.xsl"
|
---|
1251 |
|
---|
1252 | config PKG_LST
|
---|
1253 | string "Package contents list"
|
---|
1254 | default "unpacked"
|
---|
1255 |
|
---|
1256 | #--- End Internal Settings
|
---|
1257 | endmenu
|
---|
1258 |
|
---|
1259 | #--- End Advanced Features
|
---|
1260 | endmenu
|
---|
1261 |
|
---|
1262 | config REBUILD_MAKEFILE
|
---|
1263 | # depends on !BOOK_BLFS
|
---|
1264 | bool "Rebuild the Makefile (see help)"
|
---|
1265 | default n
|
---|
1266 | help
|
---|
1267 | #-- Rebuild the Makefile
|
---|
1268 | #
|
---|
1269 | # This option allows to rebuild the Makefile after
|
---|
1270 | # customizing the base system build scripts.
|
---|
1271 | #
|
---|
1272 | # See README.CUSTOM for more info about this feature.
|
---|
1273 | # Note that you should do that after configuring a jhalfs
|
---|
1274 | # build, and only if you need changing the build scripts order
|
---|
1275 | # or add a new one.
|
---|