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