[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
|
---|
[2035ea1] | 103 | bool "alpha" if BOOK_CLFS
|
---|
[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"
|
---|
| 122 |
|
---|
| 123 | config PLATFORM_WRT
|
---|
| 124 | bool "WRT - MIPS based wireless router" if ARCH_MIPS
|
---|
| 125 | endchoice
|
---|
| 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
|
---|
[9bbf240] | 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)"
|
---|
[ee728b3] | 580 | default y if (BOOK_LFS && relSVN) || 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
|
---|
| 588 | # the SVN version of LFS to can install the headers files.
|
---|
[a705708] | 589 |
|
---|
[401f81e] | 590 | config RUNMAKE
|
---|
[a705708] | 591 | bool "Run the makefile"
|
---|
| 592 | default n
|
---|
| 593 | help
|
---|
| 594 | #-- Automatically run the makefile once it has been created
|
---|
| 595 |
|
---|
[401f81e] | 596 | config CLEAN
|
---|
[a705708] | 597 | bool "Rebuild files"
|
---|
| 598 | default n
|
---|
| 599 | help
|
---|
| 600 | #-- Clean the build directory before performing any other task.
|
---|
| 601 | # The directory is cleaned only if it was populated by a
|
---|
| 602 | # previous JHALFS run.
|
---|
| 603 | #
|
---|
| 604 |
|
---|
| 605 | #--- End General Settings
|
---|
| 606 | endmenu
|
---|
| 607 |
|
---|
| 608 | menu "--- Build Settings"
|
---|
[d3ce173] | 609 | depends on !BOOK_BLFS
|
---|
[a705708] | 610 |
|
---|
| 611 | #--- Test Suites
|
---|
| 612 | config CONFIG_TESTS
|
---|
| 613 | bool "Run testsuites"
|
---|
[0536270] | 614 | depends !BOOK_CLFS2 && !BOOK_CLFS3
|
---|
[401f81e] | 615 | default y
|
---|
[a705708] | 616 | help
|
---|
| 617 | #-- Run test suites
|
---|
| 618 | #
|
---|
| 619 | # You will can to select between:
|
---|
| 620 | #
|
---|
| 621 | # - Only final system Glibc, GCC and Binutils testsuites
|
---|
| 622 | # - All final system testsuites
|
---|
| 623 | # - Both temporary tools and final system testsuites
|
---|
| 624 | #
|
---|
| 625 | # HLFS and CLFS has no testsuites available in the
|
---|
| 626 | # temporary tools phase
|
---|
| 627 |
|
---|
| 628 | # You will be promt also about the "flavour" of the
|
---|
| 629 | # testsuites run:
|
---|
| 630 | #
|
---|
| 631 | # - Don't stop on test suite failures
|
---|
| 632 | # - Abort the build at the first test suite failure
|
---|
| 633 | #
|
---|
| 634 |
|
---|
| 635 | choice
|
---|
[8e3ccf7] | 636 | prompt "Tests level"
|
---|
[a705708] | 637 | depends CONFIG_TESTS
|
---|
| 638 | default TEST_1
|
---|
| 639 |
|
---|
| 640 | config TST_1
|
---|
| 641 | bool "Only final system Glibc, GCC and Binutils testsuites"
|
---|
| 642 |
|
---|
| 643 | config TST_2
|
---|
| 644 | bool "All final system testsuites"
|
---|
| 645 |
|
---|
| 646 | config TST_3
|
---|
| 647 | bool "Both temporary tools and final system testsuites" if !BOOK_HLFS && !BOOK_CLFS
|
---|
| 648 | endchoice
|
---|
| 649 |
|
---|
| 650 | config TEST
|
---|
| 651 | int
|
---|
| 652 | default "0" if !CONFIG_TESTS
|
---|
| 653 | default "1" if TST_1
|
---|
| 654 | default "2" if TST_2
|
---|
| 655 | default "3" if TST_3
|
---|
| 656 |
|
---|
| 657 | choice
|
---|
[8e3ccf7] | 658 | prompt "Flavour"
|
---|
[a705708] | 659 | depends CONFIG_TESTS
|
---|
| 660 |
|
---|
| 661 | config NO_BOMB
|
---|
| 662 | bool "Don't stop on test suite failures"
|
---|
| 663 |
|
---|
| 664 | config BOMB
|
---|
| 665 | bool "Abort the build at the first test suite failure"
|
---|
| 666 | endchoice
|
---|
| 667 |
|
---|
| 668 | config BOMB_TEST
|
---|
[401f81e] | 669 | bool
|
---|
[8e3ccf7] | 670 | default n if NO_BOMB
|
---|
| 671 | default y if BOMB
|
---|
[401f81e] | 672 |
|
---|
[a705708] | 673 | #--- End Test Suites
|
---|
| 674 |
|
---|
| 675 | #--- FSTAB
|
---|
| 676 | config HAVE_FSTAB
|
---|
| 677 | bool "Use a custom fstab file"
|
---|
| 678 | default n
|
---|
| 679 | help
|
---|
| 680 | #-- Select this if you have ready a proper fstab file
|
---|
| 681 |
|
---|
| 682 | config FSTAB
|
---|
| 683 | string "Fstab file (optional)"
|
---|
| 684 | default "***EDIT ME***"
|
---|
| 685 | depends on HAVE_FSTAB
|
---|
| 686 | help
|
---|
| 687 | #-- The location of fstab file (if empty, a template is created)
|
---|
| 688 | #--- End FSTAB
|
---|
| 689 |
|
---|
| 690 | #--- Kernel
|
---|
| 691 | config CONFIG_BUILD_KERNEL
|
---|
| 692 | bool "Build the kernel"
|
---|
| 693 | default n
|
---|
| 694 | help
|
---|
| 695 | #-- Select this option if you wish to build the kernel.
|
---|
| 696 | #
|
---|
| 697 | # You will be prompted for the full path to the .config
|
---|
| 698 | # file. It will be copied to the 'sources' directory and
|
---|
| 699 | # rename kernel-config
|
---|
| 700 |
|
---|
| 701 | config CONFIG
|
---|
| 702 | string "Kernel config file"
|
---|
| 703 | default "***EDIT ME***"
|
---|
| 704 | depends on CONFIG_BUILD_KERNEL
|
---|
| 705 | help
|
---|
| 706 | #-- Fully qualified path to a kernel config file
|
---|
| 707 | # The config file will be copied to ${BUILD_DIR}/sources
|
---|
| 708 | # and renamed 'kernel-config'
|
---|
| 709 | #--- End Kernel
|
---|
| 710 |
|
---|
[401f81e] | 711 | config STRIP
|
---|
[a705708] | 712 | bool "Strip Installed Binaries/Libraries"
|
---|
| 713 | default y
|
---|
| 714 |
|
---|
[401f81e] | 715 | config VIMLANG
|
---|
[a705708] | 716 | bool "Install vim-lang package"
|
---|
| 717 | default y
|
---|
| 718 | help
|
---|
[401f81e] | 719 | #-- Install the optional vim-lang package
|
---|
[a705708] | 720 |
|
---|
| 721 | config TIMEZONE
|
---|
| 722 | string "TimeZone"
|
---|
| 723 | default "GMT"
|
---|
| 724 | help
|
---|
| 725 | #-- The timezone as output by tzselect
|
---|
| 726 | # This will be copied to /etc/localtime
|
---|
| 727 |
|
---|
| 728 | config LANG
|
---|
| 729 | string "Language"
|
---|
| 730 | default "$LANG"
|
---|
| 731 | help
|
---|
| 732 | #-- Language information in /etc/profile See <locale -a> for values
|
---|
| 733 |
|
---|
| 734 | config LC_ALL
|
---|
| 735 | string "Language"
|
---|
| 736 | default "$LC_ALL"
|
---|
[113d767] | 737 | depends on BOOK_HLFS
|
---|
[a705708] | 738 | help
|
---|
| 739 | #-- Language information in /etc/profile See <locale -a> for values
|
---|
| 740 |
|
---|
| 741 | #--- Groff page
|
---|
| 742 | choice
|
---|
| 743 | prompt "Groff page size"
|
---|
| 744 | default PAGE_LETTER
|
---|
| 745 | help
|
---|
| 746 | #-- Page definition for groff: letter or A4
|
---|
| 747 |
|
---|
| 748 | config PAGE_LETTER
|
---|
| 749 | bool "letter"
|
---|
| 750 |
|
---|
| 751 | config PAGE_A4
|
---|
| 752 | bool "A4"
|
---|
| 753 | endchoice
|
---|
| 754 |
|
---|
| 755 | config PAGE
|
---|
| 756 | string
|
---|
| 757 | default "letter" if PAGE_LETTER
|
---|
| 758 | default "A4" if PAGE_A4
|
---|
| 759 | #--- End Groff page
|
---|
| 760 |
|
---|
| 761 | #--- End Build Settings
|
---|
| 762 | endmenu
|
---|
| 763 |
|
---|
| 764 | menu "--- Advanced Features"
|
---|
[d3ce173] | 765 | depends on !BOOK_BLFS
|
---|
[a705708] | 766 |
|
---|
[401f81e] | 767 | config REPORT
|
---|
[a705708] | 768 | bool "Create SBU and disk usage report"
|
---|
| 769 | default y
|
---|
| 770 |
|
---|
| 771 | #--- ICA/farce
|
---|
[401f81e] | 772 | config COMPARE
|
---|
[a705708] | 773 | bool "Run comparison analysis on final stage"
|
---|
[0536270] | 774 | depends !BOOK_CLFS2 && !BOOK_CLFS3
|
---|
[a705708] | 775 | default n
|
---|
| 776 | help
|
---|
| 777 | #-- Should some iterative comparison analysis by made?
|
---|
| 778 | #
|
---|
| 779 | # Unless you are familiar with ICA and/or FARCE do not
|
---|
| 780 | # select this option
|
---|
| 781 | #
|
---|
| 782 | # ICA and FARCE are analysis tools for comparing one
|
---|
| 783 | # build to the next. Builds mays differ from one iteration
|
---|
| 784 | # to another due to the build order and these tools try
|
---|
| 785 | # to ferret out those differences by examining the stored
|
---|
| 786 | # build logs and binary files.
|
---|
| 787 | #
|
---|
| 788 | # The scripts are well commented and can be found in ./extras/*
|
---|
| 789 | #
|
---|
| 790 |
|
---|
| 791 | config ITERATIONS
|
---|
[401f81e] | 792 | int "Number of test runs (2,3,4,5)" if COMPARE
|
---|
| 793 | depends on COMPARE
|
---|
[a705708] | 794 | range 2 5
|
---|
| 795 | default 3
|
---|
| 796 |
|
---|
[401f81e] | 797 | config RUN_ICA
|
---|
[a705708] | 798 | bool "ICA testing"
|
---|
[401f81e] | 799 | depends on COMPARE
|
---|
[a705708] | 800 | default y
|
---|
| 801 | help
|
---|
| 802 | #-- Run ICA testing
|
---|
| 803 |
|
---|
[401f81e] | 804 | config RUN_FARCE
|
---|
[a705708] | 805 | bool "farce testing"
|
---|
[401f81e] | 806 | depends on COMPARE
|
---|
[a705708] | 807 | default n
|
---|
| 808 | help
|
---|
| 809 | #-- Run farce testing
|
---|
| 810 | #--- End ICA/farce
|
---|
| 811 |
|
---|
[4da2512] | 812 | #--- Optimizations
|
---|
[0536270] | 813 | if !BOOK_CLFS2 && !BOOK_CLFS3
|
---|
[a705708] | 814 | config CONFIG_OPTIMIZE
|
---|
[4da2512] | 815 | bool "Use optimization (see help)"
|
---|
[a705708] | 816 | default n
|
---|
| 817 | help
|
---|
| 818 | #-- Actual optimzation flags MUST be defined in ./optimize/*
|
---|
| 819 | # files before activate this option.
|
---|
| 820 | #
|
---|
| 821 | # WARNING: The use of build optimizations may be dangerous.
|
---|
| 822 | # You should know what you are doing and be sure that the
|
---|
| 823 | # optimization settings listed below are what you want.
|
---|
| 824 | # It there are build issues or the system doesn't work as
|
---|
| 825 | # expected, please rebuild without optimizations before
|
---|
| 826 | # asking for support.
|
---|
| 827 |
|
---|
| 828 | choice
|
---|
| 829 | prompt "Optimization level "
|
---|
| 830 | default OPT_1
|
---|
| 831 | depends CONFIG_OPTIMIZE
|
---|
| 832 | help
|
---|
| 833 | #-- Optimization values are set in optimize/* files
|
---|
| 834 |
|
---|
| 835 | config OPT_1
|
---|
| 836 | bool "Final system only"
|
---|
| 837 |
|
---|
| 838 | config OPT_2
|
---|
| 839 | bool "Both temp tools and final system"
|
---|
| 840 | endchoice
|
---|
| 841 |
|
---|
| 842 | config OPTIMIZE
|
---|
| 843 | int
|
---|
| 844 | default "0" if !CONFIG_OPTIMIZE
|
---|
| 845 | default "1" if OPT_1
|
---|
| 846 | default "2" if OPT_2
|
---|
[045b2dc] | 847 | endif
|
---|
[a705708] | 848 | #--- End Optimizations
|
---|
| 849 |
|
---|
[4da2512] | 850 | #-- Internal Settings
|
---|
| 851 | menu "--- Internal Settings (WARNING: for jhalfs developers only)"
|
---|
| 852 |
|
---|
| 853 | config SCRIPT_ROOT
|
---|
| 854 | string "Scripts root"
|
---|
| 855 | default "jhalfs"
|
---|
| 856 |
|
---|
| 857 | config JHALFSDIR
|
---|
| 858 | string "jhalfs directory"
|
---|
| 859 | default "$BUILDDIR/$SCRIPT_ROOT"
|
---|
| 860 |
|
---|
| 861 | config LOGDIR
|
---|
| 862 | string "Build logs directory"
|
---|
| 863 | default "$JHALFSDIR/logs"
|
---|
| 864 |
|
---|
| 865 | config TESTLOGDIR
|
---|
| 866 | string "Test suites logs directory"
|
---|
| 867 | default "$JHALFSDIR/test-logs"
|
---|
| 868 |
|
---|
| 869 | config ICALOGDIR
|
---|
| 870 | string "ICA logs directory"
|
---|
| 871 | default "$LOGDIR/ICA"
|
---|
| 872 |
|
---|
| 873 | config FARCELOGDIR
|
---|
| 874 | string "farce logs directory"
|
---|
| 875 | default "$LOGDIR/farce"
|
---|
| 876 |
|
---|
| 877 | config MKFILE
|
---|
| 878 | string "Makefile"
|
---|
| 879 | default "$JHALFSDIR/Makefile"
|
---|
| 880 |
|
---|
| 881 | config XSL
|
---|
| 882 | string "XSL stylesheet"
|
---|
| 883 | default "$PROGNAME.xsl"
|
---|
| 884 |
|
---|
| 885 | config PKG_LST
|
---|
| 886 | string "Package contents list"
|
---|
| 887 | default "unpacked"
|
---|
| 888 |
|
---|
| 889 | #--- End Internal Settings
|
---|
| 890 | endmenu
|
---|
| 891 |
|
---|
[a705708] | 892 | #--- End Advanced Features
|
---|
| 893 | endmenu
|
---|
[7b6ecc5] | 894 |
|
---|
[a16f769] | 895 | config REBUILD_MAKEFILE
|
---|
[7b6ecc5] | 896 | bool "Rebuild the Makefile (see help)"
|
---|
| 897 | default n
|
---|
| 898 | depends on !BOOK_BLFS
|
---|
| 899 | help
|
---|
| 900 | #-- Rebuild the Makefile
|
---|
| 901 | #
|
---|
| 902 | # This option alow to rebuild the Makefile after
|
---|
| 903 | # customizing the base system build scripts.
|
---|
| 904 | #
|
---|
| 905 | # See README.CUSTOM for more info about this feature.
|
---|
| 906 |
|
---|