From dd898c9f3388fca1d7339a45150fbb7406de0971 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Wed, 23 Nov 2016 11:46:32 +0100 Subject: Convert all util-linux/* applets to "new style" applet definitions Signed-off-by: Denys Vlasenko --- util-linux/rdev.c | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'util-linux/rdev.c') diff --git a/util-linux/rdev.c b/util-linux/rdev.c index 465281756..0e1578e33 100644 --- a/util-linux/rdev.c +++ b/util-linux/rdev.c @@ -8,6 +8,15 @@ * Licensed under GPLv2, see file LICENSE in this source tree. * */ +//config:config RDEV +//config: bool "rdev" +//config: default y +//config: help +//config: Print the device node associated with the filesystem mounted at '/'. + +//applet:IF_RDEV(APPLET(rdev, BB_DIR_USR_SBIN, BB_SUID_DROP)) + +//kbuild:lib-$(CONFIG_RDEV) += rdev.o //usage:#define rdev_trivial_usage //usage: "" -- cgit v1.2.3