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