summaryrefslogtreecommitdiff
path: root/editors/ed.c
diff options
context:
space:
mode:
authorDenys Vlasenko2013-11-13 12:45:33 +0100
committerDenys Vlasenko2013-11-13 12:45:33 +0100
commit73225b6d6e14f63e048fd95b504a2d909684699f (patch)
treefa4e412ed699e2e4abbc62d810cd8a9980055d5a /editors/ed.c
parentf200f732f4d04a26814f109be8db2b6510e7127c (diff)
downloadbusybox-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/ed.c')
-rw-r--r--editors/ed.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/editors/ed.c b/editors/ed.c
index dbb5130..3087fb0 100644
--- a/editors/ed.c
+++ b/editors/ed.c
@@ -7,6 +7,18 @@
* The "ed" built-in command (much simplified)
*/
+//config:config ED
+//config: bool "ed"
+//config: default y
+//config: help
+//config: The original 1970's Unix text editor, from the days of teletypes.
+//config: Small, simple, evil. Part of SUSv3. If you're not already using
+//config: this, you don't need it.
+
+//kbuild:lib-$(CONFIG_ED) += ed.o
+
+//applet:IF_ED(APPLET(ed, BB_DIR_BIN, BB_SUID_DROP))
+
//usage:#define ed_trivial_usage ""
//usage:#define ed_full_usage ""