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