2006-08-11 20:02:51 +02:00
|
|
|
menu "--- BOOK Settings"
|
|
|
|
|
|
|
|
#--- BOOK/script
|
|
|
|
choice
|
|
|
|
prompt "Use BOOK"
|
|
|
|
default BOOK_LFS
|
|
|
|
help
|
|
|
|
#-- Select the BOOK/Build style you wish to configure.
|
|
|
|
|
|
|
|
config BOOK_LFS
|
2016-05-28 12:00:30 +02:00
|
|
|
bool "Linux From Scratch System V"
|
|
|
|
|
|
|
|
config BOOK_LFS_SYSD
|
|
|
|
bool "Linux From Scratch systemd"
|
2006-08-11 20:02:51 +02:00
|
|
|
|
|
|
|
config BOOK_CLFS
|
|
|
|
bool "Cross-Compiled Linux From Scratch"
|
|
|
|
|
|
|
|
config BOOK_CLFS2
|
2006-11-19 11:46:31 +01:00
|
|
|
bool "Cross-Compiled Linux From Scratch (Sysroot method)"
|
2006-08-11 20:02:51 +02:00
|
|
|
|
2006-11-11 01:09:42 +01:00
|
|
|
config BOOK_CLFS3
|
|
|
|
bool "Cross-Compiled Linux From Scratch (Embedded Systems)"
|
2006-08-11 20:02:51 +02:00
|
|
|
|
2008-10-28 01:38:55 +01:00
|
|
|
# config BOOK_HLFS
|
|
|
|
# bool "Hardened Linux From Scratch"
|
2006-08-11 20:02:51 +02:00
|
|
|
endchoice
|
|
|
|
|
2016-05-28 12:00:30 +02:00
|
|
|
config INITSYS
|
|
|
|
string
|
|
|
|
default "sysv" if BOOK_LFS
|
|
|
|
default "systemd" if BOOK_LFS_SYSD
|
|
|
|
|
2006-08-29 20:16:27 +02:00
|
|
|
config PROGNAME
|
|
|
|
string
|
2016-05-28 12:00:30 +02:00
|
|
|
default "lfs" if BOOK_LFS || BOOK_LFS_SYSD
|
2006-08-29 20:16:27 +02:00
|
|
|
default "clfs" if BOOK_CLFS
|
|
|
|
default "clfs2" if BOOK_CLFS2
|
2006-11-11 01:09:42 +01:00
|
|
|
default "clfs3" if BOOK_CLFS3
|
2006-08-29 20:16:27 +02:00
|
|
|
default "hlfs" if BOOK_HLFS
|
|
|
|
|
2006-08-11 20:02:51 +02:00
|
|
|
config RUN_ME
|
|
|
|
string
|
2013-11-16 23:35:25 +01:00
|
|
|
default "./jhalfs run"
|
2006-08-11 20:02:51 +02:00
|
|
|
#--- End BOOK/script
|
|
|
|
|
|
|
|
#--- Book version
|
|
|
|
choice
|
|
|
|
prompt "Release"
|
2016-05-28 12:00:30 +02:00
|
|
|
default relSVN if BOOK_LFS || BOOK_HLFS || BOOK_LFS_SYSD
|
2013-09-21 11:30:03 +02:00
|
|
|
default relGIT if BOOK_CLFS || BOOK_CLFS2 || BOOK_CLFS3
|
2006-08-11 20:02:51 +02:00
|
|
|
config relSVN
|
|
|
|
bool "SVN"
|
2016-05-28 12:00:30 +02:00
|
|
|
depends on BOOK_LFS || BOOK_HLFS || BOOK_LFS_SYSD
|
2006-08-11 20:02:51 +02:00
|
|
|
help
|
|
|
|
#-- Current development version as in trunk
|
|
|
|
|
2013-09-21 11:30:03 +02:00
|
|
|
config relGIT
|
|
|
|
bool "GIT"
|
|
|
|
depends on BOOK_CLFS || BOOK_CLFS2 || BOOK_CLFS3
|
|
|
|
help
|
|
|
|
#-- Current development git master branch
|
|
|
|
|
2006-08-11 20:02:51 +02:00
|
|
|
config WORKING_COPY
|
|
|
|
bool "Working Copy"
|
|
|
|
help
|
|
|
|
#-- A local working copy
|
|
|
|
|
|
|
|
config BRANCH
|
2006-11-14 20:58:26 +01:00
|
|
|
bool "Branch or stable book" if !BOOK_CLFS2 && !BOOK_CLFS3
|
2006-08-11 20:02:51 +02:00
|
|
|
help
|
2013-09-21 11:30:03 +02:00
|
|
|
#-- A supported SVN/GIT branch or stable released book
|
2006-08-11 20:02:51 +02:00
|
|
|
endchoice
|
|
|
|
|
|
|
|
config BRANCH_ID
|
2014-05-08 18:05:31 +02:00
|
|
|
string "Stable Version or branch (preceded by branch-)"
|
2006-08-11 20:02:51 +02:00
|
|
|
default "**EDIT ME**"
|
|
|
|
depends BRANCH
|
|
|
|
help
|
2014-05-08 18:05:31 +02:00
|
|
|
#-- A list of valid branches and stable book IDs is available here:
|
2006-08-11 20:02:51 +02:00
|
|
|
# http://wiki.linuxfromscratch.org/alfs/wiki/SupportedBooks
|
2014-05-08 18:05:31 +02:00
|
|
|
# Enter branch-XXX for branch XXX, and just YYY for tag YYY or
|
|
|
|
# stable YYY version
|
2006-08-11 20:02:51 +02:00
|
|
|
|
|
|
|
config BOOK
|
|
|
|
string "Loc of working copy (mandatory)"
|
|
|
|
default "**EDIT ME**"
|
|
|
|
depends WORKING_COPY
|
|
|
|
help
|
|
|
|
#-- The full path to a local copy of the book XML sources
|
|
|
|
#
|
|
|
|
#--- End BOOK version
|
|
|
|
|
|
|
|
#--- CLFS specific params
|
|
|
|
choice
|
|
|
|
prompt "Target architecture"
|
|
|
|
default ARCH_X86
|
2006-11-11 01:09:42 +01:00
|
|
|
depends BOOK_CLFS || BOOK_CLFS2 || BOOK_CLFS3
|
2006-08-11 20:02:51 +02:00
|
|
|
help
|
2006-12-09 21:12:06 +01:00
|
|
|
#-- Choose the target system base architecture
|
2006-08-11 20:02:51 +02:00
|
|
|
|
|
|
|
config ARCH_X86
|
|
|
|
bool "x86"
|
|
|
|
|
|
|
|
config ARCH_MIPS
|
2006-11-14 21:52:36 +01:00
|
|
|
bool "mips" if !BOOK_CLFS2
|
2006-08-11 20:02:51 +02:00
|
|
|
|
|
|
|
config ARCH_PPC
|
2006-12-09 14:17:30 +01:00
|
|
|
bool "ppc" if BOOK_CLFS
|
2006-08-11 20:02:51 +02:00
|
|
|
|
|
|
|
config ARCH_SPARC
|
2006-12-09 14:17:30 +01:00
|
|
|
bool "sparc" if BOOK_CLFS
|
2006-08-11 20:02:51 +02:00
|
|
|
|
|
|
|
config ARCH_ALPHA
|
2007-02-20 19:35:59 +01:00
|
|
|
bool "alpha" if !BOOK_CLFS3
|
2006-08-11 20:02:51 +02:00
|
|
|
|
|
|
|
config ARCH_ARM
|
2007-03-05 19:37:03 +01:00
|
|
|
bool "arm" if !BOOK_CLFS
|
2006-12-09 14:17:30 +01:00
|
|
|
|
|
|
|
config ARCH_HPPA
|
|
|
|
bool "hppa" if BOOK_CLFS2
|
2006-08-11 20:02:51 +02:00
|
|
|
endchoice
|
|
|
|
|
2007-02-15 20:15:05 +01:00
|
|
|
choice
|
|
|
|
prompt "Hardware Platform"
|
|
|
|
depends BOOK_CLFS3 && ARCH_MIPS
|
|
|
|
default PLATFORM_GENERIC
|
|
|
|
help
|
2012-02-11 00:38:57 +01:00
|
|
|
# Choose a destination platform
|
2007-02-15 20:15:05 +01:00
|
|
|
# Platform specific files will be included
|
|
|
|
|
|
|
|
config PLATFORM_GENERIC
|
|
|
|
bool "Generic platform"
|
2007-02-20 19:35:59 +01:00
|
|
|
|
2007-02-15 20:15:05 +01:00
|
|
|
config PLATFORM_WRT
|
|
|
|
bool "WRT - MIPS based wireless router" if ARCH_MIPS
|
|
|
|
endchoice
|
2007-02-20 19:35:59 +01:00
|
|
|
|
2006-08-11 20:02:51 +02:00
|
|
|
choice
|
|
|
|
prompt "Library"
|
2006-12-09 17:37:42 +01:00
|
|
|
depends (BOOK_CLFS && !ARCH_ALPHA) || (BOOK_CLFS3 && ARCH_MIPS)
|
|
|
|
default DATA_32
|
2006-12-09 21:12:06 +01:00
|
|
|
help
|
|
|
|
#-- Choose the target system libraries type
|
2006-08-11 20:02:51 +02:00
|
|
|
|
|
|
|
config DATA_32
|
2006-12-09 17:37:42 +01:00
|
|
|
bool "32-bit"
|
2006-08-11 20:02:51 +02:00
|
|
|
|
|
|
|
config DATA_64
|
2013-09-21 11:30:03 +02:00
|
|
|
bool "64-bit"
|
2006-08-11 20:02:51 +02:00
|
|
|
|
|
|
|
config DATA_MULTI
|
2007-02-15 20:15:05 +01:00
|
|
|
bool "multilib" if !(BOOK_CLFS3 && ARCH_MIPS )
|
2006-08-11 20:02:51 +02:00
|
|
|
endchoice
|
|
|
|
|
|
|
|
choice
|
2006-12-09 14:17:30 +01:00
|
|
|
prompt "Processor type"
|
2007-07-28 17:40:53 +02:00
|
|
|
depends (BOOK_CLFS || BOOK_CLFS2 || BOOK_CLFS3) && ((ARCH_X86 && !(DATA_64 || DATA_MULTI)) || ARCH_MIPS || ARCH_HPPA || ARCH_ALPHA || (ARCH_SPARC && (DATA_64 || DATA_MULTI)) || (ARCH_ARM && BOOK_CLFS3))
|
2006-12-09 21:12:06 +01:00
|
|
|
help
|
|
|
|
#-- Choose the target system processor
|
2006-08-11 20:02:51 +02:00
|
|
|
|
|
|
|
config PROC_i486
|
2006-12-09 17:37:42 +01:00
|
|
|
bool "486 Compatibles" if ARCH_X86
|
2006-08-11 20:02:51 +02:00
|
|
|
|
|
|
|
config PROC_i586
|
2006-12-09 17:37:42 +01:00
|
|
|
bool "Pentium, K6, 586 Compatibles" if ARCH_X86
|
2006-08-11 20:02:51 +02:00
|
|
|
|
|
|
|
config PROC_i686
|
2006-12-09 17:37:42 +01:00
|
|
|
bool "Pentium II, Pentium III, Pentium 4, Athlon, Duron" if ARCH_X86
|
2006-08-11 20:02:51 +02:00
|
|
|
|
|
|
|
config PROC_mipsel
|
2006-12-09 14:17:30 +01:00
|
|
|
bool "MIPS Little Endian" if ARCH_MIPS
|
2006-08-11 20:02:51 +02:00
|
|
|
|
|
|
|
config PROC_mips
|
2006-12-09 14:17:30 +01:00
|
|
|
bool "MIPS Big Endian" if ARCH_MIPS
|
|
|
|
|
|
|
|
config PROC_unknown
|
2007-02-24 13:51:55 +01:00
|
|
|
bool "Unknown" if ARCH_HPPA || ARCH_ALPHA
|
2006-12-09 14:17:30 +01:00
|
|
|
|
|
|
|
config PROC_hppa1
|
|
|
|
bool "PA 7000 Series" if ARCH_HPPA
|
|
|
|
|
|
|
|
config PROC_hppa2
|
|
|
|
bool "PA 8000 Series" if ARCH_HPPA
|
2007-02-24 13:51:55 +01:00
|
|
|
|
|
|
|
config PROC_EV5
|
|
|
|
bool "EV5 Series" if ARCH_ALPHA
|
|
|
|
|
|
|
|
config PROC_EV56
|
|
|
|
bool "EV56 Series" if ARCH_ALPHA
|
|
|
|
|
|
|
|
config PROC_PCA56
|
|
|
|
bool "PCA56 Series" if ARCH_ALPHA
|
|
|
|
|
|
|
|
config PROC_PCA57
|
|
|
|
bool "PCA57 Series" if ARCH_ALPHA
|
|
|
|
|
|
|
|
config PROC_EV6
|
|
|
|
bool "EV6 Series" if ARCH_ALPHA
|
|
|
|
|
|
|
|
config PROC_EV67
|
|
|
|
bool "EV67 Series" if ARCH_ALPHA
|
|
|
|
|
|
|
|
config PROC_EV68
|
|
|
|
bool "EV68 Series" if ARCH_ALPHA
|
2007-03-05 19:37:03 +01:00
|
|
|
|
|
|
|
config PROC_ARM
|
|
|
|
bool "Generic arm, little endian" if ARCH_ARM
|
|
|
|
|
|
|
|
config PROC_ARM5L
|
|
|
|
bool "Generic arm, version 5, little endian" if ARCH_ARM
|
|
|
|
|
|
|
|
config PROC_ARM5B
|
|
|
|
bool "Generic arm, version 5, big endian" if ARCH_ARM
|
2007-07-28 17:40:53 +02:00
|
|
|
|
|
|
|
config PROC_ULTRA1
|
|
|
|
bool "UtraSparc" if ARCH_SPARC && (DATA_64 || DATA_MULTI)
|
|
|
|
|
|
|
|
config PROC_ULTRA2
|
|
|
|
bool "UtraSparc2" if ARCH_SPARC && (DATA_64 || DATA_MULTI)
|
|
|
|
|
|
|
|
config PROC_ULTRA3
|
|
|
|
bool "UtraSparc3" if ARCH_SPARC && (DATA_64 || DATA_MULTI)
|
2006-08-11 20:02:51 +02:00
|
|
|
endchoice
|
|
|
|
|
2006-12-09 21:12:06 +01:00
|
|
|
choice
|
|
|
|
prompt "MIPS 64 ABI"
|
|
|
|
depends BOOK_CLFS3 && ARCH_MIPS && DATA_64
|
|
|
|
default ABI_64
|
|
|
|
help
|
|
|
|
#-- Choose the target system ABI to use
|
|
|
|
|
|
|
|
config ABI_32
|
|
|
|
bool "o32"
|
|
|
|
|
|
|
|
config ABI_N32
|
|
|
|
bool "n32"
|
|
|
|
|
|
|
|
config ABI_64
|
|
|
|
bool "n64"
|
|
|
|
endchoice
|
|
|
|
|
2006-08-11 20:02:51 +02:00
|
|
|
config TARGET
|
|
|
|
string
|
2006-12-09 17:37:42 +01:00
|
|
|
default "i486-pc-linux-gnu" if !BOOK_CLFS3 && PROC_i486
|
|
|
|
default "i586-pc-linux-gnu" if !BOOK_CLFS3 && PROC_i586
|
|
|
|
default "i686-pc-linux-gnu" if !BOOK_CLFS3 && PROC_i686
|
2006-11-14 21:52:36 +01:00
|
|
|
|
2006-12-09 17:37:42 +01:00
|
|
|
default "i486-pc-linux-uclibc" if BOOK_CLFS3 && PROC_i486
|
|
|
|
default "i586-pc-linux-uclibc" if BOOK_CLFS3 && PROC_i586
|
|
|
|
default "i686-pc-linux-uclibc" if BOOK_CLFS3 && PROC_i686
|
2006-11-11 01:09:42 +01:00
|
|
|
|
2006-12-09 17:37:42 +01:00
|
|
|
default "x86_64-unknown-linux-gnu" if ARCH_X86 && (DATA_64 || DATA_MULTI)
|
2006-11-11 01:09:42 +01:00
|
|
|
|
2006-12-09 17:37:42 +01:00
|
|
|
default "mipsel-unknown-linux-gnu" if !BOOK_CLFS3 && PROC_mipsel && DATA_32
|
|
|
|
default "mips-unknown-linux-gnu" if !BOOK_CLFS3 && PROC_mips && DATA_32
|
|
|
|
default "mips64el-unknown-linux-gnu" if !BOOK_CLFS3 && PROC_mipsel && (DATA_64 || DATA_MULTI)
|
|
|
|
default "mips64-unknown-linux-gnu" if !BOOK_CLFS3 && PROC_mips && (DATA_64 || DATA_MULTI)
|
2006-08-11 20:02:51 +02:00
|
|
|
|
2006-12-09 17:37:42 +01:00
|
|
|
default "mipsel-unknown-linux-uclibc" if BOOK_CLFS3 && PROC_mipsel && DATA_32
|
2007-07-03 23:11:32 +02:00
|
|
|
default "mips-unknown-linux-uclibc" if BOOK_CLFS3 && PROC_mips && DATA_32
|
2006-12-09 17:37:42 +01:00
|
|
|
default "mips64el-unknown-linux-uclibc" if BOOK_CLFS3 && PROC_mipsel && DATA_64
|
|
|
|
default "mips64-unknown-linux-uclibc" if BOOK_CLFS3 && PROC_mips && DATA_64
|
2006-08-11 20:02:51 +02:00
|
|
|
|
2013-09-21 11:30:03 +02:00
|
|
|
default "powerpc-unknown-linux-gnu" if ARCH_PPC && DATA_32
|
2013-11-07 21:01:04 +01:00
|
|
|
default "powerpc64-unknown-linux-gnu" if ARCH_PPC && (DATA_MULTI || DATA_64)
|
2006-08-11 20:02:51 +02:00
|
|
|
|
2006-12-09 17:37:42 +01:00
|
|
|
default "sparc-unknown-linux-gnu" if ARCH_SPARC && DATA_32
|
|
|
|
default "sparc64-unknown-linux-gnu" if ARCH_SPARC && (DATA_64 || DATA_MULTI)
|
2006-12-09 14:17:30 +01:00
|
|
|
|
2007-02-24 13:51:55 +01:00
|
|
|
default "hppa-unknown-linux-gnu" if PROC_unknown && ARCH_HPPA
|
2006-12-09 17:37:42 +01:00
|
|
|
default "hppa1.1-unknown-linux-gnu" if PROC_hppa1
|
|
|
|
default "hppa2.0-unknown-linux-gnu" if PROC_hppa2
|
|
|
|
|
2012-02-10 10:43:23 +01:00
|
|
|
default "arm-unknown-linux-gnueabi" if ARCH_ARM && BOOK_CLFS2
|
2007-03-05 19:37:03 +01:00
|
|
|
|
|
|
|
default "arm-unknown-linux-uclibc" if PROC_ARM
|
|
|
|
default "armv5l-unknown-linux-uclibc" if PROC_ARM5L
|
|
|
|
default "armv5b-unknown-linux-uclibc" if PROC_ARM5B
|
2007-02-24 13:51:55 +01:00
|
|
|
|
|
|
|
default "alpha-unknown-linux-gnu" if PROC_unknown && ARCH_ALPHA
|
|
|
|
default "alphaev5-unknown-linux-gnu" if PROC_EV5
|
|
|
|
default "alphaev56-unknown-linux-gnu" if PROC_EV56
|
|
|
|
default "alphapca56-unknown-linux-gnu" if PROC_PCA56
|
|
|
|
default "alphapca57-unknown-linux-gnu" if PROC_PCA57
|
|
|
|
default "alphaev6-unknown-linux-gnu" if PROC_EV6
|
|
|
|
default "alphaev67-unknown-linux-gnu" if PROC_EV67
|
|
|
|
default "alphaev68-unknown-linux-gnu" if PROC_EV68
|
2006-08-11 20:02:51 +02:00
|
|
|
|
|
|
|
config TARGET32
|
|
|
|
string
|
|
|
|
depends DATA_MULTI
|
|
|
|
default "i686-pc-linux-gnu" if ARCH_X86
|
2006-12-09 17:37:42 +01:00
|
|
|
default "mipsel-unknown-linux-gnu" if PROC_mipsel
|
|
|
|
default "mips-unknown-linux-gnu" if PROC_mips
|
2006-08-11 20:02:51 +02:00
|
|
|
default "sparc-unknown-linux-gnu" if ARCH_SPARC
|
|
|
|
default "powerpc-unknown-linux-gnu" if ARCH_PPC
|
|
|
|
|
2007-02-15 20:15:05 +01:00
|
|
|
config PLATFORM
|
|
|
|
string
|
2007-07-28 17:40:53 +02:00
|
|
|
default "GENERIC" if (!BOOK_CLFS3) || PLATFORM_GENERIC
|
|
|
|
default "WRT - Wireless Router" if PLATFORM_WRT
|
|
|
|
|
|
|
|
config SPARC64_PROC
|
|
|
|
string
|
|
|
|
default "none" if !(ARCH_SPARC && (DATA_64 || DATA_MULTI))
|
|
|
|
default "1" if PROC_ULTRA1
|
|
|
|
default "2" if PROC_ULTRA2
|
|
|
|
default "3" if PROC_ULTRA3
|
2007-02-15 20:15:05 +01:00
|
|
|
|
2006-08-11 20:02:51 +02:00
|
|
|
config ARCH
|
|
|
|
string
|
2006-12-09 17:37:42 +01:00
|
|
|
default "x86" if ARCH_X86 && (DATA_32 || BOOK_CLFS2 || BOOK_CLFS3)
|
|
|
|
default "x86_64" if ARCH_X86 && DATA_MULTI
|
|
|
|
default "x86_64-64" if ARCH_X86 && DATA_64
|
2006-08-11 20:02:51 +02:00
|
|
|
|
2007-02-15 20:15:05 +01:00
|
|
|
default "wrt" if PLATFORM_WRT && BOOK_CLFS3
|
|
|
|
|
2006-12-09 17:37:42 +01:00
|
|
|
default "mips" if ARCH_MIPS && (DATA_32 || BOOK_CLFS3)
|
|
|
|
default "mips64" if ARCH_MIPS && DATA_MULTI
|
|
|
|
default "mips64-64" if ARCH_MIPS && DATA_64 && BOOK_CLFS
|
2006-11-14 21:52:36 +01:00
|
|
|
|
2007-02-15 20:15:05 +01:00
|
|
|
|
2006-12-09 17:37:42 +01:00
|
|
|
default "ppc" if ARCH_PPC && DATA_32
|
|
|
|
default "ppc64" if ARCH_PPC && DATA_MULTI
|
2013-09-21 11:30:03 +02:00
|
|
|
default "ppc64-64" if ARCH_PPC && DATA_64
|
2006-08-11 20:02:51 +02:00
|
|
|
|
2006-12-09 17:37:42 +01:00
|
|
|
default "sparc" if ARCH_SPARC && DATA_32
|
|
|
|
default "sparc64" if ARCH_SPARC && DATA_MULTI
|
|
|
|
default "sparc64-64" if ARCH_SPARC && DATA_64
|
|
|
|
|
|
|
|
default "alpha" if ARCH_ALPHA
|
|
|
|
default "arm" if ARCH_ARM
|
|
|
|
default "hppa" if ARCH_HPPA
|
2007-02-20 19:35:59 +01:00
|
|
|
|
2006-11-14 21:52:36 +01:00
|
|
|
config MIPS_LEVEL
|
|
|
|
string
|
|
|
|
depends BOOK_CLFS3 && ARCH_MIPS
|
|
|
|
default "1" if DATA_32
|
|
|
|
default "3" if DATA_64
|
|
|
|
|
2006-11-28 05:18:33 +01:00
|
|
|
config ABI
|
|
|
|
string
|
|
|
|
depends BOOK_CLFS3
|
2007-07-02 20:00:57 +02:00
|
|
|
default "-m32" if ARCH_X86 || ARCH_ARM
|
2006-12-09 21:12:06 +01:00
|
|
|
# default "-m64" if NO USED YET IN THE BOOK
|
|
|
|
default "-mabi=32" if ABI_32 || (ARCH_MIPS && DATA_32)
|
|
|
|
default "-mabi=n32" if ABI_N32
|
|
|
|
default "-mabi=64" if ABI_64
|
2006-12-09 14:17:30 +01:00
|
|
|
|
2007-07-24 21:22:46 +02:00
|
|
|
config ENDIAN
|
|
|
|
string
|
|
|
|
depends BOOK_CLFS3 && (ARCH_MIPS || ARCH_ARM)
|
|
|
|
default "little" if PROC_mipsel || PROC_ARM || PROC_ARM5L
|
|
|
|
default "big" if PROC_mips || PROC_ARM5B
|
|
|
|
|
2006-08-11 20:02:51 +02:00
|
|
|
choice
|
|
|
|
prompt "Build method"
|
|
|
|
depends BOOK_CLFS
|
|
|
|
help
|
|
|
|
#-- 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.
|
|
|
|
|
|
|
|
config BUILD_CHROOT
|
|
|
|
bool "chroot"
|
|
|
|
|
|
|
|
config BUILD_BOOT
|
|
|
|
bool "boot"
|
|
|
|
endchoice
|
|
|
|
|
|
|
|
config METHOD
|
|
|
|
string
|
|
|
|
default "chroot" if BUILD_CHROOT
|
|
|
|
default "boot" if BUILD_BOOT
|
|
|
|
|
|
|
|
config BOOT_CONFIG
|
|
|
|
string "BOOT kernel config file (mandatory)"
|
|
|
|
default "***EDIT ME***"
|
|
|
|
depends on BUILD_BOOT
|
|
|
|
help
|
|
|
|
#-- 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
|
|
|
|
#--- End CLFS specific params
|
|
|
|
|
|
|
|
#--- HLFS specific params
|
2006-08-16 19:42:54 +02:00
|
|
|
config GRSECURITY_HOST
|
2006-08-11 20:02:51 +02:00
|
|
|
bool "Building on grsecurity enabled host?"
|
|
|
|
default n
|
|
|
|
depends on BOOK_HLFS
|
|
|
|
help
|
|
|
|
#-- If your build system has grsecurity patches applied
|
|
|
|
# you MUST enable this switch.
|
|
|
|
|
|
|
|
choice
|
|
|
|
prompt "Library"
|
|
|
|
depends on BOOK_HLFS
|
|
|
|
help
|
|
|
|
#-- Which library model to use: uClibc/glibc
|
|
|
|
|
|
|
|
config LIB_GLIBC
|
|
|
|
bool "glibc"
|
|
|
|
|
|
|
|
config LIB_UCLIBC
|
|
|
|
bool "uClibc"
|
|
|
|
endchoice
|
|
|
|
|
|
|
|
config MODEL
|
|
|
|
depends on BOOK_HLFS
|
|
|
|
string
|
|
|
|
default "glibc" if LIB_GLIBC
|
|
|
|
default "uclibc" if LIB_UCLIBC
|
2007-06-03 12:27:05 +02:00
|
|
|
|
|
|
|
choice
|
|
|
|
prompt "Kernel series"
|
|
|
|
depends on BOOK_HLFS
|
|
|
|
help
|
|
|
|
#-- Which kernel series to use: 2.6/2.4
|
|
|
|
|
|
|
|
config KERNEL_26
|
|
|
|
bool "2.6 kernel series"
|
|
|
|
|
|
|
|
config KERNEL_24
|
|
|
|
bool "2.4 kernel series"
|
|
|
|
endchoice
|
|
|
|
|
|
|
|
config KERNEL
|
|
|
|
depends on BOOK_HLFS
|
|
|
|
string
|
|
|
|
default "2.6" if KERNEL_26
|
|
|
|
default "2.4" if KERNEL_24
|
2007-06-04 21:36:27 +02:00
|
|
|
|
2006-10-16 20:17:01 +02:00
|
|
|
#--- Custom Tools support
|
|
|
|
config CUSTOM_TOOLS
|
2006-12-15 11:53:10 +01:00
|
|
|
bool "Add custom tools support"
|
2006-10-16 20:17:01 +02:00
|
|
|
default n
|
|
|
|
help
|
|
|
|
#--- Activating this option additional packages you create
|
2006-12-15 11:53:10 +01:00
|
|
|
# will be installed after finished the xLFS system build.
|
2006-10-16 20:17:01 +02:00
|
|
|
#
|
|
|
|
#--- End Custom Tools support
|
|
|
|
|
2006-08-29 20:18:06 +02:00
|
|
|
#--- blfs-tool Support
|
|
|
|
config BLFS_TOOL
|
|
|
|
bool "Add blfs-tool support"
|
|
|
|
default n
|
2013-10-29 16:42:03 +01:00
|
|
|
depends on !BOOK_CLFS3
|
2006-08-29 20:18:06 +02:00
|
|
|
help
|
2007-07-28 19:12:00 +02:00
|
|
|
#--- Activating this option will install additional
|
2007-07-28 21:14:34 +02:00
|
|
|
# packages needed to use blfs-tool when booting
|
2007-07-28 19:12:00 +02:00
|
|
|
# the new system.
|
2006-08-29 20:18:06 +02:00
|
|
|
#
|
|
|
|
# The blfs-tool files will be installed under
|
|
|
|
# $BUILD_DIR/blfs_root.
|
|
|
|
|
2012-02-11 00:38:57 +01:00
|
|
|
# After booting the new xLFS system, but before using
|
|
|
|
# blfs-tool, you should create a user account and
|
|
|
|
# move the /blfs-root directory to the user's home,
|
|
|
|
# making them the directory and files owner.
|
2006-08-29 20:18:06 +02:00
|
|
|
#
|
2012-02-11 00:38:57 +01:00
|
|
|
# Also, be sure to give the user read and write
|
|
|
|
# privileges on the $TRACKING_DIR directory and
|
2006-10-06 20:48:06 +02:00
|
|
|
# the files that it contains.
|
2006-08-29 20:18:06 +02:00
|
|
|
#
|
2012-02-11 00:38:57 +01:00
|
|
|
# Don't forget to configure sudo properly.
|
2006-08-29 20:18:06 +02:00
|
|
|
|
|
|
|
choice
|
|
|
|
prompt "BLFS Release"
|
|
|
|
default BLFS_SVN
|
|
|
|
depends on BLFS_TOOL
|
|
|
|
config BLFS_SVN
|
|
|
|
bool "BLFS SVN"
|
|
|
|
help
|
|
|
|
#-- Current development version as in trunk
|
|
|
|
|
2013-11-16 23:35:25 +01:00
|
|
|
config BLFS_WORKING_COPY
|
|
|
|
bool "BLFS working copy"
|
|
|
|
help
|
|
|
|
#-- A local working copy of the BLFS book.
|
|
|
|
|
2006-08-29 20:18:06 +02:00
|
|
|
config BLFS_BRANCH
|
|
|
|
bool "BLFS Branch or stable book"
|
|
|
|
help
|
2012-02-11 00:38:57 +01:00
|
|
|
#-- A supported SVN branch or stable book release
|
2006-08-29 20:18:06 +02:00
|
|
|
endchoice
|
|
|
|
|
2013-11-16 23:35:25 +01:00
|
|
|
config BLFS_WC_LOCATION
|
|
|
|
string "Location of the local BLFS working copy (mandatory)"
|
|
|
|
default "**EDIT ME**"
|
|
|
|
depends on BLFS_WORKING_COPY
|
|
|
|
help
|
|
|
|
#-- Full path to the BLFS book working copy"
|
|
|
|
|
2006-08-29 20:18:06 +02:00
|
|
|
config BLFS_BRANCH_ID
|
|
|
|
string "BLFS Book Version (mandatory)"
|
|
|
|
default "**EDIT ME**"
|
|
|
|
depends on BLFS_BRANCH
|
|
|
|
help
|
2012-02-11 00:38:57 +01:00
|
|
|
#-- A list of valid branches and stable book IDs is available here.
|
2006-08-29 20:18:06 +02:00
|
|
|
# http://wiki.linuxfromscratch.org/alfs/wiki/SupportedBooks
|
|
|
|
|
|
|
|
menu "blfs-tool dependencies"
|
|
|
|
depends on BLFS_TOOL
|
|
|
|
|
|
|
|
config DEP_LIBXML
|
|
|
|
bool "libxml2 (required)"
|
|
|
|
default y
|
|
|
|
|
|
|
|
config DEP_LIBXSLT
|
|
|
|
bool "libxslt (required)"
|
|
|
|
default y
|
|
|
|
|
2006-10-02 21:32:06 +02:00
|
|
|
config DEP_DBXML
|
|
|
|
bool "DocBook XML DTD (required)"
|
|
|
|
default y
|
|
|
|
|
2007-07-24 23:04:34 +02:00
|
|
|
#config DEP_DBXSL
|
|
|
|
#bool "DocBook XSL (required)"
|
|
|
|
#default y
|
2006-08-29 20:18:06 +02:00
|
|
|
|
2007-08-08 19:24:58 +02:00
|
|
|
config DEP_LYNX
|
2013-10-29 16:42:03 +01:00
|
|
|
bool "lynx (optional, for reading the generated book)"
|
2006-08-29 20:18:06 +02:00
|
|
|
default y
|
|
|
|
|
|
|
|
config DEP_SUDO
|
|
|
|
bool "sudo (recommended)"
|
|
|
|
default y
|
|
|
|
|
|
|
|
config DEP_WGET
|
|
|
|
bool "wget (recommended)"
|
|
|
|
default y
|
|
|
|
|
|
|
|
config DEP_GPM
|
|
|
|
bool "GPM (optional, see help)"
|
2013-10-29 16:42:03 +01:00
|
|
|
default n
|
2006-08-29 20:18:06 +02:00
|
|
|
help
|
2013-10-29 16:42:03 +01:00
|
|
|
#-- if you install gpm, it will be started
|
|
|
|
# automatically on boot. You'll have to edit
|
|
|
|
# /etc/sysconfig/mouse for your system
|
2007-07-28 19:12:00 +02:00
|
|
|
|
|
|
|
config DEP_SVN
|
|
|
|
bool "SVN client (optional, see help)"
|
|
|
|
default n
|
|
|
|
help
|
2013-10-29 16:42:03 +01:00
|
|
|
#-- Subversion is needed for updating the book
|
|
|
|
# sources. If you want ssl support, select
|
|
|
|
# OPENSSL below.
|
|
|
|
|
|
|
|
config DEP_OPENSSL
|
|
|
|
bool "OPENSSL (optional, see help)"
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
#-- selecting OPENSSL here allows to build
|
|
|
|
# subversion with ssl support, avoiding a later
|
|
|
|
# recompilation
|
|
|
|
|
|
|
|
config DEP_PYTHON
|
|
|
|
bool "PYTHON 2 (optional, see help)"
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
#-- selecting PYTHON 2 here allows to build
|
|
|
|
# the libxml2 and libxslt python modules,
|
|
|
|
# avoiding a later recompilation
|
|
|
|
|
2006-08-29 20:18:06 +02:00
|
|
|
endmenu
|
|
|
|
#--- End blfs-tool Support
|
|
|
|
|
2006-08-13 16:38:12 +02:00
|
|
|
#--- BLFS specific params
|
|
|
|
config BLFS_ROOT
|
|
|
|
string "Directory root"
|
2013-11-16 23:35:25 +01:00
|
|
|
default "/blfs_root"
|
2013-10-29 16:42:03 +01:00
|
|
|
depends on BLFS_TOOL
|
2006-08-13 16:38:12 +02:00
|
|
|
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"
|
2013-10-29 16:42:03 +01:00
|
|
|
depends BLFS_TOOL
|
2006-08-13 16:38:12 +02:00
|
|
|
help
|
2012-02-11 00:38:57 +01:00
|
|
|
#-- The directory name under $BLFS_ROOT where the BLFS
|
|
|
|
# book sources will be checkout.
|
2006-08-24 22:38:22 +02:00
|
|
|
|
|
|
|
config TRACKING_DIR
|
|
|
|
string "Installed packages database directory"
|
|
|
|
default "/var/lib/jhalfs/BLFS"
|
2013-10-29 16:42:03 +01:00
|
|
|
depends on BLFS_TOOL || CUSTOM_TOOLS
|
2006-08-24 22:38:22 +02:00
|
|
|
help
|
2012-02-11 00:38:57 +01:00
|
|
|
#-- Full path to the directory where the database of
|
|
|
|
# installed packages will be created.
|
2006-08-24 22:38:22 +02:00
|
|
|
#
|
2006-10-16 20:17:01 +02:00
|
|
|
# If you are installing blfs-tool on a running xLFS system
|
2012-02-11 00:38:57 +01:00
|
|
|
# you MUST create this directory manually.
|
2006-10-16 20:17:01 +02:00
|
|
|
#
|
2012-02-11 00:38:57 +01:00
|
|
|
# If you are installing blfs-tool as part of an xLFS build
|
2006-10-16 20:17:01 +02:00
|
|
|
# and/or using the customized scripts feature, you will
|
2012-02-11 00:38:57 +01:00
|
|
|
# need to fix this directory's permissions after booting
|
2006-10-16 20:17:01 +02:00
|
|
|
# the new system.
|
2006-08-29 20:18:06 +02:00
|
|
|
#
|
2006-08-24 22:38:22 +02:00
|
|
|
# Note that the user that will build the packages must
|
2012-02-11 00:38:57 +01:00
|
|
|
# have read and write privileges on this directory.
|
2006-08-13 16:38:12 +02:00
|
|
|
#--- End BLFS specific params
|
2006-10-16 20:17:01 +02:00
|
|
|
|
2006-08-11 20:02:51 +02:00
|
|
|
#--- End BOOK Settings
|
|
|
|
endmenu
|
|
|
|
|
|
|
|
menu "--- General Settings"
|
|
|
|
|
|
|
|
#--- Set User Account
|
|
|
|
config CONFIG_USER
|
2007-04-13 22:40:38 +02:00
|
|
|
bool "Change the default user/group and homedir for this build"
|
2006-08-11 20:02:51 +02:00
|
|
|
default n
|
|
|
|
help #-- Unprivileged user and group name
|
2012-02-11 00:38:57 +01:00
|
|
|
# If you do not have the privilege to create/delete
|
|
|
|
# users and groups you can specify your own
|
|
|
|
# user ID for the build
|
2006-08-11 20:02:51 +02:00
|
|
|
#
|
|
|
|
# default values for each book
|
2007-04-13 22:40:38 +02:00
|
|
|
# LFS lfs
|
|
|
|
# CLFS* clfs
|
|
|
|
# HLFS hlfs
|
|
|
|
#
|
2012-02-11 00:38:57 +01:00
|
|
|
# Also, if your host places users' home dirs into a
|
2007-04-13 22:40:38 +02:00
|
|
|
# directory other than /home you can specify it here.
|
2006-08-11 20:02:51 +02:00
|
|
|
|
|
|
|
config DEF_USER
|
|
|
|
string
|
2016-05-28 12:00:30 +02:00
|
|
|
default "lfs" if BOOK_LFS || BOOK_LFS_SYSD
|
2006-11-11 01:09:42 +01:00
|
|
|
default "clfs" if BOOK_CLFS || BOOK_CLFS2 || BOOK_CLFS3
|
2006-08-11 20:02:51 +02:00
|
|
|
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
|
|
|
|
|
2007-04-13 22:40:38 +02:00
|
|
|
config CONFIG_HOME
|
|
|
|
bool "Set home dir?"
|
|
|
|
default n
|
|
|
|
depends CONFIG_USER
|
|
|
|
|
|
|
|
config SET_HOME
|
2012-02-11 00:38:57 +01:00
|
|
|
string "Path to the directory under which the user's home directory will be created"
|
2007-04-13 22:40:38 +02:00
|
|
|
depends CONFIG_HOME
|
|
|
|
default "/home"
|
|
|
|
|
2006-08-11 20:02:51 +02:00
|
|
|
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
|
2007-04-13 22:40:38 +02:00
|
|
|
|
|
|
|
config LHOME
|
|
|
|
string
|
|
|
|
default "/home" if !CONFIG_HOME
|
|
|
|
default SET_HOME if CONFIG_HOME
|
2006-08-11 20:02:51 +02:00
|
|
|
#--- End Set User Account
|
|
|
|
|
|
|
|
config BUILDDIR
|
|
|
|
string "Build Directory"
|
|
|
|
default "/mnt/build_dir"
|
|
|
|
help
|
|
|
|
#-- The directory where the created system will be located.
|
2007-09-14 18:56:24 +02:00
|
|
|
# NOTE: A working directory named jhalfs will be created
|
|
|
|
# here, so ensure this does not conflict with the jhalfs
|
|
|
|
# source directory.
|
2006-08-11 20:02:51 +02:00
|
|
|
|
2006-08-16 19:42:54 +02:00
|
|
|
config GETPKG
|
2006-08-11 20:02:51 +02:00
|
|
|
bool "Retrieve source files"
|
|
|
|
default n
|
|
|
|
help
|
2012-02-11 00:38:57 +01:00
|
|
|
#-- Download all packages and patches required by the selected book
|
2006-08-11 20:02:51 +02:00
|
|
|
# NOTE: Looks for files in the local archive defined by SRC_ARCHIVE
|
2012-02-11 00:38:57 +01:00
|
|
|
# first and if necessary retrieves them from the 'net.
|
|
|
|
# Files will be transferred to $BUILDDIR/sources.
|
2006-08-11 20:02:51 +02:00
|
|
|
|
|
|
|
config SRC_ARCHIVE
|
|
|
|
string "Package Archive Directory"
|
|
|
|
default "$SRC_ARCHIVE"
|
2006-08-16 19:42:54 +02:00
|
|
|
depends GETPKG
|
2006-08-11 20:02:51 +02:00
|
|
|
help
|
2012-02-11 00:38:57 +01:00
|
|
|
#-- A local archive for packages/files (not $BUILDDIR/sources)
|
2006-08-11 20:02:51 +02:00
|
|
|
# Any missing file will be downloaded and archived here,
|
2012-02-11 00:38:57 +01:00
|
|
|
# if the user has the right privileges.
|
2006-08-11 20:02:51 +02:00
|
|
|
|
2010-03-12 04:32:25 +01:00
|
|
|
config RETRYSRCDOWNLOAD
|
|
|
|
bool "Retry on 'connection refused' failure"
|
|
|
|
default n
|
|
|
|
depends GETPKG
|
|
|
|
help
|
|
|
|
#-- Attempt to download a source package again if it fails
|
|
|
|
# with a 'connection refused' error. This can happen on
|
|
|
|
# servers that are overloaded.
|
|
|
|
|
|
|
|
config RETRYDOWNLOADCNT
|
|
|
|
int "Number of retry attempts on download failures"
|
|
|
|
default 20
|
|
|
|
depends GETPKG
|
|
|
|
help
|
2012-02-11 00:38:57 +01:00
|
|
|
#-- Number of times to retry a failed download.
|
2010-03-12 04:32:25 +01:00
|
|
|
|
|
|
|
config DOWNLOADTIMEOUT
|
|
|
|
int "Download timeout (in seconds)"
|
|
|
|
default 30
|
|
|
|
depends GETPKG
|
|
|
|
help
|
|
|
|
#-- Number of seconds to wait for a download to start before
|
|
|
|
# timing out.
|
|
|
|
|
2006-08-29 20:16:27 +02:00
|
|
|
config SERVER
|
|
|
|
string "FTP mirror"
|
|
|
|
default "ftp://ftp.lfs-matrix.net"
|
|
|
|
depends GETPKG
|
|
|
|
help
|
|
|
|
#-- FTP mirror to download packages and patches if not found
|
|
|
|
# in $SRC_ARCHIVE
|
2012-02-11 00:38:57 +01:00
|
|
|
# As a last resort, the files will downloaded from upstream,
|
2006-08-29 20:16:27 +02:00
|
|
|
# if possible.
|
|
|
|
|
2006-08-16 19:42:54 +02:00
|
|
|
config RUNMAKE
|
2006-08-11 20:02:51 +02:00
|
|
|
bool "Run the makefile"
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
#-- Automatically run the makefile once it has been created
|
|
|
|
|
2006-08-16 19:42:54 +02:00
|
|
|
config CLEAN
|
2006-08-11 20:02:51 +02:00
|
|
|
bool "Rebuild files"
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
#-- Clean the build directory before performing any other task.
|
|
|
|
# The directory is cleaned only if it was populated by a
|
|
|
|
# previous JHALFS run.
|
|
|
|
#
|
|
|
|
|
|
|
|
#--- End General Settings
|
|
|
|
endmenu
|
|
|
|
|
|
|
|
menu "--- Build Settings"
|
|
|
|
|
|
|
|
#--- Test Suites
|
|
|
|
config CONFIG_TESTS
|
|
|
|
bool "Run testsuites"
|
2006-11-14 20:58:26 +01:00
|
|
|
depends !BOOK_CLFS2 && !BOOK_CLFS3
|
2006-08-16 19:42:54 +02:00
|
|
|
default y
|
2006-08-11 20:02:51 +02:00
|
|
|
help
|
|
|
|
#-- Run test suites
|
|
|
|
#
|
2012-02-02 00:29:37 +01:00
|
|
|
# You will have to select between:
|
2006-08-11 20:02:51 +02:00
|
|
|
#
|
|
|
|
# - Only final system Glibc, GCC and Binutils testsuites
|
|
|
|
# - All final system testsuites
|
|
|
|
# - Both temporary tools and final system testsuites
|
|
|
|
#
|
2012-02-02 00:29:37 +01:00
|
|
|
# HLFS and CLFS have no testsuites available in the
|
2006-08-11 20:02:51 +02:00
|
|
|
# temporary tools phase
|
|
|
|
|
2012-02-02 00:29:37 +01:00
|
|
|
# You will be prompted also about the "flavour" of the
|
2006-08-11 20:02:51 +02:00
|
|
|
# testsuites run:
|
|
|
|
#
|
|
|
|
# - Don't stop on test suite failures
|
|
|
|
# - Abort the build at the first test suite failure
|
|
|
|
#
|
|
|
|
|
|
|
|
choice
|
2006-08-18 20:34:53 +02:00
|
|
|
prompt "Tests level"
|
2006-08-11 20:02:51 +02:00
|
|
|
depends CONFIG_TESTS
|
2012-02-02 00:29:37 +01:00
|
|
|
default TST_1
|
2006-08-11 20:02:51 +02:00
|
|
|
|
2014-02-14 21:39:51 +01:00
|
|
|
config TST_1
|
|
|
|
bool "Only final critical testsuites" if !BOOK_CLFS2 && !BOOK_CLFS3
|
2006-08-11 20:02:51 +02:00
|
|
|
|
|
|
|
config TST_2
|
|
|
|
bool "All final system testsuites"
|
|
|
|
|
|
|
|
config TST_3
|
|
|
|
bool "Both temporary tools and final system testsuites" if !BOOK_HLFS && !BOOK_CLFS
|
|
|
|
endchoice
|
|
|
|
|
|
|
|
config TEST
|
|
|
|
int
|
|
|
|
default "0" if !CONFIG_TESTS
|
|
|
|
default "1" if TST_1
|
|
|
|
default "2" if TST_2
|
|
|
|
default "3" if TST_3
|
|
|
|
|
|
|
|
choice
|
2006-08-18 20:34:53 +02:00
|
|
|
prompt "Flavour"
|
2006-08-11 20:02:51 +02:00
|
|
|
depends CONFIG_TESTS
|
|
|
|
|
|
|
|
config NO_BOMB
|
2012-02-11 00:38:57 +01:00
|
|
|
bool "Don't stop on testsuite failures"
|
2006-08-11 20:02:51 +02:00
|
|
|
|
|
|
|
config BOMB
|
2012-02-11 00:38:57 +01:00
|
|
|
bool "Abort the build on the first testsuite failure"
|
2006-08-11 20:02:51 +02:00
|
|
|
endchoice
|
|
|
|
|
|
|
|
config BOMB_TEST
|
2006-08-16 19:42:54 +02:00
|
|
|
bool
|
2006-08-18 20:34:53 +02:00
|
|
|
default n if NO_BOMB
|
|
|
|
default y if BOMB
|
2006-08-16 19:42:54 +02:00
|
|
|
|
2006-08-11 20:02:51 +02:00
|
|
|
#--- End Test Suites
|
|
|
|
|
2012-02-02 00:29:37 +01:00
|
|
|
#--- Package Management
|
|
|
|
config PKGMNGT
|
|
|
|
bool "Package management"
|
2016-05-28 12:00:30 +02:00
|
|
|
depends BOOK_LFS || BOOK_LFS_SYSD
|
2012-02-02 00:29:37 +01:00
|
|
|
default n
|
|
|
|
help
|
|
|
|
#-- Use package management
|
|
|
|
#
|
|
|
|
# If set, the packages in the final phase are built
|
2012-02-11 00:38:57 +01:00
|
|
|
# in a separate directory, PKG_DEST.
|
2012-02-02 00:29:37 +01:00
|
|
|
# You should provide a bash function for packing
|
|
|
|
# and installing the package.
|
2012-02-11 00:38:57 +01:00
|
|
|
# Also, you have to provide the instructions
|
2012-02-02 00:29:37 +01:00
|
|
|
# to build the package manager during the
|
|
|
|
# temporary tools phase, in the form of a
|
|
|
|
# sect1 of the book identical to a package
|
|
|
|
# sect1. See README.PACKAGE_MANAGEMENT
|
|
|
|
#
|
2012-02-11 00:38:57 +01:00
|
|
|
# For now, this only works with LFS
|
2012-02-02 00:29:37 +01:00
|
|
|
|
|
|
|
#--- End package management
|
|
|
|
|
2007-04-28 17:24:20 +02:00
|
|
|
#--- Installed files logs
|
|
|
|
config INSTALL_LOG
|
2012-02-11 00:38:57 +01:00
|
|
|
bool "Create a log of installed files for each package"
|
2007-04-28 17:24:20 +02:00
|
|
|
default n
|
|
|
|
help
|
|
|
|
#-- Select this if you want to create logs of the files
|
|
|
|
# installed by each package on the final system.
|
|
|
|
|
|
|
|
#--- End Installed files logs
|
|
|
|
|
2006-08-11 20:02:51 +02:00
|
|
|
#--- FSTAB
|
|
|
|
config HAVE_FSTAB
|
|
|
|
bool "Use a custom fstab file"
|
|
|
|
default n
|
|
|
|
help
|
2012-02-11 00:38:57 +01:00
|
|
|
#-- Select this if you have an fstab file with entries
|
|
|
|
# for the target system
|
2006-08-11 20:02:51 +02:00
|
|
|
|
|
|
|
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
|
2012-02-02 00:29:37 +01:00
|
|
|
# renamed kernel-config
|
2006-08-11 20:02:51 +02:00
|
|
|
|
|
|
|
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'
|
|
|
|
#--- End Kernel
|
|
|
|
|
2006-08-16 19:42:54 +02:00
|
|
|
config STRIP
|
2006-08-11 20:02:51 +02:00
|
|
|
bool "Strip Installed Binaries/Libraries"
|
2017-03-05 19:16:34 +01:00
|
|
|
default n
|
2007-02-26 21:35:33 +01:00
|
|
|
depends on !BOOK_CLFS3
|
2006-08-11 20:02:51 +02:00
|
|
|
|
2006-08-16 19:42:54 +02:00
|
|
|
config VIMLANG
|
2006-08-11 20:02:51 +02:00
|
|
|
bool "Install vim-lang package"
|
2010-08-18 21:10:28 +02:00
|
|
|
default n
|
2007-05-30 21:45:59 +02:00
|
|
|
depends on !BOOK_HLFS && !BOOK_CLFS3
|
2006-08-11 20:02:51 +02:00
|
|
|
help
|
2006-08-16 19:42:54 +02:00
|
|
|
#-- Install the optional vim-lang package
|
2012-02-02 00:29:37 +01:00
|
|
|
# NOTE: This option is obsolete with the 7.3 release of Vim
|
|
|
|
# which is included in all recent releases of LFS.
|
2006-08-11 20:02:51 +02:00
|
|
|
|
2008-10-28 00:26:29 +01:00
|
|
|
config NO_PROGRESS_BAR
|
|
|
|
bool "DO NOT use/display progress_bar "
|
|
|
|
default n
|
|
|
|
help
|
2012-02-02 00:29:37 +01:00
|
|
|
#-- Do not use the progress bar routine. On slower machines
|
|
|
|
# this function consumes precious CPU cycles.
|
2008-10-28 00:26:29 +01:00
|
|
|
|
2006-08-11 20:02:51 +02:00
|
|
|
config TIMEZONE
|
|
|
|
string "TimeZone"
|
|
|
|
default "GMT"
|
|
|
|
help
|
|
|
|
#-- The timezone as output by tzselect
|
|
|
|
# This will be copied to /etc/localtime
|
|
|
|
|
|
|
|
config LANG
|
|
|
|
string "Language"
|
|
|
|
default "$LANG"
|
|
|
|
help
|
2012-02-10 10:43:23 +01:00
|
|
|
#-- LANG variable set in /etc/profile
|
|
|
|
# See http://sourceware.org/git/?p=glibc.git;a=blob;f=localedata/SUPPORTED
|
|
|
|
# for values (or the file localedata/SUPPORTED in glibc tarball)
|
|
|
|
|
|
|
|
config FULL_LOCALE
|
|
|
|
bool "Install the full set of locales"
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
#-- If set to y, the full set of supported locales
|
|
|
|
# will be installed. Otherwise, only the minimal set
|
|
|
|
# necessary for the tests will be installed,
|
2012-02-11 00:38:57 +01:00
|
|
|
# together with the locale associated with the
|
2012-02-10 10:43:23 +01:00
|
|
|
# LANG you have chosen, if not in the minimal set.
|
2006-08-11 20:02:51 +02:00
|
|
|
|
|
|
|
#--- Groff page
|
|
|
|
choice
|
|
|
|
prompt "Groff page size"
|
|
|
|
default PAGE_LETTER
|
|
|
|
help
|
|
|
|
#-- Page definition for groff: letter or A4
|
|
|
|
|
|
|
|
config PAGE_LETTER
|
|
|
|
bool "letter"
|
|
|
|
|
|
|
|
config PAGE_A4
|
|
|
|
bool "A4"
|
|
|
|
endchoice
|
|
|
|
|
|
|
|
config PAGE
|
|
|
|
string
|
|
|
|
default "letter" if PAGE_LETTER
|
|
|
|
default "A4" if PAGE_A4
|
|
|
|
#--- End Groff page
|
|
|
|
|
|
|
|
#--- End Build Settings
|
|
|
|
endmenu
|
|
|
|
|
|
|
|
menu "--- Advanced Features"
|
|
|
|
|
2006-08-16 19:42:54 +02:00
|
|
|
config REPORT
|
2006-08-11 20:02:51 +02:00
|
|
|
bool "Create SBU and disk usage report"
|
|
|
|
default y
|
|
|
|
|
|
|
|
#--- ICA/farce
|
2006-08-16 19:42:54 +02:00
|
|
|
config COMPARE
|
2006-08-11 20:02:51 +02:00
|
|
|
bool "Run comparison analysis on final stage"
|
2006-11-14 20:58:26 +01:00
|
|
|
depends !BOOK_CLFS2 && !BOOK_CLFS3
|
2006-08-11 20:02:51 +02:00
|
|
|
default n
|
|
|
|
help
|
2012-02-11 00:38:57 +01:00
|
|
|
#-- Should an iterative comparison analysis be performed?
|
2006-08-11 20:02:51 +02:00
|
|
|
#
|
|
|
|
# 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-16 19:42:54 +02:00
|
|
|
int "Number of test runs (2,3,4,5)" if COMPARE
|
|
|
|
depends on COMPARE
|
2006-08-11 20:02:51 +02:00
|
|
|
range 2 5
|
|
|
|
default 3
|
|
|
|
|
2006-08-16 19:42:54 +02:00
|
|
|
config RUN_ICA
|
2006-08-11 20:02:51 +02:00
|
|
|
bool "ICA testing"
|
2006-08-16 19:42:54 +02:00
|
|
|
depends on COMPARE
|
2006-08-11 20:02:51 +02:00
|
|
|
default y
|
|
|
|
help
|
|
|
|
#-- Run ICA testing
|
|
|
|
|
2006-08-16 19:42:54 +02:00
|
|
|
config RUN_FARCE
|
2006-08-11 20:02:51 +02:00
|
|
|
bool "farce testing"
|
2006-08-16 19:42:54 +02:00
|
|
|
depends on COMPARE
|
2006-08-11 20:02:51 +02:00
|
|
|
default n
|
|
|
|
help
|
|
|
|
#-- Run farce testing
|
|
|
|
#--- End ICA/farce
|
|
|
|
|
2006-08-29 20:16:27 +02:00
|
|
|
#--- Optimizations
|
2006-11-14 20:58:26 +01:00
|
|
|
if !BOOK_CLFS2 && !BOOK_CLFS3
|
2006-08-11 20:02:51 +02:00
|
|
|
config CONFIG_OPTIMIZE
|
2013-11-16 23:35:25 +01:00
|
|
|
bool "Optimization and parallelization"
|
2006-08-11 20:02:51 +02:00
|
|
|
default n
|
|
|
|
help
|
2013-11-16 23:35:25 +01:00
|
|
|
# Opens a menu for various optimization settings:
|
|
|
|
# Actual optimization flags MUST be defined in ./optimize/*
|
|
|
|
# before activating this option.
|
2006-08-11 20:02:51 +02:00
|
|
|
#
|
2013-11-16 23:35:25 +01:00
|
|
|
# WARNING: The use of build optimizations may lead to build issues.
|
|
|
|
# If the system doesn't work as expected, please rebuild
|
|
|
|
# without optimizations before asking for support.
|
|
|
|
menu "Optimization settings"
|
|
|
|
depends on CONFIG_OPTIMIZE
|
|
|
|
|
|
|
|
config N_PARALLEL
|
|
|
|
int "Number of parallel `make' jobs"
|
|
|
|
default 1
|
|
|
|
help
|
|
|
|
#-- The usual recommandation is (number of CPU cores)+1
|
|
|
|
# Do not set for meaningful SBU calculations.
|
2006-08-11 20:02:51 +02:00
|
|
|
|
|
|
|
choice
|
|
|
|
prompt "Optimization level "
|
|
|
|
default OPT_1
|
|
|
|
help
|
|
|
|
#-- Optimization values are set in optimize/* files
|
|
|
|
|
|
|
|
config OPT_1
|
|
|
|
bool "Final system only"
|
|
|
|
|
|
|
|
config OPT_2
|
|
|
|
bool "Both temp tools and final system"
|
2013-09-27 22:43:43 +02:00
|
|
|
|
|
|
|
config OPT_3
|
|
|
|
bool "Cross tools (only MAKEFLAGS), temp tools and final system" if BOOK_CLFS
|
2006-08-11 20:02:51 +02:00
|
|
|
endchoice
|
2013-11-16 23:35:25 +01:00
|
|
|
endmenu
|
2006-08-11 20:02:51 +02:00
|
|
|
config OPTIMIZE
|
|
|
|
int
|
|
|
|
default "0" if !CONFIG_OPTIMIZE
|
|
|
|
default "1" if OPT_1
|
|
|
|
default "2" if OPT_2
|
2013-09-27 22:43:43 +02:00
|
|
|
default "3" if OPT_3
|
2006-10-02 21:32:06 +02:00
|
|
|
endif
|
2006-08-11 20:02:51 +02:00
|
|
|
#--- End Optimizations
|
|
|
|
|
2006-08-29 20:16:27 +02:00
|
|
|
#-- Internal Settings
|
2013-11-16 23:35:25 +01:00
|
|
|
menu "Internal Settings (WARNING: for jhalfs developers only)"
|
2006-08-29 20:16:27 +02:00
|
|
|
|
|
|
|
config SCRIPT_ROOT
|
|
|
|
string "Scripts root"
|
|
|
|
default "jhalfs"
|
|
|
|
|
|
|
|
config JHALFSDIR
|
|
|
|
string "jhalfs directory"
|
|
|
|
default "$BUILDDIR/$SCRIPT_ROOT"
|
|
|
|
|
2007-04-28 17:24:20 +02:00
|
|
|
config LOGDIRBASE
|
|
|
|
string "Build logs directory basename"
|
|
|
|
default "logs"
|
|
|
|
|
2006-08-29 20:16:27 +02:00
|
|
|
config LOGDIR
|
|
|
|
string "Build logs directory"
|
2007-04-28 17:24:20 +02:00
|
|
|
default "$JHALFSDIR/$LOGDIRBASE"
|
|
|
|
|
|
|
|
config TESTLOGDIRBASE
|
|
|
|
string "Test suites logs directory basename"
|
|
|
|
default "test-logs"
|
2006-08-29 20:16:27 +02:00
|
|
|
|
|
|
|
config TESTLOGDIR
|
|
|
|
string "Test suites logs directory"
|
2007-04-28 17:24:20 +02:00
|
|
|
default "$JHALFSDIR/$TESTLOGDIRBASE"
|
|
|
|
|
|
|
|
config FILELOGDIRBASE
|
|
|
|
string "Installed files logs directory basename"
|
|
|
|
default "installed-files"
|
|
|
|
|
|
|
|
config FILELOGDIR
|
|
|
|
string "Installed files logs directory"
|
|
|
|
default "$JHALFSDIR/$FILELOGDIRBASE"
|
2006-08-29 20:16:27 +02:00
|
|
|
|
|
|
|
config ICALOGDIR
|
|
|
|
string "ICA logs directory"
|
|
|
|
default "$LOGDIR/ICA"
|
|
|
|
|
|
|
|
config FARCELOGDIR
|
|
|
|
string "farce logs directory"
|
|
|
|
default "$LOGDIR/farce"
|
|
|
|
|
|
|
|
config MKFILE
|
|
|
|
string "Makefile"
|
|
|
|
default "$JHALFSDIR/Makefile"
|
|
|
|
|
|
|
|
config XSL
|
|
|
|
string "XSL stylesheet"
|
|
|
|
default "$PROGNAME.xsl"
|
|
|
|
|
|
|
|
config PKG_LST
|
|
|
|
string "Package contents list"
|
|
|
|
default "unpacked"
|
|
|
|
|
|
|
|
#--- End Internal Settings
|
|
|
|
endmenu
|
|
|
|
|
2006-08-11 20:02:51 +02:00
|
|
|
#--- End Advanced Features
|
|
|
|
endmenu
|
2006-10-18 21:28:47 +02:00
|
|
|
|
2006-10-19 19:27:18 +02:00
|
|
|
config REBUILD_MAKEFILE
|
2006-10-18 21:28:47 +02:00
|
|
|
bool "Rebuild the Makefile (see help)"
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
#-- Rebuild the Makefile
|
|
|
|
#
|
2012-02-02 00:29:37 +01:00
|
|
|
# This option allows to rebuild the Makefile after
|
2006-10-18 21:28:47 +02:00
|
|
|
# customizing the base system build scripts.
|
|
|
|
#
|
|
|
|
# See README.CUSTOM for more info about this feature.
|
|
|
|
|