diff options
Diffstat (limited to 'miscutils/flash_eraseall.c')
-rw-r--r-- | miscutils/flash_eraseall.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/miscutils/flash_eraseall.c b/miscutils/flash_eraseall.c index d95d214d9..2a9bd6cfe 100644 --- a/miscutils/flash_eraseall.c +++ b/miscutils/flash_eraseall.c | |||
@@ -9,6 +9,16 @@ | |||
9 | * | 9 | * |
10 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. | 10 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. |
11 | */ | 11 | */ |
12 | //config:config FLASH_ERASEALL | ||
13 | //config: bool "flash_eraseall" | ||
14 | //config: default n # doesn't build on Ubuntu 8.04 | ||
15 | //config: help | ||
16 | //config: The flash_eraseall binary from mtd-utils as of git head c4c6a59eb. | ||
17 | //config: This utility is used to erase the whole MTD device. | ||
18 | |||
19 | //applet:IF_FLASH_ERASEALL(APPLET(flash_eraseall, BB_DIR_USR_SBIN, BB_SUID_DROP)) | ||
20 | |||
21 | //kbuild:lib-$(CONFIG_FLASH_ERASEALL) += flash_eraseall.o | ||
12 | 22 | ||
13 | //usage:#define flash_eraseall_trivial_usage | 23 | //usage:#define flash_eraseall_trivial_usage |
14 | //usage: "[-jNq] MTD_DEVICE" | 24 | //usage: "[-jNq] MTD_DEVICE" |