[e5d44f5] | 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 |
|
---|
[39dc04a] | 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 |
|
---|
[e5d44f5] | 58 | config INITSYS
|
---|
| 59 | string
|
---|
[39dc04a] | 60 | default "sysv" if BOOK_LFS || BLFS_SYSV
|
---|
| 61 | default "systemd" if BOOK_LFS_SYSD || BLFS_SYSD
|
---|
[e5d44f5] | 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"
|
---|
[a705708] | 180 |
|
---|
[e5d44f5] | 181 | config DATA_64
|
---|
| 182 | bool "64-bit"
|
---|
| 183 |
|
---|
| 184 | config DATA_MULTI
|
---|
| 185 | bool "multilib" if !(BOOK_CLFS3 && ARCH_MIPS )
|
---|
| 186 | endchoice
|
---|
[a705708] | 187 |
|
---|
[e5d44f5] | 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
|
---|
[a705708] | 193 |
|
---|
[e5d44f5] | 194 | config PROC_i486
|
---|
| 195 | bool "486 Compatibles" if ARCH_X86
|
---|
[a705708] | 196 |
|
---|
[e5d44f5] | 197 | config PROC_i586
|
---|
| 198 | bool "Pentium, K6, 586 Compatibles" if ARCH_X86
|
---|
[a705708] | 199 |
|
---|
[e5d44f5] | 200 | config PROC_i686
|
---|
| 201 | bool "Pentium II, Pentium III, Pentium 4, Athlon, Duron" if ARCH_X86
|
---|
[a705708] | 202 |
|
---|
[e5d44f5] | 203 | config PROC_mipsel
|
---|
| 204 | bool "MIPS Little Endian" if ARCH_MIPS
|
---|
[2035ea1] | 205 |
|
---|
[e5d44f5] | 206 | config PROC_mips
|
---|
| 207 | bool "MIPS Big Endian" if ARCH_MIPS
|
---|
[2035ea1] | 208 |
|
---|
[e5d44f5] | 209 | config PROC_unknown
|
---|
| 210 | bool "Unknown" if ARCH_HPPA || ARCH_ALPHA
|
---|
[2035ea1] | 211 |
|
---|
[e5d44f5] | 212 | config PROC_hppa1
|
---|
| 213 | bool "PA 7000 Series" if ARCH_HPPA
|
---|
[c560e9a] | 214 |
|
---|
[e5d44f5] | 215 | config PROC_hppa2
|
---|
| 216 | bool "PA 8000 Series" if ARCH_HPPA
|
---|
[c560e9a] | 217 |
|
---|
[e5d44f5] | 218 | config PROC_EV5
|
---|
| 219 | bool "EV5 Series" if ARCH_ALPHA
|
---|
[c560e9a] | 220 |
|
---|
[e5d44f5] | 221 | config PROC_EV56
|
---|
| 222 | bool "EV56 Series" if ARCH_ALPHA
|
---|
[c560e9a] | 223 |
|
---|
[e5d44f5] | 224 | config PROC_PCA56
|
---|
| 225 | bool "PCA56 Series" if ARCH_ALPHA
|
---|
[c560e9a] | 226 |
|
---|
[e5d44f5] | 227 | config PROC_PCA57
|
---|
| 228 | bool "PCA57 Series" if ARCH_ALPHA
|
---|
[c560e9a] | 229 |
|
---|
[e5d44f5] | 230 | config PROC_EV6
|
---|
| 231 | bool "EV6 Series" if ARCH_ALPHA
|
---|
[c560e9a] | 232 |
|
---|
[e5d44f5] | 233 | config PROC_EV67
|
---|
| 234 | bool "EV67 Series" if ARCH_ALPHA
|
---|
[a87e07a] | 235 |
|
---|
[e5d44f5] | 236 | config PROC_EV68
|
---|
| 237 | bool "EV68 Series" if ARCH_ALPHA
|
---|
[a87e07a] | 238 |
|
---|
[e5d44f5] | 239 | config PROC_ARM
|
---|
| 240 | bool "Generic arm, little endian" if ARCH_ARM
|
---|
[a87e07a] | 241 |
|
---|
[e5d44f5] | 242 | config PROC_ARM5L
|
---|
| 243 | bool "Generic arm, version 5, little endian" if ARCH_ARM
|
---|
[650acce] | 244 |
|
---|
[e5d44f5] | 245 | config PROC_ARM5B
|
---|
| 246 | bool "Generic arm, version 5, big endian" if ARCH_ARM
|
---|
[650acce] | 247 |
|
---|
[e5d44f5] | 248 | config PROC_ULTRA1
|
---|
| 249 | bool "UtraSparc" if ARCH_SPARC && (DATA_64 || DATA_MULTI)
|
---|
[650acce] | 250 |
|
---|
[e5d44f5] | 251 | config PROC_ULTRA2
|
---|
| 252 | bool "UtraSparc2" if ARCH_SPARC && (DATA_64 || DATA_MULTI)
|
---|
[a705708] | 253 |
|
---|
[e5d44f5] | 254 | config PROC_ULTRA3
|
---|
| 255 | bool "UtraSparc3" if ARCH_SPARC && (DATA_64 || DATA_MULTI)
|
---|
| 256 | endchoice
|
---|
[c63c0fa] | 257 |
|
---|
[e5d44f5] | 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
|
---|
[c63c0fa] | 264 |
|
---|
[e5d44f5] | 265 | config ABI_32
|
---|
| 266 | bool "o32"
|
---|
[c63c0fa] | 267 |
|
---|
[e5d44f5] | 268 | config ABI_N32
|
---|
| 269 | bool "n32"
|
---|
[c63c0fa] | 270 |
|
---|
[e5d44f5] | 271 | config ABI_64
|
---|
| 272 | bool "n64"
|
---|
| 273 | endchoice
|
---|
[c5ff430] | 274 |
|
---|
[e5d44f5] | 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
|
---|
[2639f65] | 280 |
|
---|
[e5d44f5] | 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
|
---|
[2639f65] | 284 |
|
---|
[e5d44f5] | 285 | default "x86_64-unknown-linux-gnu" if ARCH_X86 && (DATA_64 || DATA_MULTI)
|
---|
[a705708] | 286 |
|
---|
[e5d44f5] | 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)
|
---|
[a705708] | 291 |
|
---|
[e5d44f5] | 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
|
---|
[a705708] | 296 |
|
---|
[e5d44f5] | 297 | default "powerpc-unknown-linux-gnu" if ARCH_PPC && DATA_32
|
---|
| 298 | default "powerpc64-unknown-linux-gnu" if ARCH_PPC && (DATA_MULTI || DATA_64)
|
---|
[2035ea1] | 299 |
|
---|
[e5d44f5] | 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
|
---|
[90f5b6d] | 472 | automatically on boot. It allows copy-paste
|
---|
| 473 | while Xorg is not installed.
|
---|
[e5d44f5] | 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
|
---|
[90f5b6d] | 480 | sources. You do not need it if building a
|
---|
| 481 | stable book.
|
---|
[e5d44f5] | 482 |
|
---|
| 483 | endmenu
|
---|
| 484 |
|
---|
| 485 | choice
|
---|
| 486 | prompt "BLFS Release"
|
---|
| 487 | default BLFS_SVN
|
---|
| 488 |
|
---|
| 489 | config BLFS_SVN
|
---|
| 490 | bool "BLFS SVN"
|
---|
| 491 | help
|
---|
| 492 | Current development version as in trunk
|
---|
| 493 |
|
---|
| 494 | config BLFS_WORKING_COPY
|
---|
| 495 | bool "BLFS working copy"
|
---|
| 496 | help
|
---|
| 497 | A local working copy of the BLFS book.
|
---|
| 498 |
|
---|
| 499 | config BLFS_BRANCH
|
---|
| 500 | bool "BLFS Branch or stable book"
|
---|
| 501 | help
|
---|
| 502 | A supported SVN branch or stable book release
|
---|
| 503 | endchoice
|
---|
| 504 |
|
---|
| 505 | config BLFS_WC_LOCATION
|
---|
| 506 | string "Location of the local BLFS working copy (mandatory)"
|
---|
| 507 | default "**EDIT ME**"
|
---|
| 508 | depends on BLFS_WORKING_COPY
|
---|
| 509 | help
|
---|
[506120ee] | 510 | Full path to the BLFS book working copy
|
---|
[e5d44f5] | 511 |
|
---|
| 512 | config BLFS_BRANCH_ID
|
---|
| 513 | string "BLFS Book Version (mandatory)"
|
---|
| 514 | default "**EDIT ME**"
|
---|
| 515 | depends on BLFS_BRANCH
|
---|
| 516 | help
|
---|
| 517 | A list of valid branches and stable book IDs is available at
|
---|
| 518 | http://wiki.linuxfromscratch.org/alfs/wiki/SupportedBooks.
|
---|
| 519 | endif
|
---|
| 520 | #--- End blfs-tool Support
|
---|
| 521 |
|
---|
| 522 | #--- BLFS params (Used for installing the tools, either after a jhalfs run
|
---|
| 523 | # or directly)
|
---|
| 524 | config BLFS_ROOT
|
---|
| 525 | string "Root of the tools directory (see help)"
|
---|
| 526 | default "/blfs_root"
|
---|
| 527 | depends on BLFS_TOOL || BOOK_BLFS
|
---|
| 528 | help
|
---|
| 529 | Path to the directory where all required files and scripts
|
---|
| 530 | will be stored.
|
---|
| 531 |
|
---|
| 532 | This path must begin with a slash, and:
|
---|
| 533 | - is relative to the user's HOME directory when installing the
|
---|
| 534 | blfs tools on an already existing LFS system.
|
---|
| 535 | - is relative to the root of the build directory (`/' in chroot)
|
---|
| 536 | when adding the tools after a jhalfs run
|
---|
| 537 |
|
---|
| 538 | CAUTION: this directory will be removed if it already exists.
|
---|
| 539 |
|
---|
| 540 | config BLFS_XML
|
---|
| 541 | string "BLFS sources directory (internal parameter)"
|
---|
| 542 | default "blfs-xml"
|
---|
| 543 | depends BLFS_TOOL || BOOK_BLFS
|
---|
| 544 | help
|
---|
| 545 | The directory name under $BLFS_ROOT where the BLFS
|
---|
| 546 | book sources will be copied or checked out. Do not change that
|
---|
| 547 | unless you know what you are doing...
|
---|
[506120ee] | 548 |
|
---|
[f733772] | 549 | config LFS_XML
|
---|
| 550 | string "LFS sources directory (internal parameter)"
|
---|
| 551 | default "lfs-xml"
|
---|
| 552 | depends BLFS_TOOL || BOOK_BLFS
|
---|
| 553 | help
|
---|
| 554 | The directory name under $BLFS_ROOT where the LFS
|
---|
| 555 | book sources will be copied or checked out. Do not change that
|
---|
| 556 | unless you know what you are doing...
|
---|
| 557 |
|
---|
[506120ee] | 558 | choice
|
---|
| 559 | prompt "LFS Release"
|
---|
| 560 | default LFS_SVN
|
---|
| 561 | depends BOOK_BLFS
|
---|
| 562 |
|
---|
| 563 | config LFS_relSVN
|
---|
| 564 | bool "LFS SVN"
|
---|
| 565 | help
|
---|
| 566 | Current development version as in trunk
|
---|
| 567 |
|
---|
| 568 | config LFS_WORKING_COPY
|
---|
| 569 | bool "LFS working copy"
|
---|
| 570 | help
|
---|
| 571 | A local working copy of the LFS book.
|
---|
| 572 |
|
---|
| 573 | config LFS_BRANCH
|
---|
| 574 | bool "LFS Branch or stable book"
|
---|
| 575 | help
|
---|
| 576 | A supported SVN branch or stable book release
|
---|
| 577 | endchoice
|
---|
| 578 |
|
---|
| 579 | config BLFS_LFS_BOOK
|
---|
| 580 | string "Location of the local LFS working copy (mandatory)"
|
---|
| 581 | default "**EDIT ME**"
|
---|
| 582 | depends on LFS_WORKING_COPY
|
---|
| 583 | help
|
---|
| 584 | Full path to the LFS book working copy"
|
---|
| 585 |
|
---|
| 586 | config BLFS_LFS_BRANCH_ID
|
---|
| 587 | string "LFS Book Version (mandatory)"
|
---|
| 588 | default "**EDIT ME**"
|
---|
| 589 | depends on LFS_BRANCH
|
---|
| 590 | help
|
---|
| 591 | A list of valid branches and stable book IDs is available at
|
---|
| 592 | http://wiki.linuxfromscratch.org/alfs/wiki/SupportedBooks.
|
---|
[e5d44f5] | 593 | # End of BLFS parameters
|
---|
| 594 |
|
---|
| 595 | #--- Custom Tools support
|
---|
| 596 | config CUSTOM_TOOLS
|
---|
| 597 | depends !BOOK_BLFS
|
---|
| 598 | bool "Add custom tools support"
|
---|
| 599 | default n
|
---|
| 600 | help
|
---|
| 601 | Activating this option additional packages you create
|
---|
| 602 | will be installed after finished the xLFS system build.
|
---|
| 603 | #--- End Custom Tools support
|
---|
| 604 |
|
---|
| 605 | #--- This direcotry is needed for blfs tools installation and custom tools
|
---|
| 606 | # As well.
|
---|
| 607 | config TRACKING_DIR
|
---|
| 608 | string "Installed packages database directory"
|
---|
| 609 | default "/var/lib/jhalfs/BLFS"
|
---|
| 610 | depends on BOOK_BLFS || BLFS_TOOL || CUSTOM_TOOLS
|
---|
| 611 | help
|
---|
| 612 | Full path to the directory where the database of
|
---|
| 613 | installed packages will be created.
|
---|
| 614 |
|
---|
| 615 | If the blfs tools are installed on a running xLFS system,
|
---|
| 616 | the user must have enough privileges to create this directory.
|
---|
| 617 | It may be necessary to create the /var/lib/jhalfs directory as
|
---|
| 618 | root, and make it writable by the user before running this tool.
|
---|
| 619 |
|
---|
| 620 | If you are installing the blfs tools as part of an xLFS build
|
---|
| 621 | and/or using the customized scripts feature, you will
|
---|
| 622 | need to fix this directory's permissions after booting
|
---|
| 623 | the new system.
|
---|
| 624 |
|
---|
| 625 | Note that the user that will build the packages must
|
---|
| 626 | have read and write access to this directory.
|
---|
[53f291f] | 627 |
|
---|
[a705708] | 628 | #--- End BOOK Settings
|
---|
| 629 | endmenu
|
---|
| 630 |
|
---|
[e5d44f5] | 631 | menu "General Settings"
|
---|
| 632 | depends !BOOK_BLFS
|
---|
| 633 |
|
---|
[b7583ec] | 634 | #--- {C,H,}LFS User Account
|
---|
| 635 |
|
---|
| 636 | config LUSER
|
---|
[e5d44f5] | 637 | string
|
---|
| 638 | default "lfs" if BOOK_LFS || BOOK_LFS_SYSD
|
---|
| 639 | default "clfs" if BOOK_CLFS || BOOK_CLFS2 || BOOK_CLFS3
|
---|
| 640 | default "hlfs" if BOOK_HLFS
|
---|
| 641 |
|
---|
| 642 | config LGROUP
|
---|
| 643 | string
|
---|
[b7583ec] | 644 | default LUSER
|
---|
[e5d44f5] | 645 |
|
---|
| 646 | config LHOME
|
---|
| 647 | string
|
---|
[b7583ec] | 648 | default "/home"
|
---|
| 649 |
|
---|
[e5d44f5] | 650 | #--- End Set User Account
|
---|
| 651 |
|
---|
| 652 | config BUILDDIR
|
---|
| 653 | string "Build Directory"
|
---|
| 654 | default "/mnt/build_dir"
|
---|
| 655 | help
|
---|
| 656 | #-- The directory where the created system will be located.
|
---|
| 657 | # NOTE: A working directory named jhalfs will be created
|
---|
| 658 | # here, so ensure this does not conflict with the jhalfs
|
---|
| 659 | # source directory.
|
---|
| 660 |
|
---|
| 661 | config GETPKG
|
---|
| 662 | bool "Retrieve source files"
|
---|
| 663 | default n
|
---|
| 664 | help
|
---|
| 665 | #-- Download all packages and patches required by the selected book
|
---|
| 666 | # NOTE: Looks for files in the local archive defined by SRC_ARCHIVE
|
---|
| 667 | # first and if necessary retrieves them from the 'net.
|
---|
| 668 | # Files will be transferred to $BUILDDIR/sources.
|
---|
| 669 |
|
---|
| 670 | config SRC_ARCHIVE
|
---|
| 671 | string "Package Archive Directory"
|
---|
| 672 | default "$SRC_ARCHIVE"
|
---|
| 673 | depends GETPKG
|
---|
| 674 | help
|
---|
| 675 | #-- A local archive for packages/files (not $BUILDDIR/sources)
|
---|
| 676 | # Any missing file will be downloaded and archived here,
|
---|
| 677 | # if the user has the right privileges.
|
---|
| 678 |
|
---|
| 679 | config RETRYSRCDOWNLOAD
|
---|
| 680 | bool "Retry on 'connection refused' failure"
|
---|
| 681 | default n
|
---|
| 682 | depends GETPKG
|
---|
| 683 | help
|
---|
| 684 | #-- Attempt to download a source package again if it fails
|
---|
| 685 | # with a 'connection refused' error. This can happen on
|
---|
| 686 | # servers that are overloaded.
|
---|
| 687 |
|
---|
| 688 | config RETRYDOWNLOADCNT
|
---|
| 689 | int "Number of retry attempts on download failures"
|
---|
| 690 | default 20
|
---|
| 691 | depends GETPKG
|
---|
| 692 | help
|
---|
| 693 | #-- Number of times to retry a failed download.
|
---|
| 694 |
|
---|
| 695 | config DOWNLOADTIMEOUT
|
---|
| 696 | int "Download timeout (in seconds)"
|
---|
| 697 | default 30
|
---|
| 698 | depends GETPKG
|
---|
| 699 | help
|
---|
| 700 | #-- Number of seconds to wait for a download to start before
|
---|
| 701 | # timing out.
|
---|
| 702 |
|
---|
| 703 | config SERVER
|
---|
| 704 | string "FTP mirror"
|
---|
| 705 | default "http://ftp.osuosl.org"
|
---|
| 706 | depends GETPKG
|
---|
| 707 | help
|
---|
| 708 | #-- FTP mirror to download packages and patches if not found
|
---|
| 709 | # in $SRC_ARCHIVE
|
---|
| 710 | # As a last resort, the files will downloaded from upstream,
|
---|
| 711 | # if possible.
|
---|
| 712 |
|
---|
| 713 | config RUNMAKE
|
---|
| 714 | bool "Run the makefile"
|
---|
| 715 | default n
|
---|
| 716 | help
|
---|
| 717 | #-- Automatically run the makefile once it has been created
|
---|
| 718 |
|
---|
| 719 | config CLEAN
|
---|
| 720 | bool "Rebuild files"
|
---|
| 721 | default n
|
---|
| 722 | help
|
---|
| 723 | #-- Clean the build directory before performing any other task.
|
---|
| 724 | # The directory is cleaned only if it was populated by a
|
---|
| 725 | # previous JHALFS run.
|
---|
[a705708] | 726 |
|
---|
| 727 | #--- End General Settings
|
---|
| 728 | endmenu
|
---|
| 729 |
|
---|
[e5d44f5] | 730 | menu "Build Settings"
|
---|
| 731 | depends !BOOK_BLFS
|
---|
| 732 |
|
---|
| 733 | #--- Test Suites
|
---|
| 734 | config CONFIG_TESTS
|
---|
| 735 | bool "Run testsuites"
|
---|
| 736 | depends !BOOK_CLFS2 && !BOOK_CLFS3
|
---|
| 737 | default y
|
---|
| 738 | help
|
---|
| 739 | #-- Run test suites
|
---|
[1d5f3e3] | 740 | # If you select 'y' here:
|
---|
[e5d44f5] | 741 | # You will have to select between:
|
---|
[945ccaa] | 742 | # - Only critical final system testsuites
|
---|
[e5d44f5] | 743 | # - All final system testsuites
|
---|
| 744 | # - Both temporary tools and final system testsuites
|
---|
| 745 | # You will be prompted also about the "flavour" of the
|
---|
| 746 | # testsuites run:
|
---|
| 747 | # - Don't stop on test suite failures
|
---|
| 748 | # - Abort the build at the first test suite failure
|
---|
| 749 | #
|
---|
[1d5f3e3] | 750 | # Note that in any case, all the test instructions will
|
---|
| 751 | # be generated. Those which are not wanted will be commented
|
---|
| 752 | # out. If you select 'n' here, the commented test instructions
|
---|
| 753 | # do not stop on test suite failures.
|
---|
| 754 | #
|
---|
| 755 | # HLFS and CLFS have no testsuites available in the
|
---|
| 756 | # temporary tools phase
|
---|
[e5d44f5] | 757 |
|
---|
[945ccaa] | 758 | menu "Test settings"
|
---|
| 759 | depends CONFIG_TESTS
|
---|
[e5d44f5] | 760 | choice
|
---|
| 761 | prompt "Tests level"
|
---|
| 762 | default TST_1
|
---|
| 763 |
|
---|
| 764 | config TST_1
|
---|
[945ccaa] | 765 | bool "Only final system critical testsuites"
|
---|
| 766 | help
|
---|
| 767 | #-- Critical tests:
|
---|
| 768 | # Only Glibc, Binutils, GMP, MPFR, MPC and GCC
|
---|
[1d5f3e3] | 769 | # testsuites for final system. The others are commented
|
---|
| 770 | # out.
|
---|
[e5d44f5] | 771 |
|
---|
| 772 | config TST_2
|
---|
| 773 | bool "All final system testsuites"
|
---|
[1d5f3e3] | 774 | help
|
---|
| 775 | #-- All final system test suites:
|
---|
| 776 | # Test instructions for the temporary tools (if available)
|
---|
| 777 | # are commented out.
|
---|
[e5d44f5] | 778 |
|
---|
| 779 | config TST_3
|
---|
[945ccaa] | 780 | bool "All testsuites" if !BOOK_HLFS && !BOOK_CLFS
|
---|
| 781 | help
|
---|
| 782 | #-- All tests:
|
---|
[1d5f3e3] | 783 | # Runs all the testsuites for both temporary tools (if
|
---|
| 784 | # available) and final system
|
---|
[e5d44f5] | 785 | endchoice
|
---|
| 786 |
|
---|
| 787 | choice
|
---|
| 788 | prompt "Flavour"
|
---|
| 789 |
|
---|
| 790 | config NO_BOMB
|
---|
[945ccaa] | 791 | bool "Don't stop on test failures"
|
---|
[e5d44f5] | 792 |
|
---|
| 793 | config BOMB
|
---|
[945ccaa] | 794 | bool "Abort the build on the first test failure"
|
---|
[e5d44f5] | 795 | endchoice
|
---|
| 796 |
|
---|
[945ccaa] | 797 | config TEST
|
---|
| 798 | int
|
---|
| 799 | default "0" if !CONFIG_TESTS
|
---|
| 800 | default "1" if TST_1
|
---|
| 801 | default "2" if TST_2
|
---|
| 802 | default "3" if TST_3
|
---|
| 803 |
|
---|
[e5d44f5] | 804 | config BOMB_TEST
|
---|
| 805 | bool
|
---|
| 806 | default n if NO_BOMB
|
---|
| 807 | default y if BOMB
|
---|
| 808 |
|
---|
| 809 | #--- End Test Suites
|
---|
[945ccaa] | 810 | endmenu # test settings
|
---|
[e5d44f5] | 811 |
|
---|
| 812 | #--- Package Management
|
---|
| 813 | config PKGMNGT
|
---|
| 814 | bool "Package management"
|
---|
| 815 | depends BOOK_LFS || BOOK_LFS_SYSD
|
---|
| 816 | default n
|
---|
| 817 | help
|
---|
| 818 | #-- Use package management
|
---|
| 819 | #
|
---|
[945ccaa] | 820 | # If set, you'll have to choose between
|
---|
| 821 | # two package management styles:
|
---|
| 822 | # - Build and install:
|
---|
| 823 | # the packages in the final phase are built
|
---|
| 824 | # in a separate directory, PKG_DEST.
|
---|
| 825 | # You should provide a bash function for
|
---|
[4b2a5fd] | 826 | # packaging and installing the package.
|
---|
[945ccaa] | 827 | # - Preload a library before install:
|
---|
| 828 | # Run the install instructions inside a
|
---|
| 829 | # wrapper command, which monitors the
|
---|
| 830 | # installed files.
|
---|
| 831 | #
|
---|
[e5d44f5] | 832 | # Also, you have to provide the instructions
|
---|
| 833 | # to build the package manager during the
|
---|
| 834 | # temporary tools phase, in the form of a
|
---|
| 835 | # sect1 of the book identical to a package
|
---|
| 836 | # sect1. See README.PACKAGE_MANAGEMENT
|
---|
| 837 | #
|
---|
| 838 | # For now, this only works with LFS
|
---|
[945ccaa] | 839 | choice
|
---|
| 840 | depends PKGMNGT
|
---|
| 841 | prompt "Package management style"
|
---|
| 842 | default PKG_PACK
|
---|
| 843 |
|
---|
| 844 | config PKG_PACK
|
---|
| 845 | bool "Build and pack (pacman or dpkg style)"
|
---|
[e5d44f5] | 846 |
|
---|
[945ccaa] | 847 | config LIB_LOAD
|
---|
| 848 | bool "Preload a library before installing (porg style)"
|
---|
| 849 | endchoice
|
---|
| 850 |
|
---|
| 851 | config WRAP_INSTALL
|
---|
| 852 | bool
|
---|
| 853 | default y if LIB_LOAD
|
---|
| 854 | default n if PKG_PACK
|
---|
[e5d44f5] | 855 | #--- End package management
|
---|
| 856 |
|
---|
| 857 | #--- Installed files logs
|
---|
| 858 | config INSTALL_LOG
|
---|
| 859 | bool "Create a log of installed files for each package"
|
---|
| 860 | default n
|
---|
| 861 | help
|
---|
| 862 | #-- Select this if you want to create logs of the files
|
---|
| 863 | # installed by each package on the final system.
|
---|
| 864 |
|
---|
| 865 | #--- End Installed files logs
|
---|
| 866 |
|
---|
[945ccaa] | 867 | config STRIP
|
---|
| 868 | bool "Strip Installed Binaries/Libraries"
|
---|
| 869 | default n
|
---|
| 870 | depends on !BOOK_CLFS3
|
---|
| 871 |
|
---|
[dc7fd7b] | 872 | config DEL_LA_FILES
|
---|
[d2a7ec8] | 873 | bool "Remove libtool .la files"
|
---|
[dc7fd7b] | 874 | default y
|
---|
| 875 | help
|
---|
| 876 | #-- Remove files libxxx.la installed by libtool. For a rationale
|
---|
| 877 | # see https://blog.flameeyes.eu/tags/lafiles/
|
---|
| 878 |
|
---|
[945ccaa] | 879 | config NO_PROGRESS_BAR
|
---|
| 880 | bool "DO NOT use/display progress_bar "
|
---|
| 881 | default n
|
---|
| 882 | help
|
---|
| 883 | #-- Do not use the progress bar routine. On slower machines
|
---|
| 884 | # this function consumes precious CPU cycles.
|
---|
| 885 |
|
---|
| 886 | #--- End Build Settings
|
---|
| 887 | endmenu
|
---|
| 888 |
|
---|
[6990d80] | 889 | menu "System configuration"
|
---|
[945ccaa] | 890 | depends !BOOK_BLFS
|
---|
| 891 |
|
---|
[e5d44f5] | 892 | #--- FSTAB
|
---|
| 893 | config HAVE_FSTAB
|
---|
| 894 | bool "Use a custom fstab file"
|
---|
| 895 | default n
|
---|
| 896 | help
|
---|
| 897 | #-- Select this if you have an fstab file with entries
|
---|
[945ccaa] | 898 | # for the target system
|
---|
[a705708] | 899 |
|
---|
[e5d44f5] | 900 | config FSTAB
|
---|
| 901 | string "Fstab file (optional)"
|
---|
| 902 | default "***EDIT ME***"
|
---|
| 903 | depends on HAVE_FSTAB
|
---|
| 904 | help
|
---|
| 905 | #-- The location of fstab file (if empty, a template is created)
|
---|
| 906 | #--- End FSTAB
|
---|
| 907 |
|
---|
| 908 | #--- Kernel
|
---|
| 909 | config CONFIG_BUILD_KERNEL
|
---|
| 910 | bool "Build the kernel"
|
---|
| 911 | default n
|
---|
| 912 | help
|
---|
| 913 | #-- Select this option if you wish to build the kernel.
|
---|
| 914 | #
|
---|
| 915 | # You will be prompted for the full path to the .config
|
---|
| 916 | # file. It will be copied to the 'sources' directory and
|
---|
| 917 | # renamed kernel-config
|
---|
| 918 |
|
---|
| 919 | config CONFIG
|
---|
| 920 | string "Kernel config file"
|
---|
| 921 | default "***EDIT ME***"
|
---|
| 922 | depends on CONFIG_BUILD_KERNEL
|
---|
| 923 | help
|
---|
| 924 | #-- Fully qualified path to a kernel config file
|
---|
| 925 | # The config file will be copied to ${BUILD_DIR}/sources
|
---|
| 926 | # and renamed 'kernel-config'
|
---|
| 927 | #--- End Kernel
|
---|
| 928 |
|
---|
| 929 | config VIMLANG
|
---|
| 930 | bool "Install vim-lang package"
|
---|
| 931 | default n
|
---|
| 932 | depends on !BOOK_HLFS && !BOOK_CLFS3
|
---|
| 933 | help
|
---|
| 934 | #-- Install the optional vim-lang package
|
---|
| 935 | # NOTE: This option is obsolete with the 7.3 release of Vim
|
---|
| 936 | # which is included in all recent releases of LFS.
|
---|
| 937 |
|
---|
| 938 | config TIMEZONE
|
---|
| 939 | string "TimeZone"
|
---|
| 940 | default "GMT"
|
---|
| 941 | help
|
---|
| 942 | #-- The timezone as output by tzselect
|
---|
| 943 | # This will be copied to /etc/localtime
|
---|
| 944 |
|
---|
| 945 | config LANG
|
---|
| 946 | string "Language"
|
---|
| 947 | default "$LANG"
|
---|
| 948 | help
|
---|
| 949 | #-- LANG variable set in /etc/profile
|
---|
| 950 | # See http://sourceware.org/git/?p=glibc.git;a=blob;f=localedata/SUPPORTED
|
---|
| 951 | # for values (or the file localedata/SUPPORTED in glibc tarball)
|
---|
| 952 |
|
---|
| 953 | config FULL_LOCALE
|
---|
| 954 | bool "Install the full set of locales"
|
---|
| 955 | default n
|
---|
| 956 | help
|
---|
| 957 | #-- If set to y, the full set of supported locales
|
---|
| 958 | # will be installed. Otherwise, only the minimal set
|
---|
| 959 | # necessary for the tests will be installed,
|
---|
| 960 | # together with the locale associated with the
|
---|
| 961 | # LANG you have chosen, if not in the minimal set.
|
---|
| 962 |
|
---|
| 963 | #--- Groff page
|
---|
| 964 | choice
|
---|
| 965 | prompt "Groff page size"
|
---|
| 966 | default PAGE_LETTER
|
---|
| 967 | help
|
---|
| 968 | #-- Page definition for groff: letter or A4
|
---|
| 969 |
|
---|
| 970 | config PAGE_LETTER
|
---|
| 971 | bool "letter"
|
---|
| 972 |
|
---|
| 973 | config PAGE_A4
|
---|
| 974 | bool "A4"
|
---|
| 975 | endchoice
|
---|
| 976 |
|
---|
| 977 | config PAGE
|
---|
| 978 | string
|
---|
| 979 | default "letter" if PAGE_LETTER
|
---|
| 980 | default "A4" if PAGE_A4
|
---|
| 981 | #--- End Groff page
|
---|
[a705708] | 982 |
|
---|
[945ccaa] | 983 | config HOSTNAME
|
---|
[6990d80] | 984 | string "Hostname (see help)"
|
---|
[945ccaa] | 985 | default "**EDITME**"
|
---|
[6990d80] | 986 | help
|
---|
| 987 | If you are on a public network, use the hostname given to you by
|
---|
| 988 | your institution, or corporation, etc. If your network is private,
|
---|
| 989 | that is, behind a firewall such as a box to connect to your ISP,
|
---|
| 990 | you can choose anything you'd like. Combined with the domain name
|
---|
| 991 | "local", you have the possibility to access your computer by name
|
---|
| 992 | instead of address on the private network (see RFC 6762 and
|
---|
| 993 | https://www.howtogeek.com/167190/).
|
---|
[945ccaa] | 994 |
|
---|
| 995 | menu "Network configuration"
|
---|
| 996 | config INTERFACE
|
---|
| 997 | string "netword card name"
|
---|
| 998 | default "eth0"
|
---|
[6990d80] | 999 | help
|
---|
| 1000 | eth0 is used in most cases. Virtual insterfaces may get other
|
---|
| 1001 | names (for example enp0s3 for the default network stack in qemu).
|
---|
| 1002 | Systemd may also rename network interfaces according to their
|
---|
| 1003 | bus addresses.
|
---|
[945ccaa] | 1004 | config IP_ADDR
|
---|
| 1005 | string "Static IP address"
|
---|
| 1006 | default "10.0.2.9"
|
---|
[6990d80] | 1007 | help
|
---|
| 1008 | The default here is for a virtual interface in qemu. Private
|
---|
| 1009 | networks have addresses in the range 10.x.x.x or 192.169.x.x.
|
---|
| 1010 | You have to know your network prefix. Then the last figure
|
---|
| 1011 | may be anything you like.
|
---|
| 1012 |
|
---|
[945ccaa] | 1013 | config GATEWAY
|
---|
| 1014 | string "Gateway"
|
---|
| 1015 | default "10.0.2.2"
|
---|
[6990d80] | 1016 | help
|
---|
| 1017 | Again, this default is for a qemu network stack. Usually, the
|
---|
| 1018 | gateway is the address of your firewall.
|
---|
[945ccaa] | 1019 | config PREFIX
|
---|
| 1020 | string "Subnet prefix"
|
---|
| 1021 | default "24"
|
---|
[6990d80] | 1022 | help
|
---|
| 1023 | Again, this default is for a qemu network stack, but is also
|
---|
| 1024 | the most used in private networks.
|
---|
[945ccaa] | 1025 | config BROADCAST
|
---|
| 1026 | string "Broadcast address"
|
---|
| 1027 | default "10.0.2.255"
|
---|
| 1028 | config DOMAIN
|
---|
[6990d80] | 1029 | string "Domain name (see help)"
|
---|
| 1030 | default "local"
|
---|
| 1031 | help
|
---|
| 1032 | Domain Name:
|
---|
| 1033 | Doamin names are registered, so if your computer is on a public
|
---|
| 1034 | network, you cannot use any name you'd like. On a public
|
---|
| 1035 | network, you should have been given a domain name by
|
---|
| 1036 | your corporation, institution, etc.
|
---|
| 1037 | If your network is really private, that is behind a firewall
|
---|
| 1038 | such as a box for connecting to an ISP, you can choose any
|
---|
| 1039 | domain you'd like. You can also opt for "local", see RFC 6762,
|
---|
| 1040 | or "something.test", see RFC 6761.
|
---|
[945ccaa] | 1041 | config DNS1
|
---|
| 1042 | string "Primary Name server"
|
---|
| 1043 | default "10.0.2.3"
|
---|
| 1044 | config DNS2
|
---|
| 1045 | string "Secondary Name server"
|
---|
| 1046 | default "8.8.8.8"
|
---|
| 1047 | endmenu # Network configuration
|
---|
| 1048 |
|
---|
| 1049 | menu "Console configuration"
|
---|
| 1050 | config FONT
|
---|
| 1051 | string "Console font"
|
---|
| 1052 | default "lat0-16"
|
---|
[3b43e17b] | 1053 | help
|
---|
| 1054 | Unicode mode is set by default. Setting FONT_MAP, FONT_UNIMAP,
|
---|
| 1055 | etc, must be done manually.
|
---|
[945ccaa] | 1056 | config KEYMAP
|
---|
| 1057 | string "Keymap name"
|
---|
| 1058 | default "us"
|
---|
[3b43e17b] | 1059 | config LOCAL
|
---|
| 1060 | boolean "Hardware clock is set to local time"
|
---|
| 1061 | default n
|
---|
| 1062 | help
|
---|
| 1063 | If the harware clock is set to local time, answer yes,
|
---|
| 1064 | If it is set to UTC, answer no
|
---|
| 1065 | config LOG_LEVEL
|
---|
| 1066 | string "Default log level (1-8)"
|
---|
| 1067 | default "4"
|
---|
| 1068 | depends BOOK_LFS
|
---|
| 1069 | help
|
---|
| 1070 | This can be changed using dmesg. 1 means "no message",
|
---|
| 1071 | 8 shows every message sent by the kernel, which is very
|
---|
| 1072 | noisy. The default at boot time is 7, which is quite
|
---|
| 1073 | noisy too.
|
---|
[945ccaa] | 1074 | endmenu # Console configuration
|
---|
| 1075 |
|
---|
| 1076 | endmenu #--- System configuration
|
---|
[a705708] | 1077 |
|
---|
[e5d44f5] | 1078 | menu "Advanced Features"
|
---|
| 1079 | depends !BOOK_BLFS
|
---|
| 1080 |
|
---|
| 1081 | config REPORT
|
---|
| 1082 | bool "Create SBU and disk usage report"
|
---|
| 1083 | default y
|
---|
| 1084 |
|
---|
| 1085 | #--- ICA/farce
|
---|
| 1086 | config COMPARE
|
---|
| 1087 | bool "Run comparison analysis on final stage"
|
---|
| 1088 | depends !BOOK_CLFS2 && !BOOK_CLFS3
|
---|
| 1089 | default n
|
---|
| 1090 | help
|
---|
| 1091 | #-- Should an iterative comparison analysis be performed?
|
---|
| 1092 | #
|
---|
| 1093 | # Unless you are familiar with ICA and/or FARCE do not
|
---|
| 1094 | # select this option
|
---|
| 1095 | #
|
---|
| 1096 | # ICA and FARCE are analysis tools for comparing one
|
---|
| 1097 | # build to the next. Builds mays differ from one iteration
|
---|
| 1098 | # to another due to the build order and these tools try
|
---|
| 1099 | # to ferret out those differences by examining the stored
|
---|
| 1100 | # build logs and binary files.
|
---|
| 1101 | #
|
---|
| 1102 | # The scripts are well commented and can be found in ./extras/*
|
---|
| 1103 | #
|
---|
| 1104 |
|
---|
| 1105 | config ITERATIONS
|
---|
| 1106 | int "Number of test runs (2,3,4,5)" if COMPARE
|
---|
| 1107 | depends on COMPARE
|
---|
| 1108 | range 2 5
|
---|
| 1109 | default 3
|
---|
| 1110 |
|
---|
| 1111 | config RUN_ICA
|
---|
| 1112 | bool "ICA testing"
|
---|
| 1113 | depends on COMPARE
|
---|
| 1114 | default y
|
---|
| 1115 | help
|
---|
| 1116 | #-- Run ICA testing
|
---|
| 1117 |
|
---|
| 1118 | config RUN_FARCE
|
---|
| 1119 | bool "farce testing"
|
---|
| 1120 | depends on COMPARE
|
---|
| 1121 | default n
|
---|
| 1122 | help
|
---|
| 1123 | #-- Run farce testing
|
---|
| 1124 | #--- End ICA/farce
|
---|
| 1125 |
|
---|
| 1126 | #--- Optimizations
|
---|
[0536270] | 1127 | if !BOOK_CLFS2 && !BOOK_CLFS3
|
---|
[e5d44f5] | 1128 | config CONFIG_OPTIMIZE
|
---|
| 1129 | bool "Optimization and parallelization"
|
---|
| 1130 | default n
|
---|
| 1131 | help
|
---|
| 1132 | # Opens a menu for various optimization settings:
|
---|
| 1133 | # Actual optimization flags MUST be defined in ./optimize/*
|
---|
| 1134 | # before activating this option.
|
---|
| 1135 | #
|
---|
| 1136 | # WARNING: The use of build optimizations may lead to build issues.
|
---|
| 1137 | # If the system doesn't work as expected, please rebuild
|
---|
| 1138 | # without optimizations before asking for support.
|
---|
| 1139 | menu "Optimization settings"
|
---|
| 1140 | depends on CONFIG_OPTIMIZE
|
---|
| 1141 |
|
---|
| 1142 | config N_PARALLEL
|
---|
| 1143 | int "Number of parallel `make' jobs"
|
---|
| 1144 | default 1
|
---|
| 1145 | help
|
---|
| 1146 | #-- The usual recommandation is (number of CPU cores)+1
|
---|
| 1147 | # Do not set for meaningful SBU calculations.
|
---|
| 1148 |
|
---|
| 1149 | choice
|
---|
| 1150 | prompt "Optimization level "
|
---|
| 1151 | default OPT_1
|
---|
| 1152 | help
|
---|
| 1153 | #-- Optimization values are set in optimize/* files
|
---|
| 1154 |
|
---|
| 1155 | config OPT_1
|
---|
| 1156 | bool "Final system only"
|
---|
| 1157 |
|
---|
| 1158 | config OPT_2
|
---|
| 1159 | bool "Both temp tools and final system"
|
---|
| 1160 |
|
---|
| 1161 | config OPT_3
|
---|
| 1162 | bool "Cross tools (only MAKEFLAGS), temp tools and final system" if BOOK_CLFS
|
---|
| 1163 | endchoice
|
---|
[84a3fda] | 1164 |
|
---|
| 1165 | config REALSBU
|
---|
| 1166 | bool "Build Binutls pass1 without optimization (Real SBU)"
|
---|
| 1167 | depends on (BOOK_LFS || BOOK_LFS_SYSD) && OPT_2
|
---|
| 1168 | default n
|
---|
| 1169 | help
|
---|
| 1170 | #-- Use -j1 in make invokation for Binutils pass1 to
|
---|
| 1171 | # get a valid SBU value.
|
---|
| 1172 |
|
---|
[854854e] | 1173 | endmenu
|
---|
[e5d44f5] | 1174 | config OPTIMIZE
|
---|
| 1175 | int
|
---|
| 1176 | default "0" if !CONFIG_OPTIMIZE
|
---|
| 1177 | default "1" if OPT_1
|
---|
| 1178 | default "2" if OPT_2
|
---|
| 1179 | default "3" if OPT_3
|
---|
[045b2dc] | 1180 | endif
|
---|
[84a3fda] | 1181 |
|
---|
[e5d44f5] | 1182 | #--- End Optimizations
|
---|
[a705708] | 1183 |
|
---|
[e5d44f5] | 1184 | #-- Internal Settings
|
---|
| 1185 | menu "Internal Settings (WARNING: for jhalfs developers only)"
|
---|
[4da2512] | 1186 |
|
---|
[e5d44f5] | 1187 | config SCRIPT_ROOT
|
---|
| 1188 | string "Scripts root"
|
---|
| 1189 | default "jhalfs"
|
---|
[4da2512] | 1190 |
|
---|
[e5d44f5] | 1191 | config JHALFSDIR
|
---|
| 1192 | string "jhalfs directory"
|
---|
| 1193 | default "$BUILDDIR/$SCRIPT_ROOT"
|
---|
[4da2512] | 1194 |
|
---|
[e5d44f5] | 1195 | config LOGDIRBASE
|
---|
| 1196 | string "Build logs directory basename"
|
---|
| 1197 | default "logs"
|
---|
[93346ee] | 1198 |
|
---|
[e5d44f5] | 1199 | config LOGDIR
|
---|
| 1200 | string "Build logs directory"
|
---|
| 1201 | default "$JHALFSDIR/$LOGDIRBASE"
|
---|
[93346ee] | 1202 |
|
---|
[e5d44f5] | 1203 | config TESTLOGDIRBASE
|
---|
| 1204 | string "Test suites logs directory basename"
|
---|
| 1205 | default "test-logs"
|
---|
[4da2512] | 1206 |
|
---|
[e5d44f5] | 1207 | config TESTLOGDIR
|
---|
| 1208 | string "Test suites logs directory"
|
---|
| 1209 | default "$JHALFSDIR/$TESTLOGDIRBASE"
|
---|
[93346ee] | 1210 |
|
---|
[e5d44f5] | 1211 | config FILELOGDIRBASE
|
---|
| 1212 | string "Installed files logs directory basename"
|
---|
| 1213 | default "installed-files"
|
---|
[93346ee] | 1214 |
|
---|
[e5d44f5] | 1215 | config FILELOGDIR
|
---|
| 1216 | string "Installed files logs directory"
|
---|
| 1217 | default "$JHALFSDIR/$FILELOGDIRBASE"
|
---|
[4da2512] | 1218 |
|
---|
[e5d44f5] | 1219 | config ICALOGDIR
|
---|
| 1220 | string "ICA logs directory"
|
---|
| 1221 | default "$LOGDIR/ICA"
|
---|
[4da2512] | 1222 |
|
---|
[e5d44f5] | 1223 | config FARCELOGDIR
|
---|
| 1224 | string "farce logs directory"
|
---|
| 1225 | default "$LOGDIR/farce"
|
---|
[4da2512] | 1226 |
|
---|
[e5d44f5] | 1227 | config MKFILE
|
---|
| 1228 | string "Makefile"
|
---|
| 1229 | default "$JHALFSDIR/Makefile"
|
---|
[4da2512] | 1230 |
|
---|
[e5d44f5] | 1231 | config XSL
|
---|
| 1232 | string "XSL stylesheet"
|
---|
| 1233 | default "$PROGNAME.xsl"
|
---|
[4da2512] | 1234 |
|
---|
[e5d44f5] | 1235 | config PKG_LST
|
---|
| 1236 | string "Package contents list"
|
---|
| 1237 | default "unpacked"
|
---|
[4da2512] | 1238 |
|
---|
[e5d44f5] | 1239 | #--- End Internal Settings
|
---|
| 1240 | endmenu
|
---|
[4da2512] | 1241 |
|
---|
[a705708] | 1242 | #--- End Advanced Features
|
---|
| 1243 | endmenu
|
---|
[7b6ecc5] | 1244 |
|
---|
[a16f769] | 1245 | config REBUILD_MAKEFILE
|
---|
[e5d44f5] | 1246 | depends !BOOK_BLFS
|
---|
| 1247 | bool "Rebuild the Makefile (see help)"
|
---|
| 1248 | default n
|
---|
| 1249 | help
|
---|
| 1250 | #-- Rebuild the Makefile
|
---|
| 1251 | #
|
---|
| 1252 | # This option allows to rebuild the Makefile after
|
---|
| 1253 | # customizing the base system build scripts.
|
---|
| 1254 | #
|
---|
| 1255 | # See README.CUSTOM for more info about this feature.
|
---|
[7b6ecc5] | 1256 |
|
---|