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