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