aboutsummaryrefslogtreecommitdiff
path: root/util-linux/volume_id/get_devname.c
diff options
context:
space:
mode:
authorSven-Göran Bergh <sgb@systemasis.org>2013-07-31 15:45:20 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2013-07-31 15:45:20 +0200
commit3b45801dc6e3484ffb2a86958fce587974842c6b (patch)
treebe197e13be7358ade6f5d7b7903438ad77db05e9 /util-linux/volume_id/get_devname.c
parent982e87f2fb45bf8a951774b3c6dab7afb0dc89f8 (diff)
downloadbusybox-3b45801dc6e3484ffb2a86958fce587974842c6b.tar.gz
volume_id: Adopt to new kbuild style.
Kbuild instructions for util-linux/volume_id are moved into the source files according to the new build feature. No code change. Signed-off-by: Sven-Göran Bergh <sgb@systemasis.org> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'util-linux/volume_id/get_devname.c')
-rw-r--r--util-linux/volume_id/get_devname.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/util-linux/volume_id/get_devname.c b/util-linux/volume_id/get_devname.c
index 665cb9b6e..0c6bdfddf 100644
--- a/util-linux/volume_id/get_devname.c
+++ b/util-linux/volume_id/get_devname.c
@@ -7,6 +7,11 @@
*
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
*/
+
+//kbuild:lib-$(CONFIG_BLKID) += get_devname.o
+//kbuild:lib-$(CONFIG_FINDFS) += get_devname.o
+//kbuild:lib-$(CONFIG_FEATURE_MOUNT_LABEL) += get_devname.o
+
#include <sys/mount.h> /* BLKGETSIZE64 */
#if !defined(BLKGETSIZE64)
# define BLKGETSIZE64 _IOR(0x12,114,size_t)