diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2011-08-13 09:00:29 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2011-08-13 09:00:29 +0200 |
commit | c97578de6b283592265fd9132df7d878f6ec6530 (patch) | |
tree | fcb416a675dd47654ef744c4c1587dfaaca6301b | |
parent | 8b141ebd456f6899133c53f0cf833c09a922a6cf (diff) | |
download | busybox-w32-c97578de6b283592265fd9132df7d878f6ec6530.tar.gz busybox-w32-c97578de6b283592265fd9132df7d878f6ec6530.tar.bz2 busybox-w32-c97578de6b283592265fd9132df7d878f6ec6530.zip |
conspy,nandwrite,nanddump: enable in defconfig
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r-- | miscutils/conspy.c | 2 | ||||
-rw-r--r-- | miscutils/nandwrite.c | 16 |
2 files changed, 9 insertions, 9 deletions
diff --git a/miscutils/conspy.c b/miscutils/conspy.c index 433c3e829..c6ed91832 100644 --- a/miscutils/conspy.c +++ b/miscutils/conspy.c | |||
@@ -16,7 +16,7 @@ | |||
16 | 16 | ||
17 | //config:config CONSPY | 17 | //config:config CONSPY |
18 | //config: bool "conspy" | 18 | //config: bool "conspy" |
19 | //config: default n | 19 | //config: default y |
20 | //config: select PLATFORM_LINUX | 20 | //config: select PLATFORM_LINUX |
21 | //config: help | 21 | //config: help |
22 | //config: A text-mode VNC like program for Linux virtual terminals. | 22 | //config: A text-mode VNC like program for Linux virtual terminals. |
diff --git a/miscutils/nandwrite.c b/miscutils/nandwrite.c index 562a34278..2ba6e3fe5 100644 --- a/miscutils/nandwrite.c +++ b/miscutils/nandwrite.c | |||
@@ -8,26 +8,26 @@ | |||
8 | * TODO: add support for large (>4GB) MTD devices | 8 | * TODO: add support for large (>4GB) MTD devices |
9 | */ | 9 | */ |
10 | 10 | ||
11 | //applet:IF_NANDWRITE(APPLET(nandwrite, BB_DIR_USR_SBIN, BB_SUID_DROP)) | ||
12 | //applet:IF_NANDWRITE(APPLET_ODDNAME(nanddump, nandwrite, BB_DIR_USR_SBIN, BB_SUID_DROP, nanddump)) | ||
13 | |||
14 | //kbuild:lib-$(CONFIG_NANDWRITE) += nandwrite.o | ||
15 | //kbuild:lib-$(CONFIG_NANDDUMP) += nandwrite.o | ||
16 | |||
17 | //config:config NANDWRITE | 11 | //config:config NANDWRITE |
18 | //config: bool "nandwrite" | 12 | //config: bool "nandwrite" |
19 | //config: default n | 13 | //config: default y |
20 | //config: select PLATFORM_LINUX | 14 | //config: select PLATFORM_LINUX |
21 | //config: help | 15 | //config: help |
22 | //config: Write to the specified MTD device, with bad blocks awareness | 16 | //config: Write to the specified MTD device, with bad blocks awareness |
23 | //config: | 17 | //config: |
24 | //config:config NANDDUMP | 18 | //config:config NANDDUMP |
25 | //config: bool "nanddump" | 19 | //config: bool "nanddump" |
26 | //config: default n | 20 | //config: default y |
27 | //config: select PLATFORM_LINUX | 21 | //config: select PLATFORM_LINUX |
28 | //config: help | 22 | //config: help |
29 | //config: Dump the content of raw NAND chip | 23 | //config: Dump the content of raw NAND chip |
30 | 24 | ||
25 | //applet:IF_NANDWRITE(APPLET(nandwrite, BB_DIR_USR_SBIN, BB_SUID_DROP)) | ||
26 | //applet:IF_NANDWRITE(APPLET_ODDNAME(nanddump, nandwrite, BB_DIR_USR_SBIN, BB_SUID_DROP, nanddump)) | ||
27 | |||
28 | //kbuild:lib-$(CONFIG_NANDWRITE) += nandwrite.o | ||
29 | //kbuild:lib-$(CONFIG_NANDDUMP) += nandwrite.o | ||
30 | |||
31 | //usage:#define nandwrite_trivial_usage | 31 | //usage:#define nandwrite_trivial_usage |
32 | //usage: "[-p] [-s ADDR] MTD_DEVICE [FILE]" | 32 | //usage: "[-p] [-s ADDR] MTD_DEVICE [FILE]" |
33 | //usage:#define nandwrite_full_usage "\n\n" | 33 | //usage:#define nandwrite_full_usage "\n\n" |