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