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