summaryrefslogtreecommitdiff
path: root/debianutils/mktemp.c
diff options
context:
space:
mode:
authorDenys Vlasenko2015-10-19 00:52:26 +0200
committerDenys Vlasenko2015-10-19 00:52:26 +0200
commit28826ac8c02793431203edb4adb961d5521d643d (patch)
treefdc16e8bb697a047bc553a0e3b9d70a24885a3a0 /debianutils/mktemp.c
parent854bb6879da7277446c7a943387e2880017804e0 (diff)
downloadbusybox-28826ac8c02793431203edb4adb961d5521d643d.zip
busybox-28826ac8c02793431203edb4adb961d5521d643d.tar.gz
debianutils/*: convert to new-style "one file" applets
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'debianutils/mktemp.c')
-rw-r--r--debianutils/mktemp.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/debianutils/mktemp.c b/debianutils/mktemp.c
index 983d7a2..6535369 100644
--- a/debianutils/mktemp.c
+++ b/debianutils/mktemp.c
@@ -30,6 +30,15 @@
* a directory: $TMPDIR, if set; else the directory specified via
* -p; else /tmp [deprecated]
*/
+//config:config MKTEMP
+//config: bool "mktemp"
+//config: default y
+//config: help
+//config: mktemp is used to create unique temporary files
+
+//applet:IF_MKTEMP(APPLET(mktemp, BB_DIR_BIN, BB_SUID_DROP))
+
+//kbuild:lib-$(CONFIG_MKTEMP) += mktemp.o
//usage:#define mktemp_trivial_usage
//usage: "[-dt] [-p DIR] [TEMPLATE]"