From db700330d8951d96ea70102797041730c925eeeb Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Sun, 25 Oct 2015 20:36:03 +0100 Subject: [PATCH] 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 --- archival/ar.c | 16 +++------------- archival/bbunzip.c | 2 +- libbb/Config.src | 8 ++++---- miscutils/Config.src | 16 +++------------- 4 files changed, 11 insertions(+), 31 deletions(-) diff --git a/archival/ar.c b/archival/ar.c index f86c52d9b..e49d5cb2b 100644 --- a/archival/ar.c +++ b/archival/ar.c @@ -22,23 +22,13 @@ //config: default n # needs to be improved to be able to replace binutils ar //config: help //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: a collection of other files in a structure that makes it possible to -//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: extract contents from archives. In practice, it is used exclusively +//config: for object module archives used by compilers. //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: //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 FEATURE_AR_LONG_FILENAMES //config: bool "Support for long filenames (not needed for debs)" diff --git a/archival/bbunzip.c b/archival/bbunzip.c index 90aac1427..548882f53 100644 --- a/archival/bbunzip.c +++ b/archival/bbunzip.c @@ -220,7 +220,7 @@ char* FAST_FUNC make_new_name_generic(char *filename, const char *expected_ext) //config:config UNCOMPRESS //config: bool "uncompress" -//config: default n +//config: default n # ancient //config: help //config: uncompress is used to decompress archives created by compress. //config: Not much used anymore, replaced by gzip/gunzip. diff --git a/libbb/Config.src b/libbb/Config.src index 19021fed1..b02ea14b0 100644 --- a/libbb/Config.src +++ b/libbb/Config.src @@ -16,7 +16,7 @@ config PASSWORD_MINLEN config MD5_SMALL 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 help Trade binary size versus speed for the md5sum algorithm. @@ -30,7 +30,7 @@ config MD5_SMALL config SHA3_SMALL 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 help Trade binary size versus speed for the sha3sum algorithm. @@ -40,7 +40,7 @@ config SHA3_SMALL config FEATURE_FAST_TOP bool "Faster /proc scanning code (+100 bytes)" - default y + default n # all "fast or small" options default to small help This option makes top (and ps) ~20% faster (or 20% less CPU hungry), but code size is slightly bigger. @@ -208,7 +208,7 @@ config FEATURE_SKIP_ROOTFS config MONOTONIC_SYSCALL bool "Use clock_gettime(CLOCK_MONOTONIC) syscall" - default n + default y select PLATFORM_LINUX help Use clock_gettime(CLOCK_MONOTONIC) syscall for measuring diff --git a/miscutils/Config.src b/miscutils/Config.src index d69abf1a2..06f1c52ba 100644 --- a/miscutils/Config.src +++ b/miscutils/Config.src @@ -308,23 +308,13 @@ config LAST help '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 - bool "huge" + bool "Turn on output of extra information" + default y + depends on LAST help 'last' displays detailed information about the last users that logged into the system (mimics sysvinit last). +900 bytes. -endchoice config HDPARM bool "hdparm"