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