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-w32-3b45801dc6e3484ffb2a86958fce587974842c6b.tar.gz
busybox-w32-3b45801dc6e3484ffb2a86958fce587974842c6b.tar.bz2
busybox-w32-3b45801dc6e3484ffb2a86958fce587974842c6b.zip
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 @@
7 * 7 *
8 * Licensed under GPLv2 or later, see file LICENSE in this source tree. 8 * Licensed under GPLv2 or later, see file LICENSE in this source tree.
9 */ 9 */
10
11//kbuild:lib-$(CONFIG_BLKID) += get_devname.o
12//kbuild:lib-$(CONFIG_FINDFS) += get_devname.o
13//kbuild:lib-$(CONFIG_FEATURE_MOUNT_LABEL) += get_devname.o
14
10#include <sys/mount.h> /* BLKGETSIZE64 */ 15#include <sys/mount.h> /* BLKGETSIZE64 */
11#if !defined(BLKGETSIZE64) 16#if !defined(BLKGETSIZE64)
12# define BLKGETSIZE64 _IOR(0x12,114,size_t) 17# define BLKGETSIZE64 _IOR(0x12,114,size_t)