aboutsummaryrefslogtreecommitdiff
path: root/console-tools/kbd_mode.c
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2016-11-23 10:39:27 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2016-11-23 10:39:27 +0100
commit6d9329935c0621ddc056aee0d30cec52a24da499 (patch)
tree8b78faf3893c364337b138a9e8c20bfa4a286273 /console-tools/kbd_mode.c
parentc19f7584e14522043da141189711c8db72dfbc90 (diff)
downloadbusybox-6d9329935c0621ddc056aee0d30cec52a24da499.tar.gz
Convert all console-tools/* applets to "new style" applet definitions
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'console-tools/kbd_mode.c')
-rw-r--r--console-tools/kbd_mode.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/console-tools/kbd_mode.c b/console-tools/kbd_mode.c
index 138536721..f1238c6b4 100644
--- a/console-tools/kbd_mode.c
+++ b/console-tools/kbd_mode.c
@@ -8,6 +8,16 @@
*
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
*/
+//config:config KBD_MODE
+//config: bool "kbd_mode"
+//config: default y
+//config: select PLATFORM_LINUX
+//config: help
+//config: This program reports and sets keyboard mode.
+
+//applet:IF_KBD_MODE(APPLET(kbd_mode, BB_DIR_BIN, BB_SUID_DROP))
+
+//kbuild:lib-$(CONFIG_KBD_MODE) += kbd_mode.o
//usage:#define kbd_mode_trivial_usage
//usage: "[-a|k|s|u] [-C TTY]"