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