* Licensed under GPLv2, see file LICENSE in this source tree.
*/
//config:config FLASHCP
-//config: bool "flashcp"
+//config: bool "flashcp (5.4 kb)"
//config: default n # doesn't build on Ubuntu 8.04
//config: help
-//config: The flashcp binary, inspired by mtd-utils as of git head 5eceb74f7.
-//config: This utility is used to copy images into a MTD device.
+//config: The flashcp binary, inspired by mtd-utils as of git head 5eceb74f7.
+//config: This utility is used to copy images into a MTD device.
//applet:IF_FLASHCP(APPLET(flashcp, BB_DIR_USR_SBIN, BB_SUID_DROP))
+/* not NOEXEC: if flash operation stalls, use less memory in "hung" process */
//kbuild:lib-$(CONFIG_FLASHCP) += flashcp.o
RESERVE_CONFIG_UBUFFER(buf, BUFSIZE);
RESERVE_CONFIG_UBUFFER(buf2, BUFSIZE);
- opt_complementary = "=2"; /* exactly 2 non-option args: file, dev */
- /*opts =*/ getopt32(argv, "v");
+ /*opts =*/ getopt32(argv, "^" "v" "\0" "=2"/*exactly 2 non-option args: file,dev*/);
argv += optind;
// filename = *argv++;
// devicename = *argv;