[613d46b] | 1 | mainmenu "JHALFS Build Script Configuration"
|
---|
[33c34c9] | 2 | comment "---------- BOOK Settings ----------"
|
---|
[613d46b] | 3 | choice
|
---|
| 4 | prompt "Use BOOK"
|
---|
| 5 | default BOOK_LFS
|
---|
| 6 | help
|
---|
[33c34c9] | 7 | #-- Select the BOOK/Build style you wish to configure.
|
---|
[613d46b] | 8 |
|
---|
| 9 | config BOOK_LFS
|
---|
[33c34c9] | 10 | bool "Linux From Scratch"
|
---|
[613d46b] | 11 | config BOOK_CLFS
|
---|
[33c34c9] | 12 | bool "Cross-Compiled Linux From Scratch"
|
---|
[613d46b] | 13 | config BOOK_CLFS2
|
---|
[33c34c9] | 14 | bool "Cross-Compiled Linux From Scratch (Version 2)"
|
---|
[725ae5a] | 15 | # config BOOK_CLFS3
|
---|
[33c34c9] | 16 | # bool "Cross-Compiled Linux From Scratch (Embedded Systems)"
|
---|
[613d46b] | 17 | config BOOK_HLFS
|
---|
[33c34c9] | 18 | bool "Hardened Linux From Scratch"
|
---|
[a857ce7] | 19 | # config BOOK_BLFS
|
---|
[33c34c9] | 20 | # bool "Beyond Linux From Scratch"
|
---|
[613d46b] | 21 | endchoice
|
---|
| 22 | config RUN_ME
|
---|
| 23 | string
|
---|
| 24 | default "./lfs" if BOOK_LFS
|
---|
| 25 | default "./clfs" if BOOK_CLFS
|
---|
| 26 | default "./clfs2" if BOOK_CLFS2
|
---|
[a857ce7] | 27 | # default "./clfs3" if BOOK_CLFS3
|
---|
[613d46b] | 28 | default "./hlfs" if BOOK_HLFS
|
---|
[a857ce7] | 29 | # default "./blfs" if BOOK_BLFS
|
---|
[613d46b] | 30 |
|
---|
| 31 |
|
---|
[9485eba] | 32 |
|
---|
[613d46b] | 33 | #--- Book version
|
---|
[056486c] | 34 | #menu "Book Version"
|
---|
[613d46b] | 35 | choice
|
---|
| 36 | prompt "Release"
|
---|
| 37 | default relSVN
|
---|
| 38 | config relSVN
|
---|
| 39 | bool "SVN"
|
---|
[33c34c9] | 40 | help
|
---|
| 41 | #-- Current development version as in trunk
|
---|
[613d46b] | 42 | config WORKING_COPY
|
---|
| 43 | bool "Working Copy"
|
---|
[33c34c9] | 44 | help
|
---|
| 45 | #-- A local working copy
|
---|
[613d46b] | 46 | config BRANCH
|
---|
[33c34c9] | 47 | bool "Branch or stable book" if !BOOK_HLFS && !BOOK_CLFS2
|
---|
| 48 | help
|
---|
| 49 | #-- A supported SVN branch or stable released book
|
---|
[613d46b] | 50 | endchoice
|
---|
| 51 |
|
---|
| 52 | config BRANCH_ID
|
---|
[65a2be6] | 53 | string "Branch (mandatory)"
|
---|
[f2382aa] | 54 | default "**EDIT ME**"
|
---|
[613d46b] | 55 | depends BRANCH
|
---|
[14f86de] | 56 | help
|
---|
[fa58f81] | 57 | #-- A list of valid branches and stable books ID's is available here.
|
---|
[14f86de] | 58 | # http://wiki.linuxfromscratch.org/alfs/wiki/SupportedBooks
|
---|
[613d46b] | 59 |
|
---|
| 60 | config BOOK
|
---|
[65a2be6] | 61 | string "Loc of working copy (mandatory)"
|
---|
[613d46b] | 62 | default "**EDIT ME**"
|
---|
| 63 | depends WORKING_COPY
|
---|
[14f86de] | 64 | help
|
---|
[33c34c9] | 65 | #--- The full path to a local copy of the book XML sources
|
---|
[14f86de] | 66 | #
|
---|
[613d46b] | 67 | #endmenu
|
---|
| 68 | #-----------------------
|
---|
[9485eba] | 69 |
|
---|
| 70 | #--- Set User Account
|
---|
| 71 | config CONFIG_USER
|
---|
| 72 | bool "Change the default user/group for this build"
|
---|
| 73 | default n
|
---|
| 74 | help #--- Unprivileged user and group name
|
---|
| 75 | # If you do not have the priv to create/delete
|
---|
| 76 | # users and groups you can specifiy your own
|
---|
| 77 | # user id for the build
|
---|
[33c34c9] | 78 | #
|
---|
[9485eba] | 79 | # default values for each book
|
---|
| 80 | # LFS lfs
|
---|
| 81 | # CLFS clfs
|
---|
| 82 | # CLFS2 clfs
|
---|
| 83 | # HLFS hlfs
|
---|
| 84 |
|
---|
| 85 | config DEF_USER
|
---|
| 86 | string
|
---|
| 87 | default "lfs" if BOOK_LFS
|
---|
| 88 | default "clfs" if BOOK_CLFS || BOOK_CLFS2
|
---|
| 89 | default "hlfs" if BOOK_HLFS
|
---|
| 90 |
|
---|
[056486c] | 91 | config SET_USER
|
---|
[9485eba] | 92 | string "User account"
|
---|
| 93 | depends CONFIG_USER
|
---|
| 94 | default DEF_USER
|
---|
| 95 |
|
---|
| 96 |
|
---|
| 97 | config CONFIG_GROUP
|
---|
| 98 | bool "Set Group?"
|
---|
| 99 | default n
|
---|
| 100 | depends CONFIG_USER
|
---|
[056486c] | 101 |
|
---|
| 102 | config SET_GROUP
|
---|
[9485eba] | 103 | string "GROUP account"
|
---|
| 104 | depends CONFIG_GROUP
|
---|
| 105 | default DEF_USER
|
---|
| 106 |
|
---|
| 107 | config LUSER
|
---|
| 108 | string
|
---|
| 109 | default DEF_USER if !CONFIG_USER
|
---|
| 110 | default SET_USER if CONFIG_USER
|
---|
| 111 |
|
---|
| 112 | config LGROUP
|
---|
| 113 | string
|
---|
| 114 | default LUSER if !CONFIG_GROUP
|
---|
| 115 | default SET_GROUP if CONFIG_GROUP
|
---|
| 116 | ------------------------
|
---|
[056486c] | 117 |
|
---|
[613d46b] | 118 | comment "--------CLFS specific params---------"
|
---|
| 119 | depends on BOOK_CLFS || BOOK_CLFS2
|
---|
| 120 |
|
---|
| 121 | choice
|
---|
| 122 | prompt "Target architecture"
|
---|
| 123 | default ARCH_X86
|
---|
| 124 | depends BOOK_CLFS || BOOK_CLFS2
|
---|
| 125 | help
|
---|
[33c34c9] | 126 | #-- Choose a base architecture
|
---|
[613d46b] | 127 | config ARCH_X86
|
---|
[056486c] | 128 | bool "x86"
|
---|
[613d46b] | 129 | config ARCH_MIPS
|
---|
| 130 | bool "mips" if !BOOK_CLFS2
|
---|
| 131 | config ARCH_PPC
|
---|
| 132 | bool "ppc" if !BOOK_CLFS2
|
---|
| 133 | config ARCH_SPARC
|
---|
| 134 | bool "sparc" if !BOOK_CLFS2
|
---|
| 135 | config ARCH_ALPHA
|
---|
| 136 | bool "alpha" if !BOOK_CLFS2
|
---|
| 137 | config ARCH_ARM
|
---|
| 138 | bool "arm" if !BOOK_CLFS
|
---|
| 139 | endchoice
|
---|
| 140 |
|
---|
| 141 | choice
|
---|
| 142 | prompt "Library"
|
---|
| 143 | depends (BOOK_CLFS || BOOK_CLFS2)
|
---|
| 144 | default DATA_32 if !ARCH_ALPHA
|
---|
| 145 | default DATA_64 if ARCH_ALPHA
|
---|
| 146 | config DATA_32
|
---|
| 147 | bool "32-bit" if !ARCH_ALPHA
|
---|
| 148 | config DATA_64
|
---|
| 149 | bool "64-bit" if !ARCH_PPC && !ARCH_ARM && !(BOOK_CLFS2 && ARCH_X86)
|
---|
| 150 | config DATA_MULTI
|
---|
| 151 | bool "multilib" if !ARCH_ALPHA && !ARCH_ARM && !(BOOK_CLFS2 && ARCH_X86)
|
---|
| 152 | endchoice
|
---|
| 153 |
|
---|
| 154 | choice
|
---|
| 155 | prompt "Target"
|
---|
| 156 | depends (BOOK_CLFS || BOOK_CLFS2) && ((ARCH_X86 && DATA_32) || ARCH_MIPS)
|
---|
| 157 | config PROC_i486
|
---|
| 158 | bool "i486" if ARCH_X86 && DATA_32
|
---|
| 159 | config PROC_i586
|
---|
| 160 | bool "i586" if ARCH_X86 && DATA_32
|
---|
| 161 | config PROC_i686
|
---|
| 162 | bool "i686" if ARCH_X86 && DATA_32
|
---|
| 163 | config PROC_mipsel
|
---|
| 164 | bool "mips -little endian" if ARCH_MIPS
|
---|
| 165 | config PROC_mips
|
---|
| 166 | bool "mips" if ARCH_MIPS
|
---|
| 167 | endchoice
|
---|
| 168 |
|
---|
| 169 |
|
---|
| 170 | config TARGET
|
---|
| 171 | string
|
---|
| 172 | depends DATA_32
|
---|
| 173 | default "i486-pc-linux-gnu" if ARCH_X86 && PROC_i486
|
---|
[056486c] | 174 | default "i586-pc-linux-gnu" if ARCH_X86 && PROC_i586
|
---|
[613d46b] | 175 | default "i686-pc-linux-gnu" if ARCH_X86 && PROC_i686
|
---|
| 176 | default "mipsel-unknown-linux-gnu" if ARCH_MIPS && PROC_mipsel
|
---|
| 177 | default "mips-unknown-linux-gnu" if ARCH_MIPS && PROC_mips
|
---|
| 178 | default "powerpc-unknown-linux-gnu" if ARCH_PPC
|
---|
| 179 | default "sparc-unknown-linux-gnu" if ARCH_SPARC
|
---|
| 180 | default "arm-unknown-linux-gnu" if ARCH_ARM
|
---|
| 181 |
|
---|
| 182 | config TARGET
|
---|
| 183 | string
|
---|
| 184 | depends DATA_64
|
---|
[056486c] | 185 | default "x86_64-unknown-linux-gnu" if ARCH_X86
|
---|
[613d46b] | 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 "alpha-unknown-linux-gnu" if ARCH_ALPHA
|
---|
| 190 |
|
---|
| 191 | config TARGET
|
---|
| 192 | string
|
---|
| 193 | depends DATA_MULTI
|
---|
| 194 | default "x86_64-unknown-linux-gnu" if ARCH_X86
|
---|
| 195 | default "mips64el-unknown-linux-gnu" if ARCH_MIPS && PROC_mipsel
|
---|
| 196 | default "mips64-unknown-linux-gnu" if ARCH_MIPS && PROC_mips
|
---|
| 197 | default "sparc64-unknown-linux-gnu" if ARCH_SPARC
|
---|
| 198 | default "powerpc64-unknown-linux-gnu" if ARCH_PPC
|
---|
[056486c] | 199 |
|
---|
[613d46b] | 200 |
|
---|
| 201 | config TARGET32
|
---|
| 202 | string
|
---|
| 203 | depends DATA_MULTI
|
---|
| 204 | default "i686-pc-linux-gnu" if ARCH_X86
|
---|
| 205 | default "mipsel-unknown-linux-gnu" if ARCH_MIPS && PROC_mipsel
|
---|
| 206 | default "mips-unknown-linux-gnu" if ARCH_MIPS && PROC_mips
|
---|
| 207 | default "sparc-unknown-linux-gnu" if ARCH_SPARC
|
---|
[056486c] | 208 | default "powerpc-unknown-linux-gnu" if ARCH_PPC
|
---|
[613d46b] | 209 |
|
---|
| 210 | config ARCH
|
---|
| 211 | string
|
---|
| 212 | depends DATA_32
|
---|
| 213 | default "x86" if ARCH_X86
|
---|
| 214 | default "ppc" if ARCH_PPC
|
---|
| 215 | default "mips" if ARCH_MIPS
|
---|
| 216 | default "sparc" if ARCH_SPARC
|
---|
| 217 | default "arm" if ARCH_ARM
|
---|
[056486c] | 218 |
|
---|
[613d46b] | 219 | config ARCH
|
---|
| 220 | string
|
---|
| 221 | depends DATA_64
|
---|
| 222 | default "x86_64-64" if ARCH_X86
|
---|
| 223 | default "mips64-64" if ARCH_MIPS
|
---|
| 224 | default "sparc64-64" if ARCH_SPARC
|
---|
| 225 | default "alpha" if ARCH_ALPHA
|
---|
[056486c] | 226 |
|
---|
[613d46b] | 227 | config ARCH
|
---|
| 228 | string
|
---|
| 229 | depends DATA_MULTI
|
---|
| 230 | default "x86_64" if ARCH_X86
|
---|
| 231 | default "mips64" if ARCH_MIPS
|
---|
| 232 | default "sparc64" if ARCH_SPARC
|
---|
| 233 | default "ppc64" if ARCH_PPC
|
---|
| 234 |
|
---|
| 235 |
|
---|
| 236 | choice
|
---|
| 237 | prompt "Build method"
|
---|
| 238 | depends BOOK_CLFS
|
---|
| 239 | help
|
---|
| 240 | #--- What build method should be used: a chroot jail or minimal boot system
|
---|
| 241 | # Review the Cross-LFS book chap6 "TO BOOT OR CHROOT" for a full explanation.
|
---|
| 242 | config BUILD_CHROOT
|
---|
| 243 | bool "chroot"
|
---|
| 244 | config BUILD_BOOT
|
---|
[056486c] | 245 | bool "boot"
|
---|
[613d46b] | 246 | endchoice
|
---|
| 247 | config METHOD
|
---|
| 248 | string
|
---|
| 249 | default "chroot" if BUILD_CHROOT
|
---|
[a181405] | 250 | default "boot" if BUILD_BOOT
|
---|
[056486c] | 251 |
|
---|
[613d46b] | 252 | config BOOT_CONFIG
|
---|
[65a2be6] | 253 | string "BOOT kernel config file (mandatory)"
|
---|
[725ae5a] | 254 | default "***EDIT ME***"
|
---|
[613d46b] | 255 | depends on BUILD_BOOT
|
---|
| 256 | help
|
---|
| 257 | #--- If METHOD=boot, location of boot-kernel config file
|
---|
| 258 | # The config file will be copied to ${BUILD_DIR}/sources
|
---|
| 259 | # and renamed 'bootkernel-config'
|
---|
| 260 | # NOTE: this setting is required
|
---|
| 261 |
|
---|
| 262 | config BOOT_KEYMAP
|
---|
| 263 | string "BOOT kernel keyboard map (see help)"
|
---|
| 264 | default "none"
|
---|
| 265 | depends on BUILD_BOOT
|
---|
| 266 | help
|
---|
| 267 | #--- Include the keymap in the kernel if defined. Path to the
|
---|
| 268 | # keymap file relative to /usr/share/kbd/keymaps/
|
---|
| 269 | # (e.g., i386/qwerty/us.map.gz) or "none" if you do not want
|
---|
| 270 | # a keymap included in the kernel
|
---|
[056486c] | 271 |
|
---|
[14f86de] | 272 | === Note about CLFS ===
|
---|
| 273 | If building the SVN or 1.0.0rc3 version using the boot method and
|
---|
[056486c] | 274 | compiling the keymap into the kernel, you MUST manually edit the
|
---|
[725ae5a] | 275 | "loadkeys" command found in $JHALFSDIR/clfs-commands/boot/066-kernel
|
---|
| 276 | to set the full path in your host to the keymap file.
|
---|
[613d46b] | 277 |
|
---|
| 278 | comment "----------------------------------------"
|
---|
| 279 | depends on BOOK_CLFS || BOOK_CLFS2
|
---|
| 280 |
|
---|
| 281 |
|
---|
| 282 | comment "--------HLFS specific params---------"
|
---|
| 283 | depends on BOOK_HLFS
|
---|
| 284 |
|
---|
| 285 | config GRSECURITY_HOST
|
---|
| 286 | bool "Building on grsecurity enabled host?"
|
---|
| 287 | default n
|
---|
| 288 | depends on BOOK_HLFS
|
---|
| 289 | help
|
---|
| 290 | #--- If your build system has grsecurity patches applied
|
---|
[056486c] | 291 | # you MUST enable this switch.
|
---|
[613d46b] | 292 |
|
---|
| 293 | choice
|
---|
| 294 | prompt "Library"
|
---|
| 295 | depends on BOOK_HLFS
|
---|
| 296 | help
|
---|
| 297 | #--- Which library model to use: uClibc/glibc
|
---|
| 298 | config LIB_GLIBC
|
---|
| 299 | bool "glibc"
|
---|
| 300 | config LIB_UCLIBC
|
---|
| 301 | bool "uClibc"
|
---|
| 302 | endchoice
|
---|
| 303 | config MODEL
|
---|
| 304 | depends on BOOK_HLFS
|
---|
| 305 | string
|
---|
| 306 | default "glibc" if LIB_GLIBC
|
---|
| 307 | default "uclibc" if LIB_UCLIBC
|
---|
| 308 |
|
---|
| 309 | comment "-------------------------------------"
|
---|
| 310 | depends on BOOK_HLFS
|
---|
| 311 |
|
---|
| 312 | #-----------------------
|
---|
| 313 |
|
---|
[cbe3f2b] | 314 | config BUILDDIR
|
---|
| 315 | string "Build Directory"
|
---|
| 316 | default "/mnt/build_dir"
|
---|
| 317 | help
|
---|
| 318 | #--- The directory where the created system will be located.
|
---|
| 319 |
|
---|
| 320 | config SRC_ARCHIVE
|
---|
| 321 | string "Package Archive Directory"
|
---|
| 322 | default "$SRC_ARCHIVE"
|
---|
| 323 | help
|
---|
[33c34c9] | 324 | #--- A local archive for packages/file (not $BUILDDIR/sources)
|
---|
[cbe3f2b] | 325 | # Used only if GETPKG = 1
|
---|
| 326 | # Any missing file will be downloaded and archived here,
|
---|
| 327 | # if the user has the right priviledges.
|
---|
| 328 |
|
---|
[613d46b] | 329 |
|
---|
| 330 | config CONFIG_GETPKG
|
---|
| 331 | bool "Retrieve source files"
|
---|
| 332 | default n
|
---|
| 333 | help
|
---|
| 334 | #--- Download all packages and patches required by the book selected
|
---|
| 335 | # NOTE: Looks for files in the local archive defined by SRC_ARCHIVE
|
---|
| 336 | # first and if necessary retrieve them from the 'net.
|
---|
[056486c] | 337 | # Files will be transfered to $BUILDDIR/sources.
|
---|
[613d46b] | 338 |
|
---|
| 339 | config CONFIG_GETKERNEL
|
---|
| 340 | bool "Always retrieve kernel package"
|
---|
| 341 | default n
|
---|
| 342 | help
|
---|
| 343 | # Get the kernel package and patches even if no configuration file
|
---|
[33c34c9] | 344 | # has been supplied.
|
---|
[613d46b] | 345 |
|
---|
| 346 | config CONFIG_RUNMAKE
|
---|
[21dab83] | 347 | bool "Run the makefile"
|
---|
[613d46b] | 348 | default n
|
---|
| 349 | help
|
---|
| 350 | #--- Automatically run the makefile once it has been created
|
---|
| 351 |
|
---|
[21dab83] | 352 | config CONFIG_REBUILD
|
---|
| 353 | bool "Rebuild files"
|
---|
| 354 | default n
|
---|
| 355 | help
|
---|
| 356 | Clean the build directory before performing any other task. The directory
|
---|
| 357 | is cleaned only if it was populated by a previous JHALFS run.
|
---|
[725ae5a] | 358 | NOTE::You must be 'root' for this function to work
|
---|
[21dab83] | 359 |
|
---|
[613d46b] | 360 | config CONFIG_STRIP
|
---|
| 361 | bool "Strip Installed Binaries/Libraries"
|
---|
| 362 | default y
|
---|
| 363 |
|
---|
| 364 |
|
---|
| 365 | config CONFIG_VIMLANG
|
---|
| 366 | bool "Install vim-lang package"
|
---|
| 367 | default y
|
---|
| 368 | help
|
---|
| 369 | #--- install the optional vim-lang package
|
---|
| 370 |
|
---|
| 371 |
|
---|
| 372 | #------------------
|
---|
| 373 | config CONFIG_OPTIMIZE
|
---|
| 374 | bool "Use optimization "
|
---|
| 375 | default n
|
---|
| 376 | help
|
---|
[33c34c9] | 377 | # Actual optimzation flags MUST be defined in ./optimize/*
|
---|
| 378 | # files before activate this option.
|
---|
[613d46b] | 379 | #
|
---|
| 380 | # WARNING: The use of build optimizations may be dangerous.
|
---|
| 381 | # You should know what you are doing and be sure that the
|
---|
| 382 | # optimization settings listed below are what you want.
|
---|
[33c34c9] | 383 | # It there are build issues or the system doesn't work as
|
---|
[613d46b] | 384 | # expected, please rebuild without optimizations before
|
---|
| 385 | # asking for support.
|
---|
[056486c] | 386 |
|
---|
| 387 | choice
|
---|
[33c34c9] | 388 | prompt "Optimization level "
|
---|
[613d46b] | 389 | default OPT_1
|
---|
| 390 | depends CONFIG_OPTIMIZE
|
---|
| 391 | help
|
---|
| 392 | ***Optimization values are set in optimize/* files
|
---|
[056486c] | 393 |
|
---|
[613d46b] | 394 | config OPT_1
|
---|
| 395 | bool "Final system only"
|
---|
| 396 | config OPT_2
|
---|
| 397 | bool "Both temp tools and final system"
|
---|
[056486c] | 398 | endchoice
|
---|
[613d46b] | 399 | config OPTIMIZE
|
---|
| 400 | int
|
---|
| 401 | default "0" if !CONFIG_OPTIMIZE
|
---|
| 402 | default "1" if OPT_1
|
---|
| 403 | default "2" if OPT_2
|
---|
| 404 |
|
---|
| 405 | #------------------
|
---|
| 406 | config CONFIG_COMPARE
|
---|
| 407 | bool "Run comparison analysis on final stage"
|
---|
[623643e] | 408 | depends !BOOK_CLFS2
|
---|
[613d46b] | 409 | default n
|
---|
| 410 | help
|
---|
| 411 | #--- Should some iterative comparison analysis by made?
|
---|
| 412 | # Unless you are familiar with ICA and/or FARCE do not select this option
|
---|
| 413 | #
|
---|
[056486c] | 414 | # ICA and FARCE are analysis tools for comparing one
|
---|
[613d46b] | 415 | # build to the next. Builds mays differ from one iteration
|
---|
| 416 | # to another due to the build order and these tools try
|
---|
| 417 | # to ferret out those differences by examining the stored
|
---|
| 418 | # build logs and binary files.
|
---|
| 419 | #
|
---|
[623643e] | 420 | # The scripts are well commented and can be found in ./extras/*
|
---|
[056486c] | 421 | #
|
---|
[613d46b] | 422 |
|
---|
| 423 | config ITERATIONS
|
---|
| 424 | int "Number of test runs (2,3,4,5)"
|
---|
| 425 | depends on CONFIG_COMPARE
|
---|
[53f7156] | 426 | range 2 5
|
---|
[613d46b] | 427 | default 3
|
---|
[056486c] | 428 |
|
---|
[613d46b] | 429 | config CONFIG_ICA
|
---|
| 430 | bool "ICA testing"
|
---|
| 431 | depends on CONFIG_COMPARE
|
---|
| 432 | default y
|
---|
| 433 | help
|
---|
| 434 | #--- Run ICA testing
|
---|
| 435 |
|
---|
| 436 | config CONFIG_FARCE
|
---|
| 437 | bool "farce testing"
|
---|
| 438 | depends on CONFIG_COMPARE
|
---|
[056486c] | 439 | default n
|
---|
[613d46b] | 440 | help
|
---|
| 441 | #--- Run farce testing
|
---|
| 442 | #------------------
|
---|
| 443 |
|
---|
| 444 | config CONFIG_TESTS
|
---|
| 445 | bool "Run testsuites"
|
---|
[623643e] | 446 | depends !BOOK_CLFS2
|
---|
[613d46b] | 447 | default n
|
---|
| 448 | help
|
---|
[623643e] | 449 | #--- Run test suites
|
---|
| 450 | #
|
---|
| 451 | # You will can to select between:
|
---|
| 452 | #
|
---|
| 453 | # - Only final system Glibc, GCC and Binutils testsuites
|
---|
| 454 | # - All final system testsuites
|
---|
| 455 | # - Both temporary tools and final system testsuites
|
---|
| 456 | #
|
---|
| 457 | # HLFS and CLFS has no testsuites available in the
|
---|
[33c34c9] | 458 | # temporary tools phase
|
---|
[623643e] | 459 |
|
---|
| 460 | # You will be promt also about the "flavour" of the
|
---|
| 461 | # testsuites run:
|
---|
| 462 | #
|
---|
| 463 | # - Don't stop on test suite failures
|
---|
| 464 | # - Abort the build at the first test suite failure
|
---|
[056486c] | 465 | #
|
---|
| 466 |
|
---|
[613d46b] | 467 | choice
|
---|
| 468 | prompt "Tests ->"
|
---|
[623643e] | 469 | depends CONFIG_TESTS
|
---|
[613d46b] | 470 | default TEST_1
|
---|
[056486c] | 471 |
|
---|
[613d46b] | 472 | config TST_1
|
---|
[623643e] | 473 | bool "Only final system Glibc, GCC and Binutils testsuites"
|
---|
[613d46b] | 474 | config TST_2
|
---|
[623643e] | 475 | bool "All final system testsuites"
|
---|
[613d46b] | 476 | config TST_3
|
---|
[623643e] | 477 | bool "Both temporary tools and final system testsuites" if !BOOK_HLFS && !BOOK_CLFS
|
---|
[613d46b] | 478 | endchoice
|
---|
| 479 | config TEST
|
---|
| 480 | int
|
---|
[21dab83] | 481 | default "0" if !CONFIG_TESTS
|
---|
[613d46b] | 482 | default "1" if TST_1
|
---|
| 483 | default "2" if TST_2
|
---|
| 484 | default "3" if TST_3
|
---|
[056486c] | 485 | choice
|
---|
| 486 | prompt "Flavour ->"
|
---|
[623643e] | 487 | depends CONFIG_TESTS
|
---|
[056486c] | 488 | default NO_BOMB
|
---|
| 489 |
|
---|
| 490 | config NO_BOMB
|
---|
| 491 | bool "Don't stop on test suite failures"
|
---|
| 492 | config BOMB
|
---|
| 493 | bool "Abort the build at the first test suite failure"
|
---|
| 494 | endchoice
|
---|
| 495 | config BOMB_TEST
|
---|
| 496 | int
|
---|
| 497 | default "0" if NO_BOMB
|
---|
| 498 | default "1" if BOMB
|
---|
[613d46b] | 499 |
|
---|
| 500 | config CONFIG_REPORT
|
---|
| 501 | bool "Create SBU and disk usage report"
|
---|
| 502 | default y
|
---|
| 503 |
|
---|
| 504 | config TIMEZONE
|
---|
| 505 | string "TimeZone"
|
---|
[33c34c9] | 506 | default "GMT"
|
---|
[613d46b] | 507 | help
|
---|
[33c34c9] | 508 | #-- The timezone as output by tzselect
|
---|
| 509 | # This will be copied to /etc/localtime
|
---|
[613d46b] | 510 |
|
---|
| 511 |
|
---|
| 512 | config LANG
|
---|
| 513 | string "Language"
|
---|
| 514 | default "$LANG"
|
---|
| 515 | help
|
---|
| 516 | #--- Language information in /etc/profile See <locale -a> for values
|
---|
| 517 |
|
---|
| 518 | config LC_ALL
|
---|
| 519 | string "Language"
|
---|
| 520 | default "$LC_ALL"
|
---|
| 521 | depends on !BOOK_LFS
|
---|
| 522 | help
|
---|
| 523 | #--- Language information in /etc/profile See <locale -a> for values
|
---|
| 524 |
|
---|
| 525 | choice
|
---|
| 526 | prompt "Groff page size"
|
---|
| 527 | default PAGE_LETTER
|
---|
| 528 | help
|
---|
[33c34c9] | 529 | #--- Page definition for groff: letter or A4
|
---|
[056486c] | 530 |
|
---|
[613d46b] | 531 | config PAGE_LETTER
|
---|
| 532 | bool "letter"
|
---|
| 533 | config PAGE_A4
|
---|
| 534 | bool "A4"
|
---|
| 535 | endchoice
|
---|
| 536 | config PAGE
|
---|
| 537 | string
|
---|
| 538 | default "letter" if PAGE_LETTER
|
---|
| 539 | default "A4" if PAGE_A4
|
---|
| 540 |
|
---|
[cbe3f2b] | 541 | config HAVE_FSTAB
|
---|
[33c34c9] | 542 | bool "Use a cunstom fstab file"
|
---|
[cbe3f2b] | 543 | default n
|
---|
[613d46b] | 544 | help
|
---|
[cbe3f2b] | 545 | #--- The location of fstab file (if empty, a template is created)
|
---|
[613d46b] | 546 | config FSTAB
|
---|
| 547 | string "Fstab file (optional)"
|
---|
[cbe3f2b] | 548 | default "***EDIT ME***"
|
---|
| 549 | depends on HAVE_FSTAB
|
---|
[613d46b] | 550 | help
|
---|
[cbe3f2b] | 551 | #--- The location of fstab file (if empty, a template is created)
|
---|
[613d46b] | 552 |
|
---|
[cbe3f2b] | 553 | config CONFIG_BUILD_KERNEL
|
---|
| 554 | bool "Build the kernel"
|
---|
| 555 | default n
|
---|
| 556 | help
|
---|
| 557 | #--- Select this option if you wish to build the kernel.
|
---|
| 558 | #
|
---|
[056486c] | 559 | # You will be prompted for the full path to the .config
|
---|
[cbe3f2b] | 560 | # file. It will be copied to the 'sources' directory and
|
---|
| 561 | # rename kernel-config
|
---|
[613d46b] | 562 | config CONFIG
|
---|
[cbe3f2b] | 563 | string "Kernel config file"
|
---|
| 564 | default "***EDIT ME***"
|
---|
| 565 | depends on CONFIG_BUILD_KERNEL
|
---|
[613d46b] | 566 | help
|
---|
| 567 | #--- Fully qualified path to a kernel config file
|
---|
| 568 | # The config file will be copied to ${BUILD_DIR}/sources
|
---|
| 569 | # and renamed 'kernel-config'
|
---|
| 570 |
|
---|
| 571 | config KEYMAP
|
---|
| 572 | string "Keyboard map"
|
---|
| 573 | default "none"
|
---|
| 574 | depends on !BOOK_LFS
|
---|
| 575 | help
|
---|
| 576 | #--- Include the keymap in the kernel if defined. Path to the
|
---|
| 577 | # keymap file relative to /usr/share/kbd/keymaps/
|
---|
| 578 | # (e.g., i386/qwerty/us.map.gz) or "none" if you do not want
|
---|
| 579 | # a keymap included in the kernel
|
---|
| 580 |
|
---|
[a857ce7] | 581 | # config CONFIG_BLFS_CMDS
|
---|
| 582 | # bool "Add BLFS packages to current build"
|
---|
| 583 | # default n
|
---|
| 584 | # depends !BOOK_HLFS && XXX
|
---|
| 585 | # help
|
---|
| 586 | # #--- Select this option if you wish to install any BLFS packages
|
---|
| 587 | # # as part of your {c,h}lfs build.
|
---|
| 588 | # # Any needed packages will be downloaded to the /sources dir
|
---|
| 589 | # config BLFS_CMDLINE
|
---|
| 590 | # string "BLFS packages"
|
---|
| 591 | # default "none"
|
---|
| 592 | # depends CONFIG_BLFS_CMDS
|
---|
[056486c] | 593 |
|
---|
| 594 |
|
---|
| 595 | # convert CONFIG_XXXX n/y to XXXX 0/1
|
---|
[613d46b] | 596 |
|
---|
| 597 | config COMPARE
|
---|
| 598 | int
|
---|
| 599 | default 0 if !CONFIG_COMPARE
|
---|
| 600 | default 1 if CONFIG_COMPARE
|
---|
| 601 |
|
---|
| 602 | config GETPKG
|
---|
| 603 | int
|
---|
| 604 | default 0 if !CONFIG_GETPKG
|
---|
| 605 | default 1 if CONFIG_GETPKG
|
---|
| 606 |
|
---|
[056486c] | 607 | config GETKERNEL
|
---|
[613d46b] | 608 | int
|
---|
| 609 | default 0 if !CONFIG_GETKERNEL
|
---|
| 610 | default 1 if CONFIG_GETKERNEL
|
---|
| 611 |
|
---|
| 612 | config RUNMAKE
|
---|
| 613 | int
|
---|
| 614 | default 0 if !CONFIG_RUNMAKE
|
---|
| 615 | default 1 if CONFIG_RUNMAKE
|
---|
| 616 |
|
---|
| 617 | config STRIP
|
---|
| 618 | int
|
---|
| 619 | default 0 if !CONFIG_STRIP
|
---|
| 620 | default 1 if CONFIG_STRIP
|
---|
| 621 |
|
---|
| 622 | config REPORT
|
---|
| 623 | int
|
---|
| 624 | default 0 if !CONFIG_REPORT
|
---|
| 625 | default 1 if CONFIG_REPORT
|
---|
| 626 |
|
---|
| 627 | config VIMLANG
|
---|
| 628 | int
|
---|
| 629 | default 0 if !CONFIG_VIMLANG
|
---|
| 630 | default 1 if CONFIG_VIMLANG
|
---|
| 631 |
|
---|
| 632 | config RUN_ICA
|
---|
| 633 | int
|
---|
| 634 | default 0 if !CONFIG_ICA
|
---|
| 635 | default 1 if CONFIG_ICA
|
---|
| 636 |
|
---|
| 637 | config RUN_FARCE
|
---|
| 638 | int
|
---|
| 639 | default 0 if !CONFIG_FARCE
|
---|
| 640 | default 1 if CONFIG_FARCE
|
---|
| 641 |
|
---|
[21dab83] | 642 | config CLEAN
|
---|
| 643 | int
|
---|
| 644 | default 0 if !CONFIG_REBUILD
|
---|
| 645 | default 1 if CONFIG_REBUILD
|
---|