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