tweak defconfig

MONOTONIC_SYSCALL=y by default

FEATURE_LAST_SMALL is gone: now FEATURE_LAST_FANCY is a "bool", not a "choice".

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko 2015-10-25 20:36:03 +01:00
parent 0269789537
commit db700330d8
4 changed files with 11 additions and 31 deletions

View File

@ -22,23 +22,13 @@
//config: default n # needs to be improved to be able to replace binutils ar //config: default n # needs to be improved to be able to replace binutils ar
//config: help //config: help
//config: ar is an archival utility program used to create, modify, and //config: ar is an archival utility program used to create, modify, and
//config: extract contents from archives. An archive is a single file holding //config: extract contents from archives. In practice, it is used exclusively
//config: a collection of other files in a structure that makes it possible to //config: for object module archives used by compilers.
//config: retrieve the original individual files (called archive members).
//config: The original files' contents, mode (permissions), timestamp, owner,
//config: and group are preserved in the archive, and can be restored on
//config: extraction.
//config: //config:
//config: The stored filename is limited to 15 characters. (for more information
//config: see long filename support).
//config: ar has 60 bytes of overheads for every stored file.
//config:
//config: This implementation of ar can extract archives, it cannot create or
//config: modify them.
//config: On an x86 system, the ar applet adds about 1K. //config: On an x86 system, the ar applet adds about 1K.
//config: //config:
//config: Unless you have a specific application which requires ar, you should //config: Unless you have a specific application which requires ar, you should
//config: probably say N here. //config: probably say N here: most compilers come with their own ar utility.
//config: //config:
//config:config FEATURE_AR_LONG_FILENAMES //config:config FEATURE_AR_LONG_FILENAMES
//config: bool "Support for long filenames (not needed for debs)" //config: bool "Support for long filenames (not needed for debs)"

View File

@ -220,7 +220,7 @@ char* FAST_FUNC make_new_name_generic(char *filename, const char *expected_ext)
//config:config UNCOMPRESS //config:config UNCOMPRESS
//config: bool "uncompress" //config: bool "uncompress"
//config: default n //config: default n # ancient
//config: help //config: help
//config: uncompress is used to decompress archives created by compress. //config: uncompress is used to decompress archives created by compress.
//config: Not much used anymore, replaced by gzip/gunzip. //config: Not much used anymore, replaced by gzip/gunzip.

View File

@ -16,7 +16,7 @@ config PASSWORD_MINLEN
config MD5_SMALL config MD5_SMALL
int "MD5: Trade bytes for speed (0:fast, 3:slow)" int "MD5: Trade bytes for speed (0:fast, 3:slow)"
default 1 default 1 # all "fast or small" options default to small
range 0 3 range 0 3
help help
Trade binary size versus speed for the md5sum algorithm. Trade binary size versus speed for the md5sum algorithm.
@ -30,7 +30,7 @@ config MD5_SMALL
config SHA3_SMALL config SHA3_SMALL
int "SHA3: Trade bytes for speed (0:fast, 1:slow)" int "SHA3: Trade bytes for speed (0:fast, 1:slow)"
default 1 default 1 # all "fast or small" options default to small
range 0 1 range 0 1
help help
Trade binary size versus speed for the sha3sum algorithm. Trade binary size versus speed for the sha3sum algorithm.
@ -40,7 +40,7 @@ config SHA3_SMALL
config FEATURE_FAST_TOP config FEATURE_FAST_TOP
bool "Faster /proc scanning code (+100 bytes)" bool "Faster /proc scanning code (+100 bytes)"
default y default n # all "fast or small" options default to small
help help
This option makes top (and ps) ~20% faster (or 20% less CPU hungry), This option makes top (and ps) ~20% faster (or 20% less CPU hungry),
but code size is slightly bigger. but code size is slightly bigger.
@ -208,7 +208,7 @@ config FEATURE_SKIP_ROOTFS
config MONOTONIC_SYSCALL config MONOTONIC_SYSCALL
bool "Use clock_gettime(CLOCK_MONOTONIC) syscall" bool "Use clock_gettime(CLOCK_MONOTONIC) syscall"
default n default y
select PLATFORM_LINUX select PLATFORM_LINUX
help help
Use clock_gettime(CLOCK_MONOTONIC) syscall for measuring Use clock_gettime(CLOCK_MONOTONIC) syscall for measuring

View File

@ -308,23 +308,13 @@ config LAST
help help
'last' displays a list of the last users that logged into the system. 'last' displays a list of the last users that logged into the system.
choice
prompt "Choose last implementation"
depends on LAST
default FEATURE_LAST_FANCY
config FEATURE_LAST_SMALL
bool "small"
help
This is a small version of last with just the basic set of
features.
config FEATURE_LAST_FANCY config FEATURE_LAST_FANCY
bool "huge" bool "Turn on output of extra information"
default y
depends on LAST
help help
'last' displays detailed information about the last users that 'last' displays detailed information about the last users that
logged into the system (mimics sysvinit last). +900 bytes. logged into the system (mimics sysvinit last). +900 bytes.
endchoice
config HDPARM config HDPARM
bool "hdparm" bool "hdparm"