summaryrefslogtreecommitdiff
path: root/fs/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'fs/Makefile')
-rw-r--r--fs/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/fs/Makefile b/fs/Makefile
index 28da76e9591..901e1894b6a 100644
--- a/fs/Makefile
+++ b/fs/Makefile
@@ -23,7 +23,10 @@
#
subdirs-$(CONFIG_CMD_CRAMFS) := cramfs
-subdirs-$(CONFIG_CMD_EXT2) += ext2
+subdirs-$(CONFIG_CMD_EXT4) += ext4
+ifndef CONFIG_CMD_EXT4
+subdirs-$(CONFIG_CMD_EXT2) += ext4
+endif
subdirs-$(CONFIG_CMD_FAT) += fat
subdirs-$(CONFIG_CMD_FDOS) += fdos
subdirs-$(CONFIG_CMD_JFFS2) += jffs2