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