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