2006-08-09 21:31:39 +02:00
|
|
|
menu "--- BOOK Settings"
|
|
|
|
|
|
|
|
#--- BOOK/script
|
2006-07-27 00:34:27 +02:00
|
|
|
choice
|
|
|
|
prompt "Use BOOK"
|
|
|
|
default BOOK_LFS
|
|
|
|
help
|
2006-08-08 22:33:24 +02:00
|
|
|
#-- Select the BOOK/Build style you wish to configure.
|
2006-07-27 00:34:27 +02:00
|
|
|
|
|
|
|
config BOOK_LFS
|
2006-08-08 22:33:24 +02:00
|
|
|
bool "Linux From Scratch"
|
2006-08-09 21:31:39 +02:00
|
|
|
|
2006-07-27 00:34:27 +02:00
|
|
|
config BOOK_CLFS
|
2006-08-08 22:33:24 +02:00
|
|
|
bool "Cross-Compiled Linux From Scratch"
|
2006-08-09 21:31:39 +02:00
|
|
|
|
2006-07-27 00:34:27 +02:00
|
|
|
config BOOK_CLFS2
|
2006-08-08 22:33:24 +02:00
|
|
|
bool "Cross-Compiled Linux From Scratch (Version 2)"
|
2006-08-09 21:31:39 +02:00
|
|
|
|
2006-08-01 22:05:42 +02:00
|
|
|
# config BOOK_CLFS3
|
2006-08-08 22:33:24 +02:00
|
|
|
# bool "Cross-Compiled Linux From Scratch (Embedded Systems)"
|
2006-08-09 21:31:39 +02:00
|
|
|
|
2006-07-27 00:34:27 +02:00
|
|
|
config BOOK_HLFS
|
2006-08-08 22:33:24 +02:00
|
|
|
bool "Hardened Linux From Scratch"
|
2006-08-09 21:31:39 +02:00
|
|
|
|
2006-08-13 20:24:16 +02:00
|
|
|
config BOOK_BLFS
|
|
|
|
bool "Beyond Linux From Scratch"
|
2006-07-27 00:34:27 +02:00
|
|
|
endchoice
|
2006-08-09 21:31:39 +02:00
|
|
|
|
2006-07-27 00:34:27 +02:00
|
|
|
config RUN_ME
|
|
|
|
string
|
|
|
|
default "./lfs" if BOOK_LFS
|
|
|
|
default "./clfs" if BOOK_CLFS
|
|
|
|
default "./clfs2" if BOOK_CLFS2
|
2006-08-08 20:21:01 +02:00
|
|
|
# default "./clfs3" if BOOK_CLFS3
|
2006-07-27 00:34:27 +02:00
|
|
|
default "./hlfs" if BOOK_HLFS
|
2006-08-13 20:24:16 +02:00
|
|
|
default "./blfs" if BOOK_BLFS
|
2006-08-09 21:31:39 +02:00
|
|
|
#--- End BOOK/script
|
2006-07-27 00:34:27 +02:00
|
|
|
|
2006-08-09 21:31:39 +02:00
|
|
|
#--- Book version
|
2006-07-27 00:34:27 +02:00
|
|
|
choice
|
|
|
|
prompt "Release"
|
|
|
|
default relSVN
|
|
|
|
config relSVN
|
|
|
|
bool "SVN"
|
2006-08-08 22:33:24 +02:00
|
|
|
help
|
|
|
|
#-- Current development version as in trunk
|
2006-08-09 21:31:39 +02:00
|
|
|
|
2006-07-27 00:34:27 +02:00
|
|
|
config WORKING_COPY
|
|
|
|
bool "Working Copy"
|
2006-08-13 20:24:16 +02:00
|
|
|
depends on !BOOK_BLFS
|
2006-08-08 22:33:24 +02:00
|
|
|
help
|
|
|
|
#-- A local working copy
|
2006-08-09 21:31:39 +02:00
|
|
|
|
2006-07-27 00:34:27 +02:00
|
|
|
config BRANCH
|
2006-08-08 22:33:24 +02:00
|
|
|
bool "Branch or stable book" if !BOOK_HLFS && !BOOK_CLFS2
|
|
|
|
help
|
|
|
|
#-- A supported SVN branch or stable released book
|
2006-07-27 00:34:27 +02:00
|
|
|
endchoice
|
|
|
|
|
|
|
|
config BRANCH_ID
|
2006-08-13 11:50:43 +02:00
|
|
|
string "Book Version (mandatory)"
|
2006-07-27 02:40:54 +02:00
|
|
|
default "**EDIT ME**"
|
2006-07-27 00:34:27 +02:00
|
|
|
depends BRANCH
|
2006-07-27 01:59:00 +02:00
|
|
|
help
|
2006-08-07 21:25:34 +02:00
|
|
|
#-- A list of valid branches and stable books ID's is available here.
|
2006-07-27 01:59:00 +02:00
|
|
|
# http://wiki.linuxfromscratch.org/alfs/wiki/SupportedBooks
|
2006-07-27 00:34:27 +02:00
|
|
|
|
|
|
|
config BOOK
|
2006-07-27 23:37:57 +02:00
|
|
|
string "Loc of working copy (mandatory)"
|
2006-07-27 00:34:27 +02:00
|
|
|
default "**EDIT ME**"
|
|
|
|
depends WORKING_COPY
|
2006-07-27 01:59:00 +02:00
|
|
|
help
|
2006-08-09 21:31:39 +02:00
|
|
|
#-- The full path to a local copy of the book XML sources
|
2006-07-27 01:59:00 +02:00
|
|
|
#
|
2006-08-09 21:31:39 +02:00
|
|
|
#--- End BOOK version
|
2006-07-27 00:34:27 +02:00
|
|
|
|
2006-08-09 21:31:39 +02:00
|
|
|
#--- CLFS specific params
|
2006-07-27 00:34:27 +02:00
|
|
|
choice
|
|
|
|
prompt "Target architecture"
|
|
|
|
default ARCH_X86
|
|
|
|
depends BOOK_CLFS || BOOK_CLFS2
|
|
|
|
help
|
2006-08-08 22:33:24 +02:00
|
|
|
#-- Choose a base architecture
|
2006-08-09 21:31:39 +02:00
|
|
|
|
2006-07-27 00:34:27 +02:00
|
|
|
config ARCH_X86
|
2006-08-05 17:42:52 +02:00
|
|
|
bool "x86"
|
2006-08-09 21:31:39 +02:00
|
|
|
|
2006-07-27 00:34:27 +02:00
|
|
|
config ARCH_MIPS
|
|
|
|
bool "mips" if !BOOK_CLFS2
|
2006-08-09 21:31:39 +02:00
|
|
|
|
2006-07-27 00:34:27 +02:00
|
|
|
config ARCH_PPC
|
|
|
|
bool "ppc" if !BOOK_CLFS2
|
2006-08-09 21:31:39 +02:00
|
|
|
|
2006-07-27 00:34:27 +02:00
|
|
|
config ARCH_SPARC
|
|
|
|
bool "sparc" if !BOOK_CLFS2
|
2006-08-09 21:31:39 +02:00
|
|
|
|
2006-07-27 00:34:27 +02:00
|
|
|
config ARCH_ALPHA
|
|
|
|
bool "alpha" if !BOOK_CLFS2
|
2006-08-09 21:31:39 +02:00
|
|
|
|
2006-07-27 00:34:27 +02:00
|
|
|
config ARCH_ARM
|
|
|
|
bool "arm" if !BOOK_CLFS
|
|
|
|
endchoice
|
|
|
|
|
|
|
|
choice
|
|
|
|
prompt "Library"
|
|
|
|
depends (BOOK_CLFS || BOOK_CLFS2)
|
|
|
|
default DATA_32 if !ARCH_ALPHA
|
|
|
|
default DATA_64 if ARCH_ALPHA
|
2006-08-09 21:31:39 +02:00
|
|
|
|
2006-07-27 00:34:27 +02:00
|
|
|
config DATA_32
|
|
|
|
bool "32-bit" if !ARCH_ALPHA
|
2006-08-09 21:31:39 +02:00
|
|
|
|
2006-07-27 00:34:27 +02:00
|
|
|
config DATA_64
|
|
|
|
bool "64-bit" if !ARCH_PPC && !ARCH_ARM && !(BOOK_CLFS2 && ARCH_X86)
|
2006-08-09 21:31:39 +02:00
|
|
|
|
2006-07-27 00:34:27 +02:00
|
|
|
config DATA_MULTI
|
|
|
|
bool "multilib" if !ARCH_ALPHA && !ARCH_ARM && !(BOOK_CLFS2 && ARCH_X86)
|
|
|
|
endchoice
|
|
|
|
|
|
|
|
choice
|
|
|
|
prompt "Target"
|
|
|
|
depends (BOOK_CLFS || BOOK_CLFS2) && ((ARCH_X86 && DATA_32) || ARCH_MIPS)
|
2006-08-09 21:31:39 +02:00
|
|
|
|
2006-07-27 00:34:27 +02:00
|
|
|
config PROC_i486
|
|
|
|
bool "i486" if ARCH_X86 && DATA_32
|
2006-08-09 21:31:39 +02:00
|
|
|
|
2006-07-27 00:34:27 +02:00
|
|
|
config PROC_i586
|
|
|
|
bool "i586" if ARCH_X86 && DATA_32
|
2006-08-09 21:31:39 +02:00
|
|
|
|
2006-07-27 00:34:27 +02:00
|
|
|
config PROC_i686
|
|
|
|
bool "i686" if ARCH_X86 && DATA_32
|
2006-08-09 21:31:39 +02:00
|
|
|
|
2006-07-27 00:34:27 +02:00
|
|
|
config PROC_mipsel
|
|
|
|
bool "mips -little endian" if ARCH_MIPS
|
2006-08-09 21:31:39 +02:00
|
|
|
|
2006-07-27 00:34:27 +02:00
|
|
|
config PROC_mips
|
|
|
|
bool "mips" if ARCH_MIPS
|
|
|
|
endchoice
|
|
|
|
|
|
|
|
config TARGET
|
|
|
|
string
|
|
|
|
depends DATA_32
|
|
|
|
default "i486-pc-linux-gnu" if ARCH_X86 && PROC_i486
|
2006-08-05 17:42:52 +02:00
|
|
|
default "i586-pc-linux-gnu" if ARCH_X86 && PROC_i586
|
2006-07-27 00:34:27 +02:00
|
|
|
default "i686-pc-linux-gnu" if ARCH_X86 && PROC_i686
|
|
|
|
default "mipsel-unknown-linux-gnu" if ARCH_MIPS && PROC_mipsel
|
|
|
|
default "mips-unknown-linux-gnu" if ARCH_MIPS && PROC_mips
|
|
|
|
default "powerpc-unknown-linux-gnu" if ARCH_PPC
|
|
|
|
default "sparc-unknown-linux-gnu" if ARCH_SPARC
|
|
|
|
default "arm-unknown-linux-gnu" if ARCH_ARM
|
|
|
|
|
|
|
|
config TARGET
|
|
|
|
string
|
|
|
|
depends DATA_64
|
2006-08-05 17:42:52 +02:00
|
|
|
default "x86_64-unknown-linux-gnu" if ARCH_X86
|
2006-07-27 00:34:27 +02:00
|
|
|
default "mips64el-unknown-linux-gnu" if ARCH_MIPS && PROC_mipsel
|
|
|
|
default "mips64-unknown-linux-gnu" if ARCH_MIPS && PROC_mips
|
|
|
|
default "sparc64-unknown-linux-gnu" if ARCH_SPARC
|
|
|
|
default "alpha-unknown-linux-gnu" if ARCH_ALPHA
|
|
|
|
|
|
|
|
config TARGET
|
|
|
|
string
|
|
|
|
depends DATA_MULTI
|
|
|
|
default "x86_64-unknown-linux-gnu" if ARCH_X86
|
|
|
|
default "mips64el-unknown-linux-gnu" if ARCH_MIPS && PROC_mipsel
|
|
|
|
default "mips64-unknown-linux-gnu" if ARCH_MIPS && PROC_mips
|
|
|
|
default "sparc64-unknown-linux-gnu" if ARCH_SPARC
|
|
|
|
default "powerpc64-unknown-linux-gnu" if ARCH_PPC
|
2006-08-05 17:42:52 +02:00
|
|
|
|
2006-07-27 00:34:27 +02:00
|
|
|
|
|
|
|
config TARGET32
|
|
|
|
string
|
|
|
|
depends DATA_MULTI
|
|
|
|
default "i686-pc-linux-gnu" if ARCH_X86
|
|
|
|
default "mipsel-unknown-linux-gnu" if ARCH_MIPS && PROC_mipsel
|
|
|
|
default "mips-unknown-linux-gnu" if ARCH_MIPS && PROC_mips
|
|
|
|
default "sparc-unknown-linux-gnu" if ARCH_SPARC
|
2006-08-05 17:42:52 +02:00
|
|
|
default "powerpc-unknown-linux-gnu" if ARCH_PPC
|
2006-07-27 00:34:27 +02:00
|
|
|
|
|
|
|
config ARCH
|
|
|
|
string
|
|
|
|
depends DATA_32
|
|
|
|
default "x86" if ARCH_X86
|
|
|
|
default "ppc" if ARCH_PPC
|
|
|
|
default "mips" if ARCH_MIPS
|
|
|
|
default "sparc" if ARCH_SPARC
|
|
|
|
default "arm" if ARCH_ARM
|
2006-08-05 17:42:52 +02:00
|
|
|
|
2006-07-27 00:34:27 +02:00
|
|
|
config ARCH
|
|
|
|
string
|
|
|
|
depends DATA_64
|
|
|
|
default "x86_64-64" if ARCH_X86
|
|
|
|
default "mips64-64" if ARCH_MIPS
|
|
|
|
default "sparc64-64" if ARCH_SPARC
|
|
|
|
default "alpha" if ARCH_ALPHA
|
2006-08-05 17:42:52 +02:00
|
|
|
|
2006-07-27 00:34:27 +02:00
|
|
|
config ARCH
|
|
|
|
string
|
|
|
|
depends DATA_MULTI
|
|
|
|
default "x86_64" if ARCH_X86
|
|
|
|
default "mips64" if ARCH_MIPS
|
|
|
|
default "sparc64" if ARCH_SPARC
|
|
|
|
default "ppc64" if ARCH_PPC
|
|
|
|
|
|
|
|
choice
|
|
|
|
prompt "Build method"
|
|
|
|
depends BOOK_CLFS
|
|
|
|
help
|
2006-08-09 21:31:39 +02:00
|
|
|
#-- What build method should be used: a chroot jail or minimal boot system
|
|
|
|
# Review the Cross-LFS book chap6 "TO BOOT OR CHROOT" for a full explanation.
|
|
|
|
|
2006-07-27 00:34:27 +02:00
|
|
|
config BUILD_CHROOT
|
|
|
|
bool "chroot"
|
2006-08-09 21:31:39 +02:00
|
|
|
|
2006-07-27 00:34:27 +02:00
|
|
|
config BUILD_BOOT
|
2006-08-05 17:42:52 +02:00
|
|
|
bool "boot"
|
2006-07-27 00:34:27 +02:00
|
|
|
endchoice
|
2006-08-09 21:31:39 +02:00
|
|
|
|
2006-07-27 00:34:27 +02:00
|
|
|
config METHOD
|
|
|
|
string
|
|
|
|
default "chroot" if BUILD_CHROOT
|
2006-07-30 17:10:24 +02:00
|
|
|
default "boot" if BUILD_BOOT
|
2006-08-05 17:42:52 +02:00
|
|
|
|
2006-07-27 00:34:27 +02:00
|
|
|
config BOOT_CONFIG
|
2006-07-27 23:37:57 +02:00
|
|
|
string "BOOT kernel config file (mandatory)"
|
2006-08-01 22:05:42 +02:00
|
|
|
default "***EDIT ME***"
|
2006-07-27 00:34:27 +02:00
|
|
|
depends on BUILD_BOOT
|
|
|
|
help
|
2006-08-09 21:31:39 +02:00
|
|
|
#-- If METHOD=boot, location of boot-kernel config file
|
|
|
|
# The config file will be copied to ${BUILD_DIR}/sources
|
|
|
|
# and renamed 'bootkernel-config'
|
|
|
|
#
|
|
|
|
# NOTE: this setting is required
|
2006-07-27 00:34:27 +02:00
|
|
|
|
|
|
|
config BOOT_KEYMAP
|
|
|
|
string "BOOT kernel keyboard map (see help)"
|
|
|
|
default "none"
|
|
|
|
depends on BUILD_BOOT
|
|
|
|
help
|
2006-08-09 21:31:39 +02:00
|
|
|
#-- Include the keymap in the kernel if defined. Path to the
|
|
|
|
# keymap file relative to /usr/share/kbd/keymaps/
|
|
|
|
# (e.g., i386/qwerty/us.map.gz) or "none" if you do not want
|
|
|
|
# a keymap included in the kernel
|
2006-08-05 17:42:52 +02:00
|
|
|
|
2006-08-09 21:31:39 +02:00
|
|
|
=== Note about CLFS ===
|
2006-08-24 23:29:01 +02:00
|
|
|
If building the SVN, Branch 1.0, or 1.0.0rc4 version using the boot method
|
|
|
|
and compiling the keymap into the kernel, you MUST manually edit the
|
2006-08-01 22:05:42 +02:00
|
|
|
"loadkeys" command found in $JHALFSDIR/clfs-commands/boot/066-kernel
|
|
|
|
to set the full path in your host to the keymap file.
|
2006-08-09 21:31:39 +02:00
|
|
|
#--- End CLFS specific params
|
2006-07-27 00:34:27 +02:00
|
|
|
|
2006-08-09 21:31:39 +02:00
|
|
|
#--- HLFS specific params
|
2006-07-27 00:34:27 +02:00
|
|
|
config GRSECURITY_HOST
|
|
|
|
bool "Building on grsecurity enabled host?"
|
|
|
|
default n
|
|
|
|
depends on BOOK_HLFS
|
|
|
|
help
|
2006-08-09 21:31:39 +02:00
|
|
|
#-- If your build system has grsecurity patches applied
|
|
|
|
# you MUST enable this switch.
|
2006-07-27 00:34:27 +02:00
|
|
|
|
|
|
|
choice
|
|
|
|
prompt "Library"
|
|
|
|
depends on BOOK_HLFS
|
|
|
|
help
|
2006-08-09 21:31:39 +02:00
|
|
|
#-- Which library model to use: uClibc/glibc
|
|
|
|
|
2006-07-27 00:34:27 +02:00
|
|
|
config LIB_GLIBC
|
|
|
|
bool "glibc"
|
2006-08-09 21:31:39 +02:00
|
|
|
|
2006-07-27 00:34:27 +02:00
|
|
|
config LIB_UCLIBC
|
|
|
|
bool "uClibc"
|
|
|
|
endchoice
|
2006-08-09 21:31:39 +02:00
|
|
|
|
2006-07-27 00:34:27 +02:00
|
|
|
config MODEL
|
|
|
|
depends on BOOK_HLFS
|
|
|
|
string
|
|
|
|
default "glibc" if LIB_GLIBC
|
|
|
|
default "uclibc" if LIB_UCLIBC
|
2006-08-09 21:31:39 +02:00
|
|
|
#--- End HLFS specific params
|
2006-07-27 00:34:27 +02:00
|
|
|
|
2006-08-13 20:24:16 +02:00
|
|
|
#--- BLFS specific params
|
|
|
|
config BLFS_ROOT
|
|
|
|
string "Directory root"
|
|
|
|
default "$HOME/blfs_root"
|
|
|
|
depends on BOOK_BLFS
|
|
|
|
help
|
|
|
|
#-- Full path to the directory where all required
|
|
|
|
# files and scripts will be stored.
|
|
|
|
|
|
|
|
config BLFS_XML
|
|
|
|
string "BLFS sources directory"
|
|
|
|
default "blfs-xml"
|
|
|
|
depends on BOOK_BLFS
|
|
|
|
help
|
|
|
|
#-- The directory name where BLFS book sources
|
|
|
|
# will be checkout.
|
2006-08-21 22:03:19 +02:00
|
|
|
|
|
|
|
config TRACKING_DIR
|
|
|
|
string "Installed packages database directory"
|
|
|
|
default "/var/lib/jhalfs/BLFS"
|
|
|
|
depends on BOOK_BLFS
|
|
|
|
help
|
|
|
|
#-- Full path to the directory where the installed
|
|
|
|
# packages database will be created.
|
|
|
|
#
|
|
|
|
# Note that the user that will build the packages must
|
|
|
|
# have read and write privileges on that directory.
|
2006-08-13 20:24:16 +02:00
|
|
|
#--- End BLFS specific params
|
|
|
|
|
2006-08-09 21:31:39 +02:00
|
|
|
#--- End BOOK Settings
|
|
|
|
endmenu
|
2006-07-27 00:34:27 +02:00
|
|
|
|
2006-08-09 21:31:39 +02:00
|
|
|
menu "--- General Settings"
|
2006-08-13 20:24:16 +02:00
|
|
|
depends on !BOOK_BLFS
|
2006-08-09 21:31:39 +02:00
|
|
|
|
|
|
|
#--- Set User Account
|
|
|
|
config CONFIG_USER
|
|
|
|
bool "Change the default user/group for this build"
|
|
|
|
default n
|
|
|
|
help #-- Unprivileged user and group name
|
|
|
|
# If you do not have the priv to create/delete
|
|
|
|
# users and groups you can specifiy your own
|
|
|
|
# user id for the build
|
|
|
|
#
|
|
|
|
# default values for each book
|
|
|
|
# LFS lfs
|
|
|
|
# CLFS clfs
|
|
|
|
# CLFS2 clfs
|
|
|
|
# HLFS hlfs
|
|
|
|
|
|
|
|
config DEF_USER
|
|
|
|
string
|
|
|
|
default "lfs" if BOOK_LFS
|
|
|
|
default "clfs" if BOOK_CLFS || BOOK_CLFS2
|
|
|
|
default "hlfs" if BOOK_HLFS
|
|
|
|
|
|
|
|
config SET_USER
|
|
|
|
string "User account"
|
|
|
|
depends CONFIG_USER
|
|
|
|
default DEF_USER
|
|
|
|
|
|
|
|
|
|
|
|
config CONFIG_GROUP
|
|
|
|
bool "Set Group?"
|
|
|
|
default n
|
|
|
|
depends CONFIG_USER
|
|
|
|
|
|
|
|
config SET_GROUP
|
|
|
|
string "GROUP account"
|
|
|
|
depends CONFIG_GROUP
|
|
|
|
default DEF_USER
|
|
|
|
|
|
|
|
config LUSER
|
|
|
|
string
|
|
|
|
default DEF_USER if !CONFIG_USER
|
|
|
|
default SET_USER if CONFIG_USER
|
|
|
|
|
|
|
|
config LGROUP
|
|
|
|
string
|
|
|
|
default LUSER if !CONFIG_GROUP
|
|
|
|
default SET_GROUP if CONFIG_GROUP
|
|
|
|
#--- End Set User Account
|
2006-07-27 00:34:27 +02:00
|
|
|
|
2006-07-30 20:21:03 +02:00
|
|
|
config BUILDDIR
|
|
|
|
string "Build Directory"
|
|
|
|
default "/mnt/build_dir"
|
|
|
|
help
|
2006-08-09 21:31:39 +02:00
|
|
|
#-- The directory where the created system will be located.
|
2006-07-27 00:34:27 +02:00
|
|
|
|
2006-08-12 21:59:11 +02:00
|
|
|
config GETPKG
|
2006-07-27 00:34:27 +02:00
|
|
|
bool "Retrieve source files"
|
|
|
|
default n
|
|
|
|
help
|
2006-08-09 21:31:39 +02:00
|
|
|
#-- Download all packages and patches required by the book selected
|
|
|
|
# NOTE: Looks for files in the local archive defined by SRC_ARCHIVE
|
|
|
|
# first and if necessary retrieve them from the 'net.
|
|
|
|
# Files will be transfered to $BUILDDIR/sources.
|
|
|
|
|
|
|
|
config SRC_ARCHIVE
|
|
|
|
string "Package Archive Directory"
|
|
|
|
default "$SRC_ARCHIVE"
|
2006-08-12 21:59:11 +02:00
|
|
|
depends GETPKG
|
2006-08-09 21:31:39 +02:00
|
|
|
help
|
|
|
|
#-- A local archive for packages/file (not $BUILDDIR/sources)
|
|
|
|
# Used only if GETPKG = 1
|
|
|
|
# Any missing file will be downloaded and archived here,
|
|
|
|
# if the user has the right priviledges.
|
2006-07-27 00:34:27 +02:00
|
|
|
|
2006-08-12 21:59:11 +02:00
|
|
|
config GETKERNEL
|
2006-07-27 00:34:27 +02:00
|
|
|
bool "Always retrieve kernel package"
|
|
|
|
default n
|
2006-08-12 21:59:11 +02:00
|
|
|
depends GETPKG
|
2006-07-27 00:34:27 +02:00
|
|
|
help
|
2006-08-09 21:31:39 +02:00
|
|
|
#-- Get the kernel package and patches even if no configuration
|
|
|
|
# file has been supplied.
|
2006-07-27 00:34:27 +02:00
|
|
|
|
2006-08-12 21:59:11 +02:00
|
|
|
config RUNMAKE
|
2006-07-28 05:55:40 +02:00
|
|
|
bool "Run the makefile"
|
2006-07-27 00:34:27 +02:00
|
|
|
default n
|
|
|
|
help
|
2006-08-09 21:31:39 +02:00
|
|
|
#-- Automatically run the makefile once it has been created
|
2006-07-27 00:34:27 +02:00
|
|
|
|
2006-08-12 21:59:11 +02:00
|
|
|
config CLEAN
|
2006-07-28 05:55:40 +02:00
|
|
|
bool "Rebuild files"
|
|
|
|
default n
|
|
|
|
help
|
2006-08-09 21:31:39 +02:00
|
|
|
#-- Clean the build directory before performing any other task.
|
|
|
|
# The directory is cleaned only if it was populated by a
|
|
|
|
# previous JHALFS run.
|
2006-08-05 17:42:52 +02:00
|
|
|
#
|
2006-08-09 21:31:39 +02:00
|
|
|
# NOTE::You must be 'root' for this function to work
|
2006-07-27 00:34:27 +02:00
|
|
|
|
2006-08-09 21:31:39 +02:00
|
|
|
#--- End General Settings
|
|
|
|
endmenu
|
2006-08-05 17:42:52 +02:00
|
|
|
|
2006-08-09 21:31:39 +02:00
|
|
|
menu "--- Build Settings"
|
2006-08-13 20:24:16 +02:00
|
|
|
depends on !BOOK_BLFS
|
2006-07-27 00:34:27 +02:00
|
|
|
|
2006-08-09 21:31:39 +02:00
|
|
|
#--- Test Suites
|
2006-07-27 00:34:27 +02:00
|
|
|
config CONFIG_TESTS
|
|
|
|
bool "Run testsuites"
|
2006-08-07 23:18:21 +02:00
|
|
|
depends !BOOK_CLFS2
|
2006-08-13 11:50:43 +02:00
|
|
|
default y
|
2006-07-27 00:34:27 +02:00
|
|
|
help
|
2006-08-09 21:31:39 +02:00
|
|
|
#-- Run test suites
|
2006-08-07 23:18:21 +02:00
|
|
|
#
|
|
|
|
# You will can to select between:
|
|
|
|
#
|
|
|
|
# - Only final system Glibc, GCC and Binutils testsuites
|
|
|
|
# - All final system testsuites
|
|
|
|
# - Both temporary tools and final system testsuites
|
|
|
|
#
|
|
|
|
# HLFS and CLFS has no testsuites available in the
|
2006-08-08 22:33:24 +02:00
|
|
|
# temporary tools phase
|
2006-08-07 23:18:21 +02:00
|
|
|
|
|
|
|
# You will be promt also about the "flavour" of the
|
|
|
|
# testsuites run:
|
|
|
|
#
|
|
|
|
# - Don't stop on test suite failures
|
|
|
|
# - Abort the build at the first test suite failure
|
2006-08-05 17:42:52 +02:00
|
|
|
#
|
|
|
|
|
2006-08-09 21:31:39 +02:00
|
|
|
choice
|
2006-08-18 20:32:06 +02:00
|
|
|
prompt "Tests level"
|
2006-08-07 23:18:21 +02:00
|
|
|
depends CONFIG_TESTS
|
2006-07-27 00:34:27 +02:00
|
|
|
default TEST_1
|
2006-08-05 17:42:52 +02:00
|
|
|
|
2006-07-27 00:34:27 +02:00
|
|
|
config TST_1
|
2006-08-07 23:18:21 +02:00
|
|
|
bool "Only final system Glibc, GCC and Binutils testsuites"
|
2006-08-09 21:31:39 +02:00
|
|
|
|
2006-07-27 00:34:27 +02:00
|
|
|
config TST_2
|
2006-08-07 23:18:21 +02:00
|
|
|
bool "All final system testsuites"
|
2006-08-09 21:31:39 +02:00
|
|
|
|
2006-07-27 00:34:27 +02:00
|
|
|
config TST_3
|
2006-08-07 23:18:21 +02:00
|
|
|
bool "Both temporary tools and final system testsuites" if !BOOK_HLFS && !BOOK_CLFS
|
2006-08-09 21:31:39 +02:00
|
|
|
endchoice
|
|
|
|
|
|
|
|
config TEST
|
2006-07-27 00:34:27 +02:00
|
|
|
int
|
2006-07-28 05:55:40 +02:00
|
|
|
default "0" if !CONFIG_TESTS
|
2006-07-27 00:34:27 +02:00
|
|
|
default "1" if TST_1
|
|
|
|
default "2" if TST_2
|
|
|
|
default "3" if TST_3
|
2006-08-09 21:31:39 +02:00
|
|
|
|
2006-08-13 11:50:43 +02:00
|
|
|
choice
|
2006-08-18 20:32:06 +02:00
|
|
|
prompt "Flavour"
|
2006-08-07 23:18:21 +02:00
|
|
|
depends CONFIG_TESTS
|
2006-08-05 17:42:52 +02:00
|
|
|
|
|
|
|
config NO_BOMB
|
|
|
|
bool "Don't stop on test suite failures"
|
2006-08-09 21:31:39 +02:00
|
|
|
|
2006-08-05 17:42:52 +02:00
|
|
|
config BOMB
|
|
|
|
bool "Abort the build at the first test suite failure"
|
2006-08-09 21:31:39 +02:00
|
|
|
endchoice
|
|
|
|
|
|
|
|
config BOMB_TEST
|
2006-08-12 21:59:11 +02:00
|
|
|
bool
|
2006-08-18 20:32:06 +02:00
|
|
|
default n if NO_BOMB
|
|
|
|
default y if BOMB
|
2006-08-12 21:59:11 +02:00
|
|
|
|
2006-08-09 21:31:39 +02:00
|
|
|
#--- End Test Suites
|
2006-07-27 00:34:27 +02:00
|
|
|
|
2006-08-09 21:31:39 +02:00
|
|
|
#--- FSTAB
|
|
|
|
config HAVE_FSTAB
|
|
|
|
bool "Use a custom fstab file"
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
#-- Select this if you have ready a proper fstab file
|
|
|
|
|
|
|
|
config FSTAB
|
|
|
|
string "Fstab file (optional)"
|
|
|
|
default "***EDIT ME***"
|
|
|
|
depends on HAVE_FSTAB
|
|
|
|
help
|
|
|
|
#-- The location of fstab file (if empty, a template is created)
|
|
|
|
#--- End FSTAB
|
|
|
|
|
|
|
|
#--- Kernel
|
|
|
|
config CONFIG_BUILD_KERNEL
|
|
|
|
bool "Build the kernel"
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
#-- Select this option if you wish to build the kernel.
|
|
|
|
#
|
|
|
|
# You will be prompted for the full path to the .config
|
|
|
|
# file. It will be copied to the 'sources' directory and
|
|
|
|
# rename kernel-config
|
|
|
|
|
|
|
|
config CONFIG
|
|
|
|
string "Kernel config file"
|
|
|
|
default "***EDIT ME***"
|
|
|
|
depends on CONFIG_BUILD_KERNEL
|
|
|
|
help
|
|
|
|
#-- Fully qualified path to a kernel config file
|
|
|
|
# The config file will be copied to ${BUILD_DIR}/sources
|
|
|
|
# and renamed 'kernel-config'
|
|
|
|
|
|
|
|
config KEYMAP
|
|
|
|
string "Keyboard map"
|
|
|
|
default "none"
|
|
|
|
depends on !BOOK_LFS && CONFIG_BUILD_KERNEL
|
|
|
|
help
|
|
|
|
#-- Include the keymap in the kernel if defined. Path to the
|
|
|
|
# keymap file relative to /usr/share/kbd/keymaps/
|
|
|
|
# (e.g., i386/qwerty/us.map.gz) or "none" if you do not want
|
|
|
|
# a keymap included in the kernel
|
|
|
|
#--- End Kernel
|
|
|
|
|
2006-08-12 21:59:11 +02:00
|
|
|
config STRIP
|
2006-08-09 21:31:39 +02:00
|
|
|
bool "Strip Installed Binaries/Libraries"
|
2006-07-27 00:34:27 +02:00
|
|
|
default y
|
|
|
|
|
2006-08-12 21:59:11 +02:00
|
|
|
config VIMLANG
|
2006-08-09 21:31:39 +02:00
|
|
|
bool "Install vim-lang package"
|
|
|
|
default y
|
|
|
|
help
|
2006-08-13 11:50:43 +02:00
|
|
|
#-- Install the optional vim-lang package
|
2006-08-09 21:31:39 +02:00
|
|
|
|
2006-07-27 00:34:27 +02:00
|
|
|
config TIMEZONE
|
|
|
|
string "TimeZone"
|
2006-08-08 22:33:24 +02:00
|
|
|
default "GMT"
|
2006-07-27 00:34:27 +02:00
|
|
|
help
|
2006-08-08 22:33:24 +02:00
|
|
|
#-- The timezone as output by tzselect
|
|
|
|
# This will be copied to /etc/localtime
|
2006-07-27 00:34:27 +02:00
|
|
|
|
|
|
|
config LANG
|
|
|
|
string "Language"
|
|
|
|
default "$LANG"
|
|
|
|
help
|
2006-08-09 21:31:39 +02:00
|
|
|
#-- Language information in /etc/profile See <locale -a> for values
|
2006-07-27 00:34:27 +02:00
|
|
|
|
|
|
|
config LC_ALL
|
|
|
|
string "Language"
|
|
|
|
default "$LC_ALL"
|
|
|
|
depends on !BOOK_LFS
|
|
|
|
help
|
2006-08-09 21:31:39 +02:00
|
|
|
#-- Language information in /etc/profile See <locale -a> for values
|
2006-07-27 00:34:27 +02:00
|
|
|
|
2006-08-09 21:31:39 +02:00
|
|
|
#--- Groff page
|
2006-07-27 00:34:27 +02:00
|
|
|
choice
|
|
|
|
prompt "Groff page size"
|
|
|
|
default PAGE_LETTER
|
|
|
|
help
|
2006-08-09 21:31:39 +02:00
|
|
|
#-- Page definition for groff: letter or A4
|
2006-08-05 17:42:52 +02:00
|
|
|
|
2006-07-27 00:34:27 +02:00
|
|
|
config PAGE_LETTER
|
|
|
|
bool "letter"
|
2006-08-09 21:31:39 +02:00
|
|
|
|
2006-07-27 00:34:27 +02:00
|
|
|
config PAGE_A4
|
|
|
|
bool "A4"
|
|
|
|
endchoice
|
2006-08-09 21:31:39 +02:00
|
|
|
|
2006-07-27 00:34:27 +02:00
|
|
|
config PAGE
|
|
|
|
string
|
|
|
|
default "letter" if PAGE_LETTER
|
|
|
|
default "A4" if PAGE_A4
|
2006-08-09 21:31:39 +02:00
|
|
|
#--- End Groff page
|
2006-07-27 00:34:27 +02:00
|
|
|
|
2006-08-09 21:31:39 +02:00
|
|
|
#--- End Build Settings
|
|
|
|
endmenu
|
|
|
|
|
|
|
|
menu "--- Advanced Features"
|
2006-08-13 20:24:16 +02:00
|
|
|
depends on !BOOK_BLFS
|
2006-08-09 21:31:39 +02:00
|
|
|
|
2006-08-12 21:59:11 +02:00
|
|
|
config REPORT
|
2006-08-09 21:31:39 +02:00
|
|
|
bool "Create SBU and disk usage report"
|
|
|
|
default y
|
|
|
|
|
|
|
|
#--- ICA/farce
|
2006-08-12 21:59:11 +02:00
|
|
|
config COMPARE
|
2006-08-09 21:31:39 +02:00
|
|
|
bool "Run comparison analysis on final stage"
|
|
|
|
depends !BOOK_CLFS2
|
|
|
|
default n
|
2006-07-27 00:34:27 +02:00
|
|
|
help
|
2006-08-09 21:31:39 +02:00
|
|
|
#-- Should some iterative comparison analysis by made?
|
|
|
|
#
|
|
|
|
# Unless you are familiar with ICA and/or FARCE do not
|
|
|
|
# select this option
|
|
|
|
#
|
|
|
|
# ICA and FARCE are analysis tools for comparing one
|
|
|
|
# build to the next. Builds mays differ from one iteration
|
|
|
|
# to another due to the build order and these tools try
|
|
|
|
# to ferret out those differences by examining the stored
|
|
|
|
# build logs and binary files.
|
|
|
|
#
|
|
|
|
# The scripts are well commented and can be found in ./extras/*
|
|
|
|
#
|
|
|
|
|
|
|
|
config ITERATIONS
|
2006-08-12 21:59:11 +02:00
|
|
|
int "Number of test runs (2,3,4,5)" if COMPARE
|
|
|
|
depends on COMPARE
|
2006-08-09 21:31:39 +02:00
|
|
|
range 2 5
|
|
|
|
default 3
|
|
|
|
|
2006-08-12 21:59:11 +02:00
|
|
|
config RUN_ICA
|
2006-08-09 21:31:39 +02:00
|
|
|
bool "ICA testing"
|
2006-08-12 21:59:11 +02:00
|
|
|
depends on COMPARE
|
2006-08-09 21:31:39 +02:00
|
|
|
default y
|
2006-07-27 00:34:27 +02:00
|
|
|
help
|
2006-08-09 21:31:39 +02:00
|
|
|
#-- Run ICA testing
|
2006-07-27 00:34:27 +02:00
|
|
|
|
2006-08-12 21:59:11 +02:00
|
|
|
config RUN_FARCE
|
2006-08-09 21:31:39 +02:00
|
|
|
bool "farce testing"
|
2006-08-12 21:59:11 +02:00
|
|
|
depends on COMPARE
|
2006-08-09 21:31:39 +02:00
|
|
|
default n
|
|
|
|
help
|
|
|
|
#-- Run farce testing
|
|
|
|
#--- End ICA/farce
|
|
|
|
|
|
|
|
#-- Optimizations
|
|
|
|
config CONFIG_OPTIMIZE
|
|
|
|
bool "Use optimization "
|
2006-07-30 20:21:03 +02:00
|
|
|
default n
|
|
|
|
help
|
2006-08-09 21:31:39 +02:00
|
|
|
#-- Actual optimzation flags MUST be defined in ./optimize/*
|
|
|
|
# files before activate this option.
|
2006-07-30 20:21:03 +02:00
|
|
|
#
|
2006-08-09 21:31:39 +02:00
|
|
|
# WARNING: The use of build optimizations may be dangerous.
|
|
|
|
# You should know what you are doing and be sure that the
|
|
|
|
# optimization settings listed below are what you want.
|
|
|
|
# It there are build issues or the system doesn't work as
|
|
|
|
# expected, please rebuild without optimizations before
|
|
|
|
# asking for support.
|
2006-07-27 00:34:27 +02:00
|
|
|
|
2006-08-09 21:31:39 +02:00
|
|
|
choice
|
|
|
|
prompt "Optimization level "
|
|
|
|
default OPT_1
|
|
|
|
depends CONFIG_OPTIMIZE
|
2006-07-27 00:34:27 +02:00
|
|
|
help
|
2006-08-09 21:31:39 +02:00
|
|
|
#-- Optimization values are set in optimize/* files
|
|
|
|
|
|
|
|
config OPT_1
|
|
|
|
bool "Final system only"
|
|
|
|
|
|
|
|
config OPT_2
|
|
|
|
bool "Both temp tools and final system"
|
|
|
|
endchoice
|
|
|
|
|
|
|
|
config OPTIMIZE
|
|
|
|
int
|
|
|
|
default "0" if !CONFIG_OPTIMIZE
|
|
|
|
default "1" if OPT_1
|
|
|
|
default "2" if OPT_2
|
|
|
|
#--- End Optimizations
|
|
|
|
|
|
|
|
#--- End Advanced Features
|
|
|
|
endmenu
|
2006-07-27 00:34:27 +02:00
|
|
|
|
2006-08-08 20:21:01 +02:00
|
|
|
# config CONFIG_BLFS_CMDS
|
|
|
|
# bool "Add BLFS packages to current build"
|
|
|
|
# default n
|
|
|
|
# depends !BOOK_HLFS && XXX
|
|
|
|
# help
|
|
|
|
# #--- Select this option if you wish to install any BLFS packages
|
|
|
|
# # as part of your {c,h}lfs build.
|
|
|
|
# # Any needed packages will be downloaded to the /sources dir
|
|
|
|
# config BLFS_CMDLINE
|
|
|
|
# string "BLFS packages"
|
|
|
|
# default "none"
|
|
|
|
# depends CONFIG_BLFS_CMDS
|