conspy,nandwrite,nanddump: enable in defconfig
authorDenys Vlasenko <vda.linux@googlemail.com>
Sat, 13 Aug 2011 07:00:29 +0000 (09:00 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Sat, 13 Aug 2011 07:00:29 +0000 (09:00 +0200)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
miscutils/conspy.c
miscutils/nandwrite.c

index 433c3e829e86ef1077c373e1fcb61f92e73b878b..c6ed91832750d340e6d4ad173ca07c1fd204bd62 100644 (file)
@@ -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.
index 562a3427871cf1d3dba33a0219c22900061030bb..2ba6e3fe55c280883a45e7b13f84bb4c25a80dbd 100644 (file)
@@ -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"