summaryrefslogtreecommitdiff
path: root/miscutils/last.c
diff options
context:
space:
mode:
authorDenys Vlasenko2016-11-22 23:54:17 +0100
committerDenys Vlasenko2016-11-22 23:54:17 +0100
commitf88e3bfa8ded4f1c7e7d2143a1cfcbbdfe5e8541 (patch)
tree6e7fd8f8f547fcf01bb9d55da2ace429ab3b53f6 /miscutils/last.c
parentfb4da167114e96d7f20ef97474f976f8ffa604e7 (diff)
downloadbusybox-f88e3bfa8ded4f1c7e7d2143a1cfcbbdfe5e8541.zip
busybox-f88e3bfa8ded4f1c7e7d2143a1cfcbbdfe5e8541.tar.gz
Convert all miscutils/* applets to "new style" applet definitions
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'miscutils/last.c')
-rw-r--r--miscutils/last.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/miscutils/last.c b/miscutils/last.c
index 2b7060c..67c1343 100644
--- a/miscutils/last.c
+++ b/miscutils/last.c
@@ -21,6 +21,14 @@
//config: 'last' displays detailed information about the last users that
//config: logged into the system (mimics sysvinit last). +900 bytes.
+//applet:IF_LAST(APPLET(last, BB_DIR_USR_BIN, BB_SUID_DROP))
+
+//kbuild:ifeq ($(CONFIG_FEATURE_LAST_FANCY),y)
+//kbuild:lib-$(CONFIG_FEATURE_LAST_FANCY) += last_fancy.o
+//kbuild:else
+//kbuild:lib-$(CONFIG_LAST) += last.o
+//kbuild:endif
+
//usage:#define last_trivial_usage
//usage: ""IF_FEATURE_LAST_FANCY("[-HW] [-f FILE]")
//usage:#define last_full_usage "\n\n"