summaryrefslogtreecommitdiff
path: root/networking/slattach.c
diff options
context:
space:
mode:
authorDenys Vlasenko2016-11-23 09:05:14 +0100
committerDenys Vlasenko2016-11-23 09:05:14 +0100
commit47367e1d50b81501e8a6ce215f8be4eeacdda693 (patch)
tree28be64a4a758a274ef2459628ec29384722cd3fb /networking/slattach.c
parente32b64c4ec9272295df6852fb2a2888d7799d2f0 (diff)
downloadbusybox-47367e1d50b81501e8a6ce215f8be4eeacdda693.zip
busybox-47367e1d50b81501e8a6ce215f8be4eeacdda693.tar.gz
Convert all networking/* applets to "new style" applet definitions
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking/slattach.c')
-rw-r--r--networking/slattach.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/networking/slattach.c b/networking/slattach.c
index 2d1305e..9267eb1 100644
--- a/networking/slattach.c
+++ b/networking/slattach.c
@@ -12,6 +12,17 @@
*
* - The -F options allows disabling of RTS/CTS flow control.
*/
+//config:config SLATTACH
+//config: bool "slattach"
+//config: default y
+//config: select PLATFORM_LINUX
+//config: help
+//config: slattach is a small utility to attach network interfaces to serial
+//config: lines.
+
+//applet:IF_SLATTACH(APPLET(slattach, BB_DIR_SBIN, BB_SUID_DROP))
+
+//kbuild:lib-$(CONFIG_SLATTACH) += slattach.o
//usage:#define slattach_trivial_usage
//usage: "[-cehmLF] [-s SPEED] [-p PROTOCOL] DEVICE"