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