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/diff.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/diff.c')
-rw-r--r-- | editors/diff.c | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/editors/diff.c b/editors/diff.c index b08ded3..a78a0ee 100644 --- a/editors/diff.c +++ b/editors/diff.c @@ -76,6 +76,33 @@ * 6n words for files of length n. */ +//config:config DIFF +//config: bool "diff" +//config: default y +//config: help +//config: diff compares two files or directories and outputs the +//config: differences between them in a form that can be given to +//config: the patch command. +//config: +//config:config FEATURE_DIFF_LONG_OPTIONS +//config: bool "Enable long options" +//config: default y +//config: depends on DIFF && LONG_OPTS +//config: help +//config: Enable use of long options. +//config: +//config:config FEATURE_DIFF_DIR +//config: bool "Enable directory support" +//config: default y +//config: depends on DIFF +//config: help +//config: This option enables support for directory and subdirectory +//config: comparison. + +//kbuild:lib-$(CONFIG_DIFF) += diff.o + +//applet:IF_DIFF(APPLET(diff, BB_DIR_USR_BIN, BB_SUID_DROP)) + //usage:#define diff_trivial_usage //usage: "[-abBdiNqrTstw] [-L LABEL] [-S FILE] [-U LINES] FILE1 FILE2" //usage:#define diff_full_usage "\n\n" |