diff options
author | Denys Vlasenko | 2013-11-13 12:45:33 +0100 |
---|---|---|
committer | Denys Vlasenko | 2013-11-13 12:45:33 +0100 |
commit | 73225b6d6e14f63e048fd95b504a2d909684699f (patch) | |
tree | fa4e412ed699e2e4abbc62d810cd8a9980055d5a /editors/cmp.c | |
parent | f200f732f4d04a26814f109be8db2b6510e7127c (diff) | |
download | busybox-73225b6d6e14f63e048fd95b504a2d909684699f.zip busybox-73225b6d6e14f63e048fd95b504a2d909684699f.tar.gz |
switch editors/* to embedded-in-source kbuild system
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'editors/cmp.c')
-rw-r--r-- | editors/cmp.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/editors/cmp.c b/editors/cmp.c index fbe6b97..a4af6f4 100644 --- a/editors/cmp.c +++ b/editors/cmp.c @@ -10,6 +10,17 @@ /* BB_AUDIT SUSv3 (virtually) compliant -- uses nicer GNU format for -l. */ /* http://www.opengroup.org/onlinepubs/007904975/utilities/cmp.html */ +//config:config CMP +//config: bool "cmp" +//config: default y +//config: help +//config: cmp is used to compare two files and returns the result +//config: to standard output. + +//kbuild:lib-$(CONFIG_CMP) += cmp.o + +//applet:IF_CMP(APPLET(cmp, BB_DIR_USR_BIN, BB_SUID_DROP)) + //usage:#define cmp_trivial_usage //usage: "[-l] [-s] FILE1 [FILE2" IF_DESKTOP(" [SKIP1 [SKIP2]]") "]" //usage:#define cmp_full_usage "\n\n" |