tweak defconfig
authorDenys Vlasenko <vda.linux@googlemail.com>
Sun, 25 Oct 2015 19:36:03 +0000 (20:36 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Sun, 25 Oct 2015 19:36:03 +0000 (20:36 +0100)
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>
archival/ar.c
archival/bbunzip.c
libbb/Config.src
miscutils/Config.src

index f86c52d9b1a5836066b8cc4bab6c459f12d7ea0a..e49d5cb2bf23be497837ae0a4489732becc71d93 100644 (file)
 //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)"
index 90aac142703a558d5c038714e5092bfd2e1002d5..548882f53588bf647b3b2d2cea55d07ad41f3465 100644 (file)
@@ -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.
index 19021fed13f869d20247c8dfb4df43b60c0c1e7e..b02ea14b041bc338b35ea0c3bf1ca852140fd2e1 100644 (file)
@@ -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
index d69abf1a20c4b7e243ae71edd08bd37a369cb8a2..06f1c52ba0534bda71caffa747b82166236f7ae5 100644 (file)
@@ -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"