aboutsummaryrefslogtreecommitdiff
path: root/e2fsprogs/blkid
diff options
context:
space:
mode:
Diffstat (limited to 'e2fsprogs/blkid')
-rw-r--r--e2fsprogs/blkid/Kbuild9
1 files changed, 7 insertions, 2 deletions
diff --git a/e2fsprogs/blkid/Kbuild b/e2fsprogs/blkid/Kbuild
index ba0bee03d..98b5c277f 100644
--- a/e2fsprogs/blkid/Kbuild
+++ b/e2fsprogs/blkid/Kbuild
@@ -4,9 +4,14 @@
#
# Licensed under the GPL v2, see the file LICENSE in this tarball.
+NEEDED-$(CONFIG_E2FSCK) = y
+NEEDED-$(CONFIG_FSCK) = y
+NEEDED-$(CONFIG_MKE2FS) = y
+NEEDED-$(CONFIG_TUNE2FS) = y
+
lib-y:=
-lib-y += cache.o dev.o devname.o devno.o blkid_getsize.o \
- probe.o read.o resolve.o save.o tag.o list.o
+lib-$(NEEDED-y) += cache.o dev.o devname.o devno.o blkid_getsize.o \
+ probe.o read.o resolve.o save.o tag.o list.o
CFLAGS_dev.o := -include include/busybox.h
CFLAGS_devname.o := -include include/busybox.h