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