summaryrefslogtreecommitdiff
path: root/e2fsprogs/e2p/Kbuild
diff options
context:
space:
mode:
Diffstat (limited to 'e2fsprogs/e2p/Kbuild')
-rw-r--r--e2fsprogs/e2p/Kbuild7
1 files changed, 6 insertions, 1 deletions
diff --git a/e2fsprogs/e2p/Kbuild b/e2fsprogs/e2p/Kbuild
index 24a692e..64e4621 100644
--- a/e2fsprogs/e2p/Kbuild
+++ b/e2fsprogs/e2p/Kbuild
@@ -4,7 +4,12 @@
#
# Licensed under the GPL v2, see the file LICENSE in this tarball.
+NEEDED-$(CONFIG_CHATTR) = y
+NEEDED-$(LSATTR) = y
+NEEDED-$(MKE2FS) = y
+NEEDED-$(TUNE2FS) = y
+
lib-y:=
-lib-y += fgetsetflags.o fgetsetversion.o pf.o iod.o mntopts.o \
+lib-$(NEEDED-y) += fgetsetflags.o fgetsetversion.o pf.o iod.o mntopts.o \
feature.o ls.o uuid.o pe.o ostype.o ps.o hashstr.o \
parse_num.o