From: Denys Vlasenko Date: Sat, 13 Aug 2011 07:00:29 +0000 (+0200) Subject: conspy,nandwrite,nanddump: enable in defconfig X-Git-Tag: 1_20_0~274 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=c97578de6b283592265fd9132df7d878f6ec6530;p=oweals%2Fbusybox.git conspy,nandwrite,nanddump: enable in defconfig Signed-off-by: Denys Vlasenko --- 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 @@ //config:config CONSPY //config: bool "conspy" -//config: default n +//config: default y //config: select PLATFORM_LINUX //config: help //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 @@ * TODO: add support for large (>4GB) MTD devices */ -//applet:IF_NANDWRITE(APPLET(nandwrite, BB_DIR_USR_SBIN, BB_SUID_DROP)) -//applet:IF_NANDWRITE(APPLET_ODDNAME(nanddump, nandwrite, BB_DIR_USR_SBIN, BB_SUID_DROP, nanddump)) - -//kbuild:lib-$(CONFIG_NANDWRITE) += nandwrite.o -//kbuild:lib-$(CONFIG_NANDDUMP) += nandwrite.o - //config:config NANDWRITE //config: bool "nandwrite" -//config: default n +//config: default y //config: select PLATFORM_LINUX //config: help //config: Write to the specified MTD device, with bad blocks awareness //config: //config:config NANDDUMP //config: bool "nanddump" -//config: default n +//config: default y //config: select PLATFORM_LINUX //config: help //config: Dump the content of raw NAND chip +//applet:IF_NANDWRITE(APPLET(nandwrite, BB_DIR_USR_SBIN, BB_SUID_DROP)) +//applet:IF_NANDWRITE(APPLET_ODDNAME(nanddump, nandwrite, BB_DIR_USR_SBIN, BB_SUID_DROP, nanddump)) + +//kbuild:lib-$(CONFIG_NANDWRITE) += nandwrite.o +//kbuild:lib-$(CONFIG_NANDDUMP) += nandwrite.o + //usage:#define nandwrite_trivial_usage //usage: "[-p] [-s ADDR] MTD_DEVICE [FILE]" //usage:#define nandwrite_full_usage "\n\n"