[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 |
|
---|
| 339 | config CONFIG_GETPKG
|
---|
| 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"
|
---|
| 351 | depends CONFIG_GETPKG
|
---|
| 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 |
|
---|
| 358 | config CONFIG_GETKERNEL
|
---|
| 359 | bool "Always retrieve kernel package"
|
---|
| 360 | default n
|
---|
[3b0fb28] | 361 | depends CONFIG_GETPKG
|
---|
[613d46b] | 362 | help
|
---|
[3b0fb28] | 363 | #-- Get the kernel package and patches even if no configuration
|
---|
| 364 | # file has been supplied.
|
---|
[613d46b] | 365 |
|
---|
| 366 | config 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 |
|
---|
[21dab83] | 372 | config CONFIG_REBUILD
|
---|
| 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 |
|
---|
| 433 | choice
|
---|
[056486c] | 434 | prompt "Flavour ->"
|
---|
[623643e] | 435 | depends CONFIG_TESTS
|
---|
[056486c] | 436 | default NO_BOMB
|
---|
| 437 |
|
---|
| 438 | config NO_BOMB
|
---|
| 439 | bool "Don't stop on test suite failures"
|
---|
[3b0fb28] | 440 |
|
---|
[056486c] | 441 | config BOMB
|
---|
| 442 | bool "Abort the build at the first test suite failure"
|
---|
[3b0fb28] | 443 | endchoice
|
---|
| 444 |
|
---|
| 445 | config BOMB_TEST
|
---|
[056486c] | 446 | int
|
---|
| 447 | default "0" if NO_BOMB
|
---|
| 448 | default "1" if BOMB
|
---|
[3b0fb28] | 449 | #--- End Test Suites
|
---|
[613d46b] | 450 |
|
---|
[3b0fb28] | 451 | #--- FSTAB
|
---|
| 452 | config HAVE_FSTAB
|
---|
| 453 | bool "Use a custom fstab file"
|
---|
| 454 | default n
|
---|
| 455 | help
|
---|
| 456 | #-- Select this if you have ready a proper fstab file
|
---|
| 457 |
|
---|
| 458 | config FSTAB
|
---|
| 459 | string "Fstab file (optional)"
|
---|
| 460 | default "***EDIT ME***"
|
---|
| 461 | depends on HAVE_FSTAB
|
---|
| 462 | help
|
---|
| 463 | #-- The location of fstab file (if empty, a template is created)
|
---|
| 464 | #--- End FSTAB
|
---|
| 465 |
|
---|
| 466 | #--- Kernel
|
---|
| 467 | config CONFIG_BUILD_KERNEL
|
---|
| 468 | bool "Build the kernel"
|
---|
| 469 | default n
|
---|
| 470 | help
|
---|
| 471 | #-- Select this option if you wish to build the kernel.
|
---|
| 472 | #
|
---|
| 473 | # You will be prompted for the full path to the .config
|
---|
| 474 | # file. It will be copied to the 'sources' directory and
|
---|
| 475 | # rename kernel-config
|
---|
| 476 |
|
---|
| 477 | config CONFIG
|
---|
| 478 | string "Kernel config file"
|
---|
| 479 | default "***EDIT ME***"
|
---|
| 480 | depends on CONFIG_BUILD_KERNEL
|
---|
| 481 | help
|
---|
| 482 | #-- Fully qualified path to a kernel config file
|
---|
| 483 | # The config file will be copied to ${BUILD_DIR}/sources
|
---|
| 484 | # and renamed 'kernel-config'
|
---|
| 485 |
|
---|
| 486 | config KEYMAP
|
---|
| 487 | string "Keyboard map"
|
---|
| 488 | default "none"
|
---|
| 489 | depends on !BOOK_LFS && CONFIG_BUILD_KERNEL
|
---|
| 490 | help
|
---|
| 491 | #-- Include the keymap in the kernel if defined. Path to the
|
---|
| 492 | # keymap file relative to /usr/share/kbd/keymaps/
|
---|
| 493 | # (e.g., i386/qwerty/us.map.gz) or "none" if you do not want
|
---|
| 494 | # a keymap included in the kernel
|
---|
| 495 | #--- End Kernel
|
---|
| 496 |
|
---|
| 497 | config CONFIG_STRIP
|
---|
| 498 | bool "Strip Installed Binaries/Libraries"
|
---|
[613d46b] | 499 | default y
|
---|
| 500 |
|
---|
[3b0fb28] | 501 | config CONFIG_VIMLANG
|
---|
| 502 | bool "Install vim-lang package"
|
---|
| 503 | default y
|
---|
| 504 | help
|
---|
| 505 | #-- install the optional vim-lang package
|
---|
| 506 |
|
---|
[613d46b] | 507 | config TIMEZONE
|
---|
| 508 | string "TimeZone"
|
---|
[33c34c9] | 509 | default "GMT"
|
---|
[613d46b] | 510 | help
|
---|
[33c34c9] | 511 | #-- The timezone as output by tzselect
|
---|
| 512 | # This will be copied to /etc/localtime
|
---|
[613d46b] | 513 |
|
---|
| 514 | config LANG
|
---|
| 515 | string "Language"
|
---|
| 516 | default "$LANG"
|
---|
| 517 | help
|
---|
[3b0fb28] | 518 | #-- Language information in /etc/profile See <locale -a> for values
|
---|
[613d46b] | 519 |
|
---|
| 520 | config LC_ALL
|
---|
| 521 | string "Language"
|
---|
| 522 | default "$LC_ALL"
|
---|
| 523 | depends on !BOOK_LFS
|
---|
| 524 | help
|
---|
[3b0fb28] | 525 | #-- Language information in /etc/profile See <locale -a> for values
|
---|
[613d46b] | 526 |
|
---|
[3b0fb28] | 527 | #--- Groff page
|
---|
[613d46b] | 528 | choice
|
---|
| 529 | prompt "Groff page size"
|
---|
| 530 | default PAGE_LETTER
|
---|
| 531 | help
|
---|
[3b0fb28] | 532 | #-- Page definition for groff: letter or A4
|
---|
[056486c] | 533 |
|
---|
[613d46b] | 534 | config PAGE_LETTER
|
---|
| 535 | bool "letter"
|
---|
[3b0fb28] | 536 |
|
---|
[613d46b] | 537 | config PAGE_A4
|
---|
| 538 | bool "A4"
|
---|
| 539 | endchoice
|
---|
[3b0fb28] | 540 |
|
---|
[613d46b] | 541 | config PAGE
|
---|
| 542 | string
|
---|
| 543 | default "letter" if PAGE_LETTER
|
---|
| 544 | default "A4" if PAGE_A4
|
---|
[3b0fb28] | 545 | #--- End Groff page
|
---|
[613d46b] | 546 |
|
---|
[3b0fb28] | 547 | #--- End Build Settings
|
---|
| 548 | endmenu
|
---|
| 549 |
|
---|
| 550 | menu "--- Advanced Features"
|
---|
| 551 |
|
---|
| 552 | config CONFIG_REPORT
|
---|
| 553 | bool "Create SBU and disk usage report"
|
---|
| 554 | default y
|
---|
| 555 |
|
---|
| 556 | #--- ICA/farce
|
---|
| 557 | config CONFIG_COMPARE
|
---|
| 558 | bool "Run comparison analysis on final stage"
|
---|
| 559 | depends !BOOK_CLFS2
|
---|
| 560 | default n
|
---|
[613d46b] | 561 | help
|
---|
[3b0fb28] | 562 | #-- Should some iterative comparison analysis by made?
|
---|
| 563 | #
|
---|
| 564 | # Unless you are familiar with ICA and/or FARCE do not
|
---|
| 565 | # select this option
|
---|
| 566 | #
|
---|
| 567 | # ICA and FARCE are analysis tools for comparing one
|
---|
| 568 | # build to the next. Builds mays differ from one iteration
|
---|
| 569 | # to another due to the build order and these tools try
|
---|
| 570 | # to ferret out those differences by examining the stored
|
---|
| 571 | # build logs and binary files.
|
---|
| 572 | #
|
---|
| 573 | # The scripts are well commented and can be found in ./extras/*
|
---|
| 574 | #
|
---|
| 575 |
|
---|
| 576 | config ITERATIONS
|
---|
| 577 | int "Number of test runs (2,3,4,5)"
|
---|
| 578 | depends on CONFIG_COMPARE
|
---|
| 579 | range 2 5
|
---|
| 580 | default 3
|
---|
| 581 |
|
---|
| 582 | config CONFIG_ICA
|
---|
| 583 | bool "ICA testing"
|
---|
| 584 | depends on CONFIG_COMPARE
|
---|
| 585 | default y
|
---|
[613d46b] | 586 | help
|
---|
[3b0fb28] | 587 | #-- Run ICA testing
|
---|
[613d46b] | 588 |
|
---|
[3b0fb28] | 589 | config CONFIG_FARCE
|
---|
| 590 | bool "farce testing"
|
---|
| 591 | depends on CONFIG_COMPARE
|
---|
| 592 | default n
|
---|
| 593 | help
|
---|
| 594 | #-- Run farce testing
|
---|
| 595 | #--- End ICA/farce
|
---|
| 596 |
|
---|
| 597 | #-- Optimizations
|
---|
| 598 | config CONFIG_OPTIMIZE
|
---|
| 599 | bool "Use optimization "
|
---|
[cbe3f2b] | 600 | default n
|
---|
| 601 | help
|
---|
[3b0fb28] | 602 | #-- Actual optimzation flags MUST be defined in ./optimize/*
|
---|
| 603 | # files before activate this option.
|
---|
[cbe3f2b] | 604 | #
|
---|
[3b0fb28] | 605 | # WARNING: The use of build optimizations may be dangerous.
|
---|
| 606 | # You should know what you are doing and be sure that the
|
---|
| 607 | # optimization settings listed below are what you want.
|
---|
| 608 | # It there are build issues or the system doesn't work as
|
---|
| 609 | # expected, please rebuild without optimizations before
|
---|
| 610 | # asking for support.
|
---|
[613d46b] | 611 |
|
---|
[3b0fb28] | 612 | choice
|
---|
| 613 | prompt "Optimization level "
|
---|
| 614 | default OPT_1
|
---|
| 615 | depends CONFIG_OPTIMIZE
|
---|
[613d46b] | 616 | help
|
---|
[3b0fb28] | 617 | #-- Optimization values are set in optimize/* files
|
---|
| 618 |
|
---|
| 619 | config OPT_1
|
---|
| 620 | bool "Final system only"
|
---|
| 621 |
|
---|
| 622 | config OPT_2
|
---|
| 623 | bool "Both temp tools and final system"
|
---|
| 624 | endchoice
|
---|
| 625 |
|
---|
| 626 | config OPTIMIZE
|
---|
| 627 | int
|
---|
| 628 | default "0" if !CONFIG_OPTIMIZE
|
---|
| 629 | default "1" if OPT_1
|
---|
| 630 | default "2" if OPT_2
|
---|
| 631 | #--- End Optimizations
|
---|
| 632 |
|
---|
| 633 | #--- End Advanced Features
|
---|
| 634 | endmenu
|
---|
[613d46b] | 635 |
|
---|
[a857ce7] | 636 | # config CONFIG_BLFS_CMDS
|
---|
| 637 | # bool "Add BLFS packages to current build"
|
---|
| 638 | # default n
|
---|
| 639 | # depends !BOOK_HLFS && XXX
|
---|
| 640 | # help
|
---|
| 641 | # #--- Select this option if you wish to install any BLFS packages
|
---|
| 642 | # # as part of your {c,h}lfs build.
|
---|
| 643 | # # Any needed packages will be downloaded to the /sources dir
|
---|
| 644 | # config BLFS_CMDLINE
|
---|
| 645 | # string "BLFS packages"
|
---|
| 646 | # default "none"
|
---|
| 647 | # depends CONFIG_BLFS_CMDS
|
---|
[056486c] | 648 |
|
---|
| 649 |
|
---|
| 650 | # convert CONFIG_XXXX n/y to XXXX 0/1
|
---|
[613d46b] | 651 |
|
---|
| 652 | config COMPARE
|
---|
| 653 | int
|
---|
| 654 | default 0 if !CONFIG_COMPARE
|
---|
| 655 | default 1 if CONFIG_COMPARE
|
---|
| 656 |
|
---|
| 657 | config GETPKG
|
---|
| 658 | int
|
---|
| 659 | default 0 if !CONFIG_GETPKG
|
---|
| 660 | default 1 if CONFIG_GETPKG
|
---|
| 661 |
|
---|
[056486c] | 662 | config GETKERNEL
|
---|
[613d46b] | 663 | int
|
---|
| 664 | default 0 if !CONFIG_GETKERNEL
|
---|
| 665 | default 1 if CONFIG_GETKERNEL
|
---|
| 666 |
|
---|
| 667 | config RUNMAKE
|
---|
| 668 | int
|
---|
| 669 | default 0 if !CONFIG_RUNMAKE
|
---|
| 670 | default 1 if CONFIG_RUNMAKE
|
---|
| 671 |
|
---|
| 672 | config STRIP
|
---|
| 673 | int
|
---|
| 674 | default 0 if !CONFIG_STRIP
|
---|
| 675 | default 1 if CONFIG_STRIP
|
---|
| 676 |
|
---|
| 677 | config REPORT
|
---|
| 678 | int
|
---|
| 679 | default 0 if !CONFIG_REPORT
|
---|
| 680 | default 1 if CONFIG_REPORT
|
---|
| 681 |
|
---|
| 682 | config VIMLANG
|
---|
| 683 | int
|
---|
| 684 | default 0 if !CONFIG_VIMLANG
|
---|
| 685 | default 1 if CONFIG_VIMLANG
|
---|
| 686 |
|
---|
| 687 | config RUN_ICA
|
---|
| 688 | int
|
---|
| 689 | default 0 if !CONFIG_ICA
|
---|
| 690 | default 1 if CONFIG_ICA
|
---|
| 691 |
|
---|
| 692 | config RUN_FARCE
|
---|
| 693 | int
|
---|
| 694 | default 0 if !CONFIG_FARCE
|
---|
| 695 | default 1 if CONFIG_FARCE
|
---|
| 696 |
|
---|
[21dab83] | 697 | config CLEAN
|
---|
| 698 | int
|
---|
| 699 | default 0 if !CONFIG_REBUILD
|
---|
| 700 | default 1 if CONFIG_REBUILD
|
---|