summaryrefslogtreecommitdiff
path: root/miscutils/flash_eraseall.c
diff options
context:
space:
mode:
authorDenys Vlasenko2016-11-22 23:54:17 +0100
committerDenys Vlasenko2016-11-22 23:54:17 +0100
commitf88e3bfa8ded4f1c7e7d2143a1cfcbbdfe5e8541 (patch)
tree6e7fd8f8f547fcf01bb9d55da2ace429ab3b53f6 /miscutils/flash_eraseall.c
parentfb4da167114e96d7f20ef97474f976f8ffa604e7 (diff)
downloadbusybox-f88e3bfa8ded4f1c7e7d2143a1cfcbbdfe5e8541.zip
busybox-f88e3bfa8ded4f1c7e7d2143a1cfcbbdfe5e8541.tar.gz
Convert all miscutils/* applets to "new style" applet definitions
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'miscutils/flash_eraseall.c')
-rw-r--r--miscutils/flash_eraseall.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/miscutils/flash_eraseall.c b/miscutils/flash_eraseall.c
index 08ec44e..2a9bd6c 100644
--- a/miscutils/flash_eraseall.c
+++ b/miscutils/flash_eraseall.c
@@ -16,6 +16,10 @@
//config: The flash_eraseall binary from mtd-utils as of git head c4c6a59eb.
//config: This utility is used to erase the whole MTD device.
+//applet:IF_FLASH_ERASEALL(APPLET(flash_eraseall, BB_DIR_USR_SBIN, BB_SUID_DROP))
+
+//kbuild:lib-$(CONFIG_FLASH_ERASEALL) += flash_eraseall.o
+
//usage:#define flash_eraseall_trivial_usage
//usage: "[-jNq] MTD_DEVICE"
//usage:#define flash_eraseall_full_usage "\n\n"