Rearranged menuconfig layout.
This commit is contained in:
parent
058fb13eb0
commit
3b0fb28527
1 changed files with 324 additions and 268 deletions
592
Config.in
592
Config.in
|
@ -1,4 +1,6 @@
|
||||||
mainmenu "JHALFS Build Script Configuration"
|
menu "--- BOOK Settings"
|
||||||
|
|
||||||
|
#--- BOOK/script
|
||||||
choice
|
choice
|
||||||
prompt "Use BOOK"
|
prompt "Use BOOK"
|
||||||
default BOOK_LFS
|
default BOOK_LFS
|
||||||
|
@ -7,17 +9,23 @@ mainmenu "JHALFS Build Script Configuration"
|
||||||
|
|
||||||
config BOOK_LFS
|
config BOOK_LFS
|
||||||
bool "Linux From Scratch"
|
bool "Linux From Scratch"
|
||||||
|
|
||||||
config BOOK_CLFS
|
config BOOK_CLFS
|
||||||
bool "Cross-Compiled Linux From Scratch"
|
bool "Cross-Compiled Linux From Scratch"
|
||||||
|
|
||||||
config BOOK_CLFS2
|
config BOOK_CLFS2
|
||||||
bool "Cross-Compiled Linux From Scratch (Version 2)"
|
bool "Cross-Compiled Linux From Scratch (Version 2)"
|
||||||
|
|
||||||
# config BOOK_CLFS3
|
# config BOOK_CLFS3
|
||||||
# bool "Cross-Compiled Linux From Scratch (Embedded Systems)"
|
# bool "Cross-Compiled Linux From Scratch (Embedded Systems)"
|
||||||
|
|
||||||
config BOOK_HLFS
|
config BOOK_HLFS
|
||||||
bool "Hardened Linux From Scratch"
|
bool "Hardened Linux From Scratch"
|
||||||
|
|
||||||
# config BOOK_BLFS
|
# config BOOK_BLFS
|
||||||
# bool "Beyond Linux From Scratch"
|
# bool "Beyond Linux From Scratch"
|
||||||
endchoice
|
endchoice
|
||||||
|
|
||||||
config RUN_ME
|
config RUN_ME
|
||||||
string
|
string
|
||||||
default "./lfs" if BOOK_LFS
|
default "./lfs" if BOOK_LFS
|
||||||
|
@ -26,11 +34,9 @@ mainmenu "JHALFS Build Script Configuration"
|
||||||
# default "./clfs3" if BOOK_CLFS3
|
# default "./clfs3" if BOOK_CLFS3
|
||||||
default "./hlfs" if BOOK_HLFS
|
default "./hlfs" if BOOK_HLFS
|
||||||
# default "./blfs" if BOOK_BLFS
|
# default "./blfs" if BOOK_BLFS
|
||||||
|
#--- End BOOK/script
|
||||||
|
|
||||||
|
#--- Book version
|
||||||
|
|
||||||
#--- Book version
|
|
||||||
#menu "Book Version"
|
|
||||||
choice
|
choice
|
||||||
prompt "Release"
|
prompt "Release"
|
||||||
default relSVN
|
default relSVN
|
||||||
|
@ -38,10 +44,12 @@ mainmenu "JHALFS Build Script Configuration"
|
||||||
bool "SVN"
|
bool "SVN"
|
||||||
help
|
help
|
||||||
#-- Current development version as in trunk
|
#-- Current development version as in trunk
|
||||||
|
|
||||||
config WORKING_COPY
|
config WORKING_COPY
|
||||||
bool "Working Copy"
|
bool "Working Copy"
|
||||||
help
|
help
|
||||||
#-- A local working copy
|
#-- A local working copy
|
||||||
|
|
||||||
config BRANCH
|
config BRANCH
|
||||||
bool "Branch or stable book" if !BOOK_HLFS && !BOOK_CLFS2
|
bool "Branch or stable book" if !BOOK_HLFS && !BOOK_CLFS2
|
||||||
help
|
help
|
||||||
|
@ -61,78 +69,33 @@ mainmenu "JHALFS Build Script Configuration"
|
||||||
default "**EDIT ME**"
|
default "**EDIT ME**"
|
||||||
depends WORKING_COPY
|
depends WORKING_COPY
|
||||||
help
|
help
|
||||||
#--- The full path to a local copy of the book XML sources
|
#-- The full path to a local copy of the book XML sources
|
||||||
#
|
#
|
||||||
#endmenu
|
#--- End BOOK version
|
||||||
#-----------------------
|
|
||||||
|
|
||||||
#--- 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
|
|
||||||
------------------------
|
|
||||||
|
|
||||||
comment "--------CLFS specific params---------"
|
|
||||||
depends on BOOK_CLFS || BOOK_CLFS2
|
|
||||||
|
|
||||||
|
#--- CLFS specific params
|
||||||
choice
|
choice
|
||||||
prompt "Target architecture"
|
prompt "Target architecture"
|
||||||
default ARCH_X86
|
default ARCH_X86
|
||||||
depends BOOK_CLFS || BOOK_CLFS2
|
depends BOOK_CLFS || BOOK_CLFS2
|
||||||
help
|
help
|
||||||
#-- Choose a base architecture
|
#-- Choose a base architecture
|
||||||
|
|
||||||
config ARCH_X86
|
config ARCH_X86
|
||||||
bool "x86"
|
bool "x86"
|
||||||
|
|
||||||
config ARCH_MIPS
|
config ARCH_MIPS
|
||||||
bool "mips" if !BOOK_CLFS2
|
bool "mips" if !BOOK_CLFS2
|
||||||
|
|
||||||
config ARCH_PPC
|
config ARCH_PPC
|
||||||
bool "ppc" if !BOOK_CLFS2
|
bool "ppc" if !BOOK_CLFS2
|
||||||
|
|
||||||
config ARCH_SPARC
|
config ARCH_SPARC
|
||||||
bool "sparc" if !BOOK_CLFS2
|
bool "sparc" if !BOOK_CLFS2
|
||||||
|
|
||||||
config ARCH_ALPHA
|
config ARCH_ALPHA
|
||||||
bool "alpha" if !BOOK_CLFS2
|
bool "alpha" if !BOOK_CLFS2
|
||||||
|
|
||||||
config ARCH_ARM
|
config ARCH_ARM
|
||||||
bool "arm" if !BOOK_CLFS
|
bool "arm" if !BOOK_CLFS
|
||||||
endchoice
|
endchoice
|
||||||
|
@ -142,10 +105,13 @@ depends on BOOK_CLFS || BOOK_CLFS2
|
||||||
depends (BOOK_CLFS || BOOK_CLFS2)
|
depends (BOOK_CLFS || BOOK_CLFS2)
|
||||||
default DATA_32 if !ARCH_ALPHA
|
default DATA_32 if !ARCH_ALPHA
|
||||||
default DATA_64 if ARCH_ALPHA
|
default DATA_64 if ARCH_ALPHA
|
||||||
|
|
||||||
config DATA_32
|
config DATA_32
|
||||||
bool "32-bit" if !ARCH_ALPHA
|
bool "32-bit" if !ARCH_ALPHA
|
||||||
|
|
||||||
config DATA_64
|
config DATA_64
|
||||||
bool "64-bit" if !ARCH_PPC && !ARCH_ARM && !(BOOK_CLFS2 && ARCH_X86)
|
bool "64-bit" if !ARCH_PPC && !ARCH_ARM && !(BOOK_CLFS2 && ARCH_X86)
|
||||||
|
|
||||||
config DATA_MULTI
|
config DATA_MULTI
|
||||||
bool "multilib" if !ARCH_ALPHA && !ARCH_ARM && !(BOOK_CLFS2 && ARCH_X86)
|
bool "multilib" if !ARCH_ALPHA && !ARCH_ARM && !(BOOK_CLFS2 && ARCH_X86)
|
||||||
endchoice
|
endchoice
|
||||||
|
@ -153,19 +119,23 @@ depends on BOOK_CLFS || BOOK_CLFS2
|
||||||
choice
|
choice
|
||||||
prompt "Target"
|
prompt "Target"
|
||||||
depends (BOOK_CLFS || BOOK_CLFS2) && ((ARCH_X86 && DATA_32) || ARCH_MIPS)
|
depends (BOOK_CLFS || BOOK_CLFS2) && ((ARCH_X86 && DATA_32) || ARCH_MIPS)
|
||||||
|
|
||||||
config PROC_i486
|
config PROC_i486
|
||||||
bool "i486" if ARCH_X86 && DATA_32
|
bool "i486" if ARCH_X86 && DATA_32
|
||||||
|
|
||||||
config PROC_i586
|
config PROC_i586
|
||||||
bool "i586" if ARCH_X86 && DATA_32
|
bool "i586" if ARCH_X86 && DATA_32
|
||||||
|
|
||||||
config PROC_i686
|
config PROC_i686
|
||||||
bool "i686" if ARCH_X86 && DATA_32
|
bool "i686" if ARCH_X86 && DATA_32
|
||||||
|
|
||||||
config PROC_mipsel
|
config PROC_mipsel
|
||||||
bool "mips -little endian" if ARCH_MIPS
|
bool "mips -little endian" if ARCH_MIPS
|
||||||
|
|
||||||
config PROC_mips
|
config PROC_mips
|
||||||
bool "mips" if ARCH_MIPS
|
bool "mips" if ARCH_MIPS
|
||||||
endchoice
|
endchoice
|
||||||
|
|
||||||
|
|
||||||
config TARGET
|
config TARGET
|
||||||
string
|
string
|
||||||
depends DATA_32
|
depends DATA_32
|
||||||
|
@ -231,18 +201,20 @@ depends on BOOK_CLFS || BOOK_CLFS2
|
||||||
default "sparc64" if ARCH_SPARC
|
default "sparc64" if ARCH_SPARC
|
||||||
default "ppc64" if ARCH_PPC
|
default "ppc64" if ARCH_PPC
|
||||||
|
|
||||||
|
|
||||||
choice
|
choice
|
||||||
prompt "Build method"
|
prompt "Build method"
|
||||||
depends BOOK_CLFS
|
depends BOOK_CLFS
|
||||||
help
|
help
|
||||||
#--- What build method should be used: a chroot jail or minimal boot system
|
#-- 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.
|
# Review the Cross-LFS book chap6 "TO BOOT OR CHROOT" for a full explanation.
|
||||||
|
|
||||||
config BUILD_CHROOT
|
config BUILD_CHROOT
|
||||||
bool "chroot"
|
bool "chroot"
|
||||||
|
|
||||||
config BUILD_BOOT
|
config BUILD_BOOT
|
||||||
bool "boot"
|
bool "boot"
|
||||||
endchoice
|
endchoice
|
||||||
|
|
||||||
config METHOD
|
config METHOD
|
||||||
string
|
string
|
||||||
default "chroot" if BUILD_CHROOT
|
default "chroot" if BUILD_CHROOT
|
||||||
|
@ -253,164 +225,346 @@ depends on BOOK_CLFS || BOOK_CLFS2
|
||||||
default "***EDIT ME***"
|
default "***EDIT ME***"
|
||||||
depends on BUILD_BOOT
|
depends on BUILD_BOOT
|
||||||
help
|
help
|
||||||
#--- If METHOD=boot, location of boot-kernel config file
|
#-- If METHOD=boot, location of boot-kernel config file
|
||||||
# The config file will be copied to ${BUILD_DIR}/sources
|
# The config file will be copied to ${BUILD_DIR}/sources
|
||||||
# and renamed 'bootkernel-config'
|
# and renamed 'bootkernel-config'
|
||||||
# NOTE: this setting is required
|
#
|
||||||
|
# NOTE: this setting is required
|
||||||
|
|
||||||
config BOOT_KEYMAP
|
config BOOT_KEYMAP
|
||||||
string "BOOT kernel keyboard map (see help)"
|
string "BOOT kernel keyboard map (see help)"
|
||||||
default "none"
|
default "none"
|
||||||
depends on BUILD_BOOT
|
depends on BUILD_BOOT
|
||||||
help
|
help
|
||||||
#--- Include the keymap in the kernel if defined. Path to the
|
#-- Include the keymap in the kernel if defined. Path to the
|
||||||
# keymap file relative to /usr/share/kbd/keymaps/
|
# keymap file relative to /usr/share/kbd/keymaps/
|
||||||
# (e.g., i386/qwerty/us.map.gz) or "none" if you do not want
|
# (e.g., i386/qwerty/us.map.gz) or "none" if you do not want
|
||||||
# a keymap included in the kernel
|
# a keymap included in the kernel
|
||||||
|
|
||||||
=== Note about CLFS ===
|
=== Note about CLFS ===
|
||||||
If building the SVN or 1.0.0rc3 version using the boot method and
|
If building the SVN or 1.0.0rc3 version using the boot method and
|
||||||
compiling the keymap into the kernel, you MUST manually edit the
|
compiling the keymap into the kernel, you MUST manually edit the
|
||||||
"loadkeys" command found in $JHALFSDIR/clfs-commands/boot/066-kernel
|
"loadkeys" command found in $JHALFSDIR/clfs-commands/boot/066-kernel
|
||||||
to set the full path in your host to the keymap file.
|
to set the full path in your host to the keymap file.
|
||||||
|
#--- End CLFS specific params
|
||||||
|
|
||||||
comment "----------------------------------------"
|
#--- HLFS specific params
|
||||||
depends on BOOK_CLFS || BOOK_CLFS2
|
|
||||||
|
|
||||||
|
|
||||||
comment "--------HLFS specific params---------"
|
|
||||||
depends on BOOK_HLFS
|
|
||||||
|
|
||||||
config GRSECURITY_HOST
|
config GRSECURITY_HOST
|
||||||
bool "Building on grsecurity enabled host?"
|
bool "Building on grsecurity enabled host?"
|
||||||
default n
|
default n
|
||||||
depends on BOOK_HLFS
|
depends on BOOK_HLFS
|
||||||
help
|
help
|
||||||
#--- If your build system has grsecurity patches applied
|
#-- If your build system has grsecurity patches applied
|
||||||
# you MUST enable this switch.
|
# you MUST enable this switch.
|
||||||
|
|
||||||
choice
|
choice
|
||||||
prompt "Library"
|
prompt "Library"
|
||||||
depends on BOOK_HLFS
|
depends on BOOK_HLFS
|
||||||
help
|
help
|
||||||
#--- Which library model to use: uClibc/glibc
|
#-- Which library model to use: uClibc/glibc
|
||||||
|
|
||||||
config LIB_GLIBC
|
config LIB_GLIBC
|
||||||
bool "glibc"
|
bool "glibc"
|
||||||
|
|
||||||
config LIB_UCLIBC
|
config LIB_UCLIBC
|
||||||
bool "uClibc"
|
bool "uClibc"
|
||||||
endchoice
|
endchoice
|
||||||
|
|
||||||
config MODEL
|
config MODEL
|
||||||
depends on BOOK_HLFS
|
depends on BOOK_HLFS
|
||||||
string
|
string
|
||||||
default "glibc" if LIB_GLIBC
|
default "glibc" if LIB_GLIBC
|
||||||
default "uclibc" if LIB_UCLIBC
|
default "uclibc" if LIB_UCLIBC
|
||||||
|
#--- End HLFS specific params
|
||||||
|
|
||||||
comment "-------------------------------------"
|
#--- End BOOK Settings
|
||||||
depends on BOOK_HLFS
|
endmenu
|
||||||
|
|
||||||
#-----------------------
|
menu "--- General Settings"
|
||||||
|
|
||||||
|
#--- 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
|
||||||
|
|
||||||
config BUILDDIR
|
config BUILDDIR
|
||||||
string "Build Directory"
|
string "Build Directory"
|
||||||
default "/mnt/build_dir"
|
default "/mnt/build_dir"
|
||||||
help
|
help
|
||||||
#--- The directory where the created system will be located.
|
#-- The directory where the created system will be located.
|
||||||
|
|
||||||
config SRC_ARCHIVE
|
|
||||||
string "Package Archive Directory"
|
|
||||||
default "$SRC_ARCHIVE"
|
|
||||||
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.
|
|
||||||
|
|
||||||
|
|
||||||
config CONFIG_GETPKG
|
config CONFIG_GETPKG
|
||||||
bool "Retrieve source files"
|
bool "Retrieve source files"
|
||||||
default n
|
default n
|
||||||
help
|
help
|
||||||
#--- Download all packages and patches required by the book selected
|
#-- Download all packages and patches required by the book selected
|
||||||
# NOTE: Looks for files in the local archive defined by SRC_ARCHIVE
|
# NOTE: Looks for files in the local archive defined by SRC_ARCHIVE
|
||||||
# first and if necessary retrieve them from the 'net.
|
# first and if necessary retrieve them from the 'net.
|
||||||
# Files will be transfered to $BUILDDIR/sources.
|
# Files will be transfered to $BUILDDIR/sources.
|
||||||
|
|
||||||
|
config SRC_ARCHIVE
|
||||||
|
string "Package Archive Directory"
|
||||||
|
default "$SRC_ARCHIVE"
|
||||||
|
depends CONFIG_GETPKG
|
||||||
|
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.
|
||||||
|
|
||||||
config CONFIG_GETKERNEL
|
config CONFIG_GETKERNEL
|
||||||
bool "Always retrieve kernel package"
|
bool "Always retrieve kernel package"
|
||||||
default n
|
default n
|
||||||
|
depends CONFIG_GETPKG
|
||||||
help
|
help
|
||||||
# Get the kernel package and patches even if no configuration file
|
#-- Get the kernel package and patches even if no configuration
|
||||||
# has been supplied.
|
# file has been supplied.
|
||||||
|
|
||||||
config CONFIG_RUNMAKE
|
config CONFIG_RUNMAKE
|
||||||
bool "Run the makefile"
|
bool "Run the makefile"
|
||||||
default n
|
default n
|
||||||
help
|
help
|
||||||
#--- Automatically run the makefile once it has been created
|
#-- Automatically run the makefile once it has been created
|
||||||
|
|
||||||
config CONFIG_REBUILD
|
config CONFIG_REBUILD
|
||||||
bool "Rebuild files"
|
bool "Rebuild files"
|
||||||
default n
|
default n
|
||||||
help
|
help
|
||||||
Clean the build directory before performing any other task. The directory
|
#-- Clean the build directory before performing any other task.
|
||||||
is cleaned only if it was populated by a previous JHALFS run.
|
# The directory is cleaned only if it was populated by a
|
||||||
NOTE::You must be 'root' for this function to work
|
# previous JHALFS run.
|
||||||
|
#
|
||||||
|
# NOTE::You must be 'root' for this function to work
|
||||||
|
|
||||||
|
#--- End General Settings
|
||||||
|
endmenu
|
||||||
|
|
||||||
|
menu "--- Build Settings"
|
||||||
|
|
||||||
|
#--- Test Suites
|
||||||
|
config CONFIG_TESTS
|
||||||
|
bool "Run testsuites"
|
||||||
|
depends !BOOK_CLFS2
|
||||||
|
default n
|
||||||
|
help
|
||||||
|
#-- Run test suites
|
||||||
|
#
|
||||||
|
# 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
|
||||||
|
# temporary tools phase
|
||||||
|
|
||||||
|
# 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
|
||||||
|
#
|
||||||
|
|
||||||
|
choice
|
||||||
|
prompt "Tests ->"
|
||||||
|
depends CONFIG_TESTS
|
||||||
|
default TEST_1
|
||||||
|
|
||||||
|
config TST_1
|
||||||
|
bool "Only final system Glibc, GCC and Binutils testsuites"
|
||||||
|
|
||||||
|
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
|
||||||
|
prompt "Flavour ->"
|
||||||
|
depends CONFIG_TESTS
|
||||||
|
default NO_BOMB
|
||||||
|
|
||||||
|
config NO_BOMB
|
||||||
|
bool "Don't stop on test suite failures"
|
||||||
|
|
||||||
|
config BOMB
|
||||||
|
bool "Abort the build at the first test suite failure"
|
||||||
|
endchoice
|
||||||
|
|
||||||
|
config BOMB_TEST
|
||||||
|
int
|
||||||
|
default "0" if NO_BOMB
|
||||||
|
default "1" if BOMB
|
||||||
|
#--- End Test Suites
|
||||||
|
|
||||||
|
#--- 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
|
||||||
|
|
||||||
config CONFIG_STRIP
|
config CONFIG_STRIP
|
||||||
bool "Strip Installed Binaries/Libraries"
|
bool "Strip Installed Binaries/Libraries"
|
||||||
default y
|
default y
|
||||||
|
|
||||||
|
|
||||||
config CONFIG_VIMLANG
|
config CONFIG_VIMLANG
|
||||||
bool "Install vim-lang package"
|
bool "Install vim-lang package"
|
||||||
default y
|
default y
|
||||||
help
|
help
|
||||||
#--- install the optional vim-lang package
|
#-- install the optional vim-lang package
|
||||||
|
|
||||||
|
config TIMEZONE
|
||||||
#------------------
|
string "TimeZone"
|
||||||
config CONFIG_OPTIMIZE
|
default "GMT"
|
||||||
bool "Use optimization "
|
|
||||||
default n
|
|
||||||
help
|
help
|
||||||
# Actual optimzation flags MUST be defined in ./optimize/*
|
#-- The timezone as output by tzselect
|
||||||
# files before activate this option.
|
# This will be copied to /etc/localtime
|
||||||
#
|
|
||||||
# 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.
|
|
||||||
|
|
||||||
|
config LANG
|
||||||
|
string "Language"
|
||||||
|
default "$LANG"
|
||||||
|
help
|
||||||
|
#-- Language information in /etc/profile See <locale -a> for values
|
||||||
|
|
||||||
|
config LC_ALL
|
||||||
|
string "Language"
|
||||||
|
default "$LC_ALL"
|
||||||
|
depends on !BOOK_LFS
|
||||||
|
help
|
||||||
|
#-- Language information in /etc/profile See <locale -a> for values
|
||||||
|
|
||||||
|
#--- Groff page
|
||||||
choice
|
choice
|
||||||
prompt "Optimization level "
|
prompt "Groff page size"
|
||||||
default OPT_1
|
default PAGE_LETTER
|
||||||
depends CONFIG_OPTIMIZE
|
|
||||||
help
|
help
|
||||||
***Optimization values are set in optimize/* files
|
#-- Page definition for groff: letter or A4
|
||||||
|
|
||||||
config OPT_1
|
config PAGE_LETTER
|
||||||
bool "Final system only"
|
bool "letter"
|
||||||
config OPT_2
|
|
||||||
bool "Both temp tools and final system"
|
config PAGE_A4
|
||||||
|
bool "A4"
|
||||||
endchoice
|
endchoice
|
||||||
config OPTIMIZE
|
|
||||||
int
|
|
||||||
default "0" if !CONFIG_OPTIMIZE
|
|
||||||
default "1" if OPT_1
|
|
||||||
default "2" if OPT_2
|
|
||||||
|
|
||||||
#------------------
|
config PAGE
|
||||||
|
string
|
||||||
|
default "letter" if PAGE_LETTER
|
||||||
|
default "A4" if PAGE_A4
|
||||||
|
#--- End Groff page
|
||||||
|
|
||||||
|
#--- End Build Settings
|
||||||
|
endmenu
|
||||||
|
|
||||||
|
menu "--- Advanced Features"
|
||||||
|
|
||||||
|
config CONFIG_REPORT
|
||||||
|
bool "Create SBU and disk usage report"
|
||||||
|
default y
|
||||||
|
|
||||||
|
#--- ICA/farce
|
||||||
config CONFIG_COMPARE
|
config CONFIG_COMPARE
|
||||||
bool "Run comparison analysis on final stage"
|
bool "Run comparison analysis on final stage"
|
||||||
depends !BOOK_CLFS2
|
depends !BOOK_CLFS2
|
||||||
default n
|
default n
|
||||||
help
|
help
|
||||||
#--- Should some iterative comparison analysis by made?
|
#-- 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
|
# 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
|
# build to the next. Builds mays differ from one iteration
|
||||||
# to another due to the build order and these tools try
|
# to another due to the build order and these tools try
|
||||||
# to ferret out those differences by examining the stored
|
# to ferret out those differences by examining the stored
|
||||||
|
@ -430,152 +584,54 @@ depends on BOOK_HLFS
|
||||||
depends on CONFIG_COMPARE
|
depends on CONFIG_COMPARE
|
||||||
default y
|
default y
|
||||||
help
|
help
|
||||||
#--- Run ICA testing
|
#-- Run ICA testing
|
||||||
|
|
||||||
config CONFIG_FARCE
|
config CONFIG_FARCE
|
||||||
bool "farce testing"
|
bool "farce testing"
|
||||||
depends on CONFIG_COMPARE
|
depends on CONFIG_COMPARE
|
||||||
default n
|
default n
|
||||||
help
|
help
|
||||||
#--- Run farce testing
|
#-- Run farce testing
|
||||||
#------------------
|
#--- End ICA/farce
|
||||||
|
|
||||||
config CONFIG_TESTS
|
#-- Optimizations
|
||||||
bool "Run testsuites"
|
config CONFIG_OPTIMIZE
|
||||||
depends !BOOK_CLFS2
|
bool "Use optimization "
|
||||||
default n
|
default n
|
||||||
help
|
help
|
||||||
#--- Run test suites
|
#-- Actual optimzation flags MUST be defined in ./optimize/*
|
||||||
|
# files before activate this option.
|
||||||
#
|
#
|
||||||
# You will can to select between:
|
# WARNING: The use of build optimizations may be dangerous.
|
||||||
#
|
# You should know what you are doing and be sure that the
|
||||||
# - Only final system Glibc, GCC and Binutils testsuites
|
# optimization settings listed below are what you want.
|
||||||
# - All final system testsuites
|
# It there are build issues or the system doesn't work as
|
||||||
# - Both temporary tools and final system testsuites
|
# expected, please rebuild without optimizations before
|
||||||
#
|
# asking for support.
|
||||||
# HLFS and CLFS has no testsuites available in the
|
|
||||||
# temporary tools phase
|
|
||||||
|
|
||||||
# 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
|
|
||||||
#
|
|
||||||
|
|
||||||
choice
|
|
||||||
prompt "Tests ->"
|
|
||||||
depends CONFIG_TESTS
|
|
||||||
default TEST_1
|
|
||||||
|
|
||||||
config TST_1
|
|
||||||
bool "Only final system Glibc, GCC and Binutils testsuites"
|
|
||||||
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
|
|
||||||
prompt "Flavour ->"
|
|
||||||
depends CONFIG_TESTS
|
|
||||||
default NO_BOMB
|
|
||||||
|
|
||||||
config NO_BOMB
|
|
||||||
bool "Don't stop on test suite failures"
|
|
||||||
config BOMB
|
|
||||||
bool "Abort the build at the first test suite failure"
|
|
||||||
endchoice
|
|
||||||
config BOMB_TEST
|
|
||||||
int
|
|
||||||
default "0" if NO_BOMB
|
|
||||||
default "1" if BOMB
|
|
||||||
|
|
||||||
config CONFIG_REPORT
|
|
||||||
bool "Create SBU and disk usage report"
|
|
||||||
default y
|
|
||||||
|
|
||||||
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
|
|
||||||
#--- Language information in /etc/profile See <locale -a> for values
|
|
||||||
|
|
||||||
config LC_ALL
|
|
||||||
string "Language"
|
|
||||||
default "$LC_ALL"
|
|
||||||
depends on !BOOK_LFS
|
|
||||||
help
|
|
||||||
#--- Language information in /etc/profile See <locale -a> for values
|
|
||||||
|
|
||||||
choice
|
choice
|
||||||
prompt "Groff page size"
|
prompt "Optimization level "
|
||||||
default PAGE_LETTER
|
default OPT_1
|
||||||
|
depends CONFIG_OPTIMIZE
|
||||||
help
|
help
|
||||||
#--- Page definition for groff: letter or A4
|
#-- Optimization values are set in optimize/* files
|
||||||
|
|
||||||
config PAGE_LETTER
|
config OPT_1
|
||||||
bool "letter"
|
bool "Final system only"
|
||||||
config PAGE_A4
|
|
||||||
bool "A4"
|
config OPT_2
|
||||||
|
bool "Both temp tools and final system"
|
||||||
endchoice
|
endchoice
|
||||||
config PAGE
|
|
||||||
string
|
|
||||||
default "letter" if PAGE_LETTER
|
|
||||||
default "A4" if PAGE_A4
|
|
||||||
|
|
||||||
config HAVE_FSTAB
|
config OPTIMIZE
|
||||||
bool "Use a cunstom fstab file"
|
int
|
||||||
default n
|
default "0" if !CONFIG_OPTIMIZE
|
||||||
help
|
default "1" if OPT_1
|
||||||
#--- The location of fstab file (if empty, a template is created)
|
default "2" if OPT_2
|
||||||
config FSTAB
|
#--- End Optimizations
|
||||||
string "Fstab file (optional)"
|
|
||||||
default "***EDIT ME***"
|
|
||||||
depends on HAVE_FSTAB
|
|
||||||
help
|
|
||||||
#--- The location of fstab file (if empty, a template is created)
|
|
||||||
|
|
||||||
config CONFIG_BUILD_KERNEL
|
#--- End Advanced Features
|
||||||
bool "Build the kernel"
|
endmenu
|
||||||
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
|
|
||||||
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
|
|
||||||
|
|
||||||
# config CONFIG_BLFS_CMDS
|
# config CONFIG_BLFS_CMDS
|
||||||
# bool "Add BLFS packages to current build"
|
# bool "Add BLFS packages to current build"
|
||||||
|
|
Reference in a new issue