lantiq: Tune the XWAY subtarget cflags
[openwrt/staging/yousong.git] / package / busybox / config / coreutils / Config.in
index 0775b4cbc78c187ef24dbc59eb7ac52d11f2ab3a..33a5e25e6253f7f24a434fa832d80718f120ba47 100644 (file)
@@ -1,3 +1,4 @@
+# DO NOT EDIT. This file is generated from Config.src
 #
 # For a description of the syntax of this configuration file,
 # see scripts/kbuild/config-language.txt.
 #
 # For a description of the syntax of this configuration file,
 # see scripts/kbuild/config-language.txt.
@@ -12,19 +13,129 @@ config BUSYBOX_CONFIG_BASENAME
          basename is used to strip the directory and suffix from filenames,
          leaving just the filename itself. Enable this option if you wish
          to enable the 'basename' utility.
          basename is used to strip the directory and suffix from filenames,
          leaving just the filename itself. Enable this option if you wish
          to enable the 'basename' utility.
-
-config BUSYBOX_CONFIG_CAL
-       bool "cal"
-       default n
-       help
-         cal is used to display a monthly calender.
-
 config BUSYBOX_CONFIG_CAT
        bool "cat"
        default y
        help
          cat is used to concatenate files and print them to the standard
          output. Enable this option if you wish to enable the 'cat' utility.
 config BUSYBOX_CONFIG_CAT
        bool "cat"
        default y
        help
          cat is used to concatenate files and print them to the standard
          output. Enable this option if you wish to enable the 'cat' utility.
+config BUSYBOX_CONFIG_DATE
+       bool "date"
+       default y
+       help
+         date is used to set the system date or display the
+         current time in the given format.
+
+config BUSYBOX_CONFIG_FEATURE_DATE_ISOFMT
+       bool "Enable ISO date format output (-I)"
+       default y
+       depends on BUSYBOX_CONFIG_DATE
+       help
+         Enable option (-I) to output an ISO-8601 compliant
+         date/time string.
+
+# defaults to "no": stat's nanosecond field is a bit non-portable
+config BUSYBOX_CONFIG_FEATURE_DATE_NANO
+       bool "Support %[num]N nanosecond format specifier"
+       default n
+       depends on BUSYBOX_CONFIG_DATE  # syscall(__NR_clock_gettime)
+       select BUSYBOX_CONFIG_PLATFORM_LINUX
+       help
+         Support %[num]N format specifier. Adds ~250 bytes of code.
+
+config BUSYBOX_CONFIG_FEATURE_DATE_COMPAT
+       bool "Support weird 'date MMDDhhmm[[YY]YY][.ss]' format"
+       default n
+       depends on BUSYBOX_CONFIG_DATE
+       help
+         System time can be set by 'date -s DATE' and simply 'date DATE',
+         but formats of DATE string are different. 'date DATE' accepts
+         a rather weird MMDDhhmm[[YY]YY][.ss] format with completely
+         unnatural placement of year between minutes and seconds.
+         date -s (and other commands like touch -d) use more sensible
+         formats (for one, ISO format YYYY-MM-DD hh:mm:ss.ssssss).
+
+         With this option off, 'date DATE' is 'date -s DATE' support
+         the same format. With it on, 'date DATE' additionally supports
+         MMDDhhmm[[YY]YY][.ss] format.
+config BUSYBOX_CONFIG_ID
+       bool "id"
+       default y
+       help
+         id displays the current user and group ID names.
+config BUSYBOX_CONFIG_GROUPS
+       bool "groups"
+       default n
+       help
+         Print the group names associated with current user id.
+config BUSYBOX_CONFIG_TEST
+       bool "test"
+       default y
+       help
+         test is used to check file types and compare values,
+         returning an appropriate exit code. The bash shell
+         has test built in, ash can build it in optionally.
+
+config BUSYBOX_CONFIG_FEATURE_TEST_64
+       bool "Extend test to 64 bit"
+       default y
+       depends on BUSYBOX_CONFIG_TEST || BUSYBOX_CONFIG_ASH_BUILTIN_TEST || BUSYBOX_CONFIG_HUSH
+       help
+         Enable 64-bit support in test.
+config BUSYBOX_CONFIG_TOUCH
+       bool "touch"
+       default y
+       help
+         touch is used to create or change the access and/or
+         modification timestamp of specified files.
+config BUSYBOX_CONFIG_TR
+       bool "tr"
+       default y
+       help
+         tr is used to squeeze, and/or delete characters from standard
+         input, writing to standard output.
+
+config BUSYBOX_CONFIG_FEATURE_TR_CLASSES
+       bool "Enable character classes (such as [:upper:])"
+       default n
+       depends on BUSYBOX_CONFIG_TR
+       help
+         Enable character classes, enabling commands such as:
+         tr [:upper:] [:lower:] to convert input into lowercase.
+
+config BUSYBOX_CONFIG_FEATURE_TR_EQUIV
+       bool "Enable equivalence classes"
+       default n
+       depends on BUSYBOX_CONFIG_TR
+       help
+         Enable equivalence classes, which essentially add the enclosed
+         character to the current set. For instance, tr [=a=] xyz would
+         replace all instances of 'a' with 'xyz'. This option is mainly
+         useful for cases when no other way of expressing a character
+         is possible.
+config BUSYBOX_CONFIG_BASE64
+       bool "base64"
+       default n
+       help
+         Base64 encode and decode
+config BUSYBOX_CONFIG_WHO
+      bool "who"
+      default n
+      depends on BUSYBOX_CONFIG_FEATURE_UTMP
+      help
+        who is used to show who is logged on.
+config BUSYBOX_CONFIG_USERS
+      bool "users"
+      default n
+      depends on BUSYBOX_CONFIG_FEATURE_UTMP
+      help
+        Print users currently logged on.
+
+config BUSYBOX_CONFIG_CAL
+       bool "cal"
+       default n
+       help
+         cal is used to display a monthly calender.
 
 config BUSYBOX_CONFIG_CATV
        bool "catv"
 
 config BUSYBOX_CONFIG_CATV
        bool "catv"
