diff options
author | Denys Vlasenko | 2016-11-22 23:54:17 +0100 |
---|---|---|
committer | Denys Vlasenko | 2016-11-22 23:54:17 +0100 |
commit | f88e3bfa8ded4f1c7e7d2143a1cfcbbdfe5e8541 (patch) | |
tree | 6e7fd8f8f547fcf01bb9d55da2ace429ab3b53f6 /miscutils/last.c | |
parent | fb4da167114e96d7f20ef97474f976f8ffa604e7 (diff) | |
download | busybox-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.c | 8 |
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" |