aboutsummaryrefslogtreecommitdiffstats
path: root/tools/libfsimage/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tools/libfsimage/Makefile')
-rw-r--r--tools/libfsimage/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/tools/libfsimage/Makefile b/tools/libfsimage/Makefile
index bcb8b40fa5..5a506f3325 100644
--- a/tools/libfsimage/Makefile
+++ b/tools/libfsimage/Makefile
@@ -3,7 +3,11 @@ include $(XEN_ROOT)/tools/Rules.mk
SUBDIRS-y = common ufs reiserfs iso9660 fat zfs
SUBDIRS-$(CONFIG_X86) += xfs
-SUBDIRS-y += $(shell env CC="$(CC)" ./check-libext2fs)
+ifeq ($(CONFIG_EXT2FS), y)
+ SUBDIRS-y += ext2fs-lib
+else
+ SUBDIRS-y += ext2fs
+endif
.PHONY: all clean install
all clean install: %: subdirs-%