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