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