Convert all util-linux/* applets to "new style" applet definitions

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko
2016-11-23 11:46:32 +01:00
parent e5dd71f94f
commit dd898c9f33
42 changed files with 622 additions and 594 deletions

View File

@ -8,6 +8,35 @@
*
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
*/
//config:config HEXDUMP
//config: bool "hexdump"
//config: default y
//config: help
//config: The hexdump utility is used to display binary data in a readable
//config: way that is comparable to the output from most hex editors.
//config:
//config:config FEATURE_HEXDUMP_REVERSE
//config: bool "Support -R, reverse of 'hexdump -Cv'"
//config: default y
//config: depends on HEXDUMP
//config: help
//config: The hexdump utility is used to display binary data in an ascii
//config: readable way. This option creates binary data from an ascii input.
//config: NB: this option is non-standard. It's unwise to use it in scripts
//config: aimed to be portable.
//config:
//config:config HD
//config: bool "hd"
//config: default y
//config: depends on HEXDUMP
//config: help
//config: hd is an alias to hexdump -C.
//applet:IF_HEXDUMP(APPLET_NOEXEC(hexdump, hexdump, BB_DIR_USR_BIN, BB_SUID_DROP, hexdump))
//applet:IF_HD(APPLET_NOEXEC(hd, hexdump, BB_DIR_USR_BIN, BB_SUID_DROP, hd))
//kbuild:lib-$(CONFIG_HEXDUMP) += hexdump.o
//kbuild:lib-$(CONFIG_HD) += hexdump.o
//usage:#define hexdump_trivial_usage
//usage: "[-bcCdefnosvx" IF_FEATURE_HEXDUMP_REVERSE("R") "] [FILE]..."