summaryrefslogtreecommitdiff
path: root/e2fsprogs/blkid/Kbuild
diff options
context:
space:
mode:
authorDenis Vlasenko2006-10-05 10:26:05 +0000
committerDenis Vlasenko2006-10-05 10:26:05 +0000
commit5d2f1736d9bdc2ac0d47000ed0ce403b9f06f6fb (patch)
treee47a7430f1e2fc350f009d2aea76e3bfbdec80f0 /e2fsprogs/blkid/Kbuild
parent7d219aab70e6951ab82c27c202cac05016696723 (diff)
downloadbusybox-5d2f1736d9bdc2ac0d47000ed0ce403b9f06f6fb.zip
busybox-5d2f1736d9bdc2ac0d47000ed0ce403b9f06f6fb.tar.gz
build system: small optimization
Diffstat (limited to 'e2fsprogs/blkid/Kbuild')
-rw-r--r--e2fsprogs/blkid/Kbuild9
1 files changed, 7 insertions, 2 deletions
diff --git a/e2fsprogs/blkid/Kbuild b/e2fsprogs/blkid/Kbuild
index ba0bee0..98b5c27 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