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