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