From 73225b6d6e14f63e048fd95b504a2d909684699f Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Wed, 13 Nov 2013 12:45:33 +0100 Subject: switch editors/* to embedded-in-source kbuild system Signed-off-by: Denys Vlasenko --- editors/diff.c | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) (limited to 'editors/diff.c') diff --git a/editors/diff.c b/editors/diff.c index b08ded3a1..a78a0ee28 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" -- cgit v1.2.3