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