@@ -52,6 +163,13 @@ config BUSYBOX_CONFIG_CHOWN
          chown is used to change the user and/or group ownership
          of files.
 
          chown is used to change the user and/or group ownership
          of files.
 
+config BUSYBOX_CONFIG_FEATURE_CHOWN_LONG_OPTIONS
+       bool "Enable long options"
+       default n
+       depends on BUSYBOX_CONFIG_CHOWN && BUSYBOX_CONFIG_LONG_OPTS
+       help
+         Enable use of long options
+
 config BUSYBOX_CONFIG_CHROOT
        bool "chroot"
        default y
 config BUSYBOX_CONFIG_CHROOT
        bool "chroot"
        default y
@@ -78,6 +196,14 @@ config BUSYBOX_CONFIG_CP
        help
          cp is used to copy files and directories.
 
        help
          cp is used to copy files and directories.
 
+config BUSYBOX_CONFIG_FEATURE_CP_LONG_OPTIONS
+       bool "Enable long options for cp"
+       default n
+       depends on BUSYBOX_CONFIG_CP && BUSYBOX_CONFIG_LONG_OPTS
+       help
+         Enable long options for cp.
+         Also add support for --parents option.
+
 config BUSYBOX_CONFIG_CUT
        bool "cut"
        default y
 config BUSYBOX_CONFIG_CUT
        bool "cut"
        default y
@@ -85,21 +211,6 @@ config BUSYBOX_CONFIG_CUT
          cut is used to print selected parts of lines from
          each file to stdout.
 
          cut is used to print selected parts of lines from
          each file to stdout.
 
-config BUSYBOX_CONFIG_DATE
-       bool "date"
-       default y
-       help
-         date is used to set the system date or display the
-         current time in the given format.
-
-config BUSYBOX_CONFIG_FEATURE_DATE_ISOFMT
-       bool "Enable ISO date format output (-I)"
-       default y
-       depends on BUSYBOX_CONFIG_DATE
-       help
-         Enable option (-I) to output an ISO-8601 compliant
-         date/time string.
-
 config BUSYBOX_CONFIG_DD
        bool "dd"
        default y
 config BUSYBOX_CONFIG_DD
        bool "dd"
        default y
@@ -113,17 +224,26 @@ config BUSYBOX_CONFIG_FEATURE_DD_SIGNAL_HANDLING
        default y
        depends on BUSYBOX_CONFIG_DD
        help
        default y
        depends on BUSYBOX_CONFIG_DD
        help
-         sending a SIGUSR1 signal to a running `dd' process makes it
+         Sending a SIGUSR1 signal to a running `dd' process makes it
          print to standard error the number of records read and written
          so far, then to resume copying.
 
          $ dd if=/dev/zero of=/dev/null&
          $ pid=$! kill -USR1 $pid; sleep 1; kill $pid
          print to standard error the number of records read and written
          so far, then to resume copying.
 
          $ dd if=/dev/zero of=/dev/null&
          $ pid=$! kill -USR1 $pid; sleep 1; kill $pid
-         10899206+0 records in 10899206+0 records out
+         10899206+0 records in
+         10899206+0 records out
+
+config BUSYBOX_CONFIG_FEATURE_DD_THIRD_STATUS_LINE
+       bool "Enable the third status line upon signal"
+       default n
+       depends on BUSYBOX_CONFIG_DD && BUSYBOX_CONFIG_FEATURE_DD_SIGNAL_HANDLING
+       help
+         Displays a coreutils-like third status line with transferred bytes,
+         elapsed time and speed.
 
 config BUSYBOX_CONFIG_FEATURE_DD_IBS_OBS
        bool "Enable ibs, obs and conv options"
 
 config BUSYBOX_CONFIG_FEATURE_DD_IBS_OBS
        bool "Enable ibs, obs and conv options"
-       default n
+       default y
        depends on BUSYBOX_CONFIG_DD
        help
          Enables support for writing a certain number of bytes in and out,
        depends on BUSYBOX_CONFIG_DD
        help
          Enables support for writing a certain number of bytes in and out,
@@ -143,6 +263,10 @@ config BUSYBOX_CONFIG_FEATURE_DF_FANCY
        help
          This option enables -a, -i and -B.
 
        help
          This option enables -a, -i and -B.
 
+           -a Show all filesystems
+           -i Inodes
+           -B <SIZE> Blocksize
+
 config BUSYBOX_CONFIG_DIRNAME
        bool "dirname"
        default y
 config BUSYBOX_CONFIG_DIRNAME
        bool "dirname"
        default y
@@ -189,7 +313,7 @@ config BUSYBOX_CONFIG_ECHO
 config BUSYBOX_CONFIG_FEATURE_FANCY_ECHO
        bool "Enable echo options (-n and -e)"
        default y
 config BUSYBOX_CONFIG_FEATURE_FANCY_ECHO
        bool "Enable echo options (-n and -e)"
        default y
-       depends on BUSYBOX_CONFIG_ECHO || BUSYBOX_CONFIG_ASH_BUILTIN_ECHO
+       depends on BUSYBOX_CONFIG_ECHO || BUSYBOX_CONFIG_ASH_BUILTIN_ECHO || BUSYBOX_CONFIG_HUSH
        help
          This adds options (-n and -e) to echo.
 
        help
          This adds options (-n and -e) to echo.
 
@@ -204,7 +328,7 @@ config BUSYBOX_CONFIG_ENV
 config BUSYBOX_CONFIG_FEATURE_ENV_LONG_OPTIONS
        bool "Enable long options"
        default n
 config BUSYBOX_CONFIG_FEATURE_ENV_LONG_OPTIONS
        bool "Enable long options"
        default n
-       depends on BUSYBOX_CONFIG_ENV && BUSYBOX_CONFIG_GETOPT_LONG
+       depends on BUSYBOX_CONFIG_ENV && BUSYBOX_CONFIG_LONG_OPTS
        help
          Support long options for the env applet.
 
        help
          Support long options for the env applet.
 
@@ -217,7 +341,7 @@ config BUSYBOX_CONFIG_EXPAND
 config BUSYBOX_CONFIG_FEATURE_EXPAND_LONG_OPTIONS
        bool "Enable long options"
        default n
 config BUSYBOX_CONFIG_FEATURE_EXPAND_LONG_OPTIONS
        bool "Enable long options"
        default n
-       depends on BUSYBOX_CONFIG_EXPAND && BUSYBOX_CONFIG_GETOPT_LONG
+       depends on BUSYBOX_CONFIG_EXPAND && BUSYBOX_CONFIG_LONG_OPTS
        help
          Support long options for the expand applet.
 
        help
          Support long options for the expand applet.
 
@@ -230,7 +354,7 @@ config BUSYBOX_CONFIG_EXPR
 
 config BUSYBOX_CONFIG_EXPR_MATH_SUPPORT_64
        bool "Extend Posix numbers support to 64 bit"
 
 config BUSYBOX_CONFIG_EXPR_MATH_SUPPORT_64
        bool "Extend Posix numbers support to 64 bit"
-       default n
+       default y
        depends on BUSYBOX_CONFIG_EXPR
        help
          Enable 64-bit math support in the expr applet. This will make
        depends on BUSYBOX_CONFIG_EXPR
        help
          Enable 64-bit math support in the expr applet. This will make
@@ -249,6 +373,12 @@ config BUSYBOX_CONFIG_FOLD
        help
          Wrap text to fit a specific width.
 
        help
          Wrap text to fit a specific width.
 
+config BUSYBOX_CONFIG_FSYNC
+       bool "fsync"
+       default y
+       help
+         fsync is used to flush file-related cached blocks to disk.
+
 config BUSYBOX_CONFIG_HEAD
        bool "head"
        default y
 config BUSYBOX_CONFIG_HEAD
        bool "head"
        default y
@@ -270,12 +400,6 @@ config BUSYBOX_CONFIG_HOSTID
          hostid prints the numeric identifier (in hexadecimal) for
          the current host.
 
          hostid prints the numeric identifier (in hexadecimal) for
          the current host.
 
-config BUSYBOX_CONFIG_ID
-       bool "id"
-       default y
-       help
-         id displays the current user and group ID names.
-
 config BUSYBOX_CONFIG_INSTALL
        bool "install"
        default n
 config BUSYBOX_CONFIG_INSTALL
        bool "install"
        default n
@@ -285,15 +409,15 @@ config BUSYBOX_CONFIG_INSTALL
 config BUSYBOX_CONFIG_FEATURE_INSTALL_LONG_OPTIONS
        bool "Enable long options"
        default n
 config BUSYBOX_CONFIG_FEATURE_INSTALL_LONG_OPTIONS
        bool "Enable long options"
        default n
-       depends on BUSYBOX_CONFIG_INSTALL && BUSYBOX_CONFIG_GETOPT_LONG
+       depends on BUSYBOX_CONFIG_INSTALL && BUSYBOX_CONFIG_LONG_OPTS
        help
          Support long options for the install applet.
 
        help
          Support long options for the install applet.
 
-config BUSYBOX_CONFIG_LENGTH
-       bool "length"
-       default y
-       help
-         length is used to print out the length of a specified string.
+####config LENGTH
+####   bool "length"
+####   default y
+####   help
+####     length is used to print out the length of a specified string.
 
 config BUSYBOX_CONFIG_LN
        bool "ln"
 
 config BUSYBOX_CONFIG_LN
        bool "ln"
@@ -358,7 +482,7 @@ config BUSYBOX_CONFIG_FEATURE_LS_USERNAME
 config BUSYBOX_CONFIG_FEATURE_LS_COLOR
        bool "Allow use of color to identify file types"
        default y
 config BUSYBOX_CONFIG_FEATURE_LS_COLOR
        bool "Allow use of color to identify file types"
        default y
-       depends on BUSYBOX_CONFIG_LS && BUSYBOX_CONFIG_GETOPT_LONG
+       depends on BUSYBOX_CONFIG_LS && BUSYBOX_CONFIG_LONG_OPTS
        help
          This enables the --color option to ls.
 
        help
          This enables the --color option to ls.
 
@@ -388,7 +512,7 @@ config BUSYBOX_CONFIG_MKDIR
 config BUSYBOX_CONFIG_FEATURE_MKDIR_LONG_OPTIONS
        bool "Enable long options"
        default n
 config BUSYBOX_CONFIG_FEATURE_MKDIR_LONG_OPTIONS
        bool "Enable long options"
        default n
-       depends on BUSYBOX_CONFIG_MKDIR && BUSYBOX_CONFIG_GETOPT_LONG
+       depends on BUSYBOX_CONFIG_MKDIR && BUSYBOX_CONFIG_LONG_OPTS
        help
          Support long options for the mkdir applet.
 
        help
          Support long options for the mkdir applet.
 
@@ -415,7 +539,7 @@ config BUSYBOX_CONFIG_MV
 config BUSYBOX_CONFIG_FEATURE_MV_LONG_OPTIONS
        bool "Enable long options"
        default n
 config BUSYBOX_CONFIG_FEATURE_MV_LONG_OPTIONS
        bool "Enable long options"
        default n
-       depends on BUSYBOX_CONFIG_MV && BUSYBOX_CONFIG_GETOPT_LONG
+       depends on BUSYBOX_CONFIG_MV && BUSYBOX_CONFIG_LONG_OPTS
        help
          Support long options for the mv applet.
 
        help
          Support long options for the mv applet.
 
@@ -458,14 +582,14 @@ config BUSYBOX_CONFIG_PWD
 
 config BUSYBOX_CONFIG_READLINK
        bool "readlink"
 
 config BUSYBOX_CONFIG_READLINK
        bool "readlink"
-       default n
+       default y
        help
          This program reads a symbolic link and returns the name
          of the file it points to
 
 config BUSYBOX_CONFIG_FEATURE_READLINK_FOLLOW
        bool "Enable canonicalization by following all symlinks (-f)"
        help
          This program reads a symbolic link and returns the name
          of the file it points to
 
 config BUSYBOX_CONFIG_FEATURE_READLINK_FOLLOW
        bool "Enable canonicalization by following all symlinks (-f)"
-       default n
+       default y
        depends on BUSYBOX_CONFIG_READLINK
        help
          Enable the readlink option (-f).
        depends on BUSYBOX_CONFIG_READLINK
        help
          Enable the readlink option (-f).
@@ -492,7 +616,7 @@ config BUSYBOX_CONFIG_RMDIR
 config BUSYBOX_CONFIG_FEATURE_RMDIR_LONG_OPTIONS
        bool "Enable long options"
        default n
 config BUSYBOX_CONFIG_FEATURE_RMDIR_LONG_OPTIONS
        bool "Enable long options"
        default n
-       depends on BUSYBOX_CONFIG_RMDIR && BUSYBOX_CONFIG_GETOPT_LONG
+       depends on BUSYBOX_CONFIG_RMDIR && BUSYBOX_CONFIG_LONG_OPTS
        help
          Support long options for the rmdir applet, including
          --ignore-fail-on-non-empty for compatibility with GNU rmdir.
        help
          Support long options for the rmdir applet, including
          --ignore-fail-on-non-empty for compatibility with GNU rmdir.
@@ -509,6 +633,18 @@ config BUSYBOX_CONFIG_SHA1SUM
        help
          Compute and check SHA1 message digest
 
        help
          Compute and check SHA1 message digest
 
+config BUSYBOX_CONFIG_SHA256SUM
+       bool "sha256sum"
+       default n
+       help
+         Compute and check SHA256 message digest
+
+config BUSYBOX_CONFIG_SHA512SUM
+       bool "sha512sum"
+       default n
+       help
+         Compute and check SHA512 message digest
+
 config BUSYBOX_CONFIG_SLEEP
        bool "sleep"
        default y
 config BUSYBOX_CONFIG_SLEEP
        bool "sleep"
        default y
@@ -573,6 +709,7 @@ config BUSYBOX_CONFIG_FEATURE_SPLIT_FANCY
 config BUSYBOX_CONFIG_STAT
        bool "stat"
        default n
 config BUSYBOX_CONFIG_STAT
        bool "stat"
        default n
+       select BUSYBOX_CONFIG_PLATFORM_LINUX # statfs()
        help
          display file or filesystem status.
 
        help
          display file or filesystem status.
 
@@ -617,13 +754,17 @@ config BUSYBOX_CONFIG_TAIL
          from files.
 
 config BUSYBOX_CONFIG_FEATURE_FANCY_TAIL
          from files.
 
 config BUSYBOX_CONFIG_FEATURE_FANCY_TAIL
-       bool "Enable extra tail options (-q, -s, and -v)"
+       bool "Enable extra tail options (-q, -s, -v, and -F)"
        default y
        depends on BUSYBOX_CONFIG_TAIL
        help
          The options (-q, -s, and -v) are provided by GNU tail, but
          are not specific in the SUSv3 standard.
 
        default y
        depends on BUSYBOX_CONFIG_TAIL
        help
          The options (-q, -s, and -v) are provided by GNU tail, but
          are not specific in the SUSv3 standard.
 
+           -q      Never output headers giving file names
+           -s SEC  Wait SEC seconds between reads with -f
+           -v      Always output headers giving file names
+
 config BUSYBOX_CONFIG_TEE
        bool "tee"
        default y
 config BUSYBOX_CONFIG_TEE
        bool "tee"
        default y
@@ -638,54 +779,6 @@ config BUSYBOX_CONFIG_FEATURE_TEE_USE_BLOCK_IO
        help
          Enable this option for a faster tee, at expense of size.
 
        help
          Enable this option for a faster tee, at expense of size.
 
-config BUSYBOX_CONFIG_TEST
-       bool "test"
-       default y
-       help
-         test is used to check file types and compare values,
-         returning an appropriate exit code. The bash shell
-         has test built in, ash can build it in optionally.
-
-config BUSYBOX_CONFIG_FEATURE_TEST_64
-       bool "Extend test to 64 bit"
-       default n
-       depends on BUSYBOX_CONFIG_TEST || BUSYBOX_CONFIG_ASH_BUILTIN_TEST
-       help
-         Enable 64-bit support in test.
-
-config BUSYBOX_CONFIG_TOUCH
-       bool "touch"
-       default y
-       help
-         touch is used to create or change the access and/or
-         modification timestamp of specified files.
-
-config BUSYBOX_CONFIG_TR
-       bool "tr"
-       default y
-       help
-         tr is used to squeeze, and/or delete characters from standard
-         input, writing to standard output.
-
-config BUSYBOX_CONFIG_FEATURE_TR_CLASSES
-       bool "Enable character classes (such as [:upper:])"
-       default n
-       depends on BUSYBOX_CONFIG_TR
-       help
-         Enable character classes, enabling commands such as:
-         tr [:upper:] [:lower:] to convert input into lowercase.
-
-config BUSYBOX_CONFIG_FEATURE_TR_EQUIV
-       bool "Enable equivalence classes"
-       default n
-       depends on BUSYBOX_CONFIG_TR
-       help
-         Enable equivalence classes, which essentially add the enclosed
-         character to the current set. For instance, tr [=a=] xyz would
-         replace all instances of 'a' with 'xyz'. This option is mainly
-         useful for cases when no other way of expressing a character
-         is possible.
-
 config BUSYBOX_CONFIG_TRUE
        bool "true"
        default y
 config BUSYBOX_CONFIG_TRUE
        bool "true"
        default y
@@ -714,7 +807,7 @@ config BUSYBOX_CONFIG_UNEXPAND
 config BUSYBOX_CONFIG_FEATURE_UNEXPAND_LONG_OPTIONS
        bool "Enable long options"
        default n
 config BUSYBOX_CONFIG_FEATURE_UNEXPAND_LONG_OPTIONS
        bool "Enable long options"
        default n
-       depends on BUSYBOX_CONFIG_UNEXPAND && BUSYBOX_CONFIG_GETOPT_LONG
+       depends on BUSYBOX_CONFIG_UNEXPAND && BUSYBOX_CONFIG_LONG_OPTS
        help
          Support long options for the unexpand applet.
 
        help
          Support long options for the unexpand applet.
 
@@ -754,14 +847,7 @@ config BUSYBOX_CONFIG_FEATURE_WC_LARGE
        default n
        depends on BUSYBOX_CONFIG_WC
        help
        default n
        depends on BUSYBOX_CONFIG_WC
        help
-         Use "unsigned long long" in wc for count variables.
-
-config BUSYBOX_CONFIG_WHO
-       bool "who"
-       default n
-       select BUSYBOX_CONFIG_FEATURE_UTMP
-       help
-         who is used to show who is logged on.
+         Use "unsigned long long" in wc for counter variables.
 
 config BUSYBOX_CONFIG_WHOAMI
        bool "whoami"
 
 config BUSYBOX_CONFIG_WHOAMI
        bool "whoami"
@@ -811,13 +897,13 @@ config BUSYBOX_CONFIG_FEATURE_HUMAN_READABLE
        help
          Allow df, du, and ls to have human readable output.
 
        help
          Allow df, du, and ls to have human readable output.
 
-comment "Common options for md5sum, sha1sum"
-       depends on BUSYBOX_CONFIG_MD5SUM || BUSYBOX_CONFIG_SHA1SUM
+comment "Common options for md5sum, sha1sum, sha256sum, sha512sum"
+       depends on BUSYBOX_CONFIG_MD5SUM || BUSYBOX_CONFIG_SHA1SUM || BUSYBOX_CONFIG_SHA256SUM || BUSYBOX_CONFIG_SHA512SUM
 
 config BUSYBOX_CONFIG_FEATURE_MD5_SHA1_SUM_CHECK
        bool "Enable -c, -s and -w options"
        default y
 
 config BUSYBOX_CONFIG_FEATURE_MD5_SHA1_SUM_CHECK
        bool "Enable -c, -s and -w options"
        default y
-       depends on BUSYBOX_CONFIG_MD5SUM || BUSYBOX_CONFIG_SHA1SUM
+       depends on BUSYBOX_CONFIG_MD5SUM || BUSYBOX_CONFIG_SHA1SUM || BUSYBOX_CONFIG_SHA256SUM || BUSYBOX_CONFIG_SHA512SUM
        help
          Enabling the -c options allows files to be checked
          against pre-calculated hash values.
        help
          Enabling the -c options allows files to be checked
          against pre-calculated hash values.