]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - fs/Makefile
correct a syntax typo in at91_matrix.h
[people/ms/u-boot.git] / fs / Makefile
index 118ae78f2d37d46f0f56f48763a7cc9aa88b59b9..22aad126bc2b6c2e95be088f70cb8694e1c9741c 100644 (file)
 #
 #
 
-SUBDIRS        := romfs jffs2 cramfs fdos fat reiserfs ext2
+subdirs-$(CONFIG_CMD_CRAMFS) := cramfs
+subdirs-$(CONFIG_CMD_EXT2) += ext2
+subdirs-$(CONFIG_CMD_FAT) += fat
+subdirs-$(CONFIG_CMD_FDOS) += fdos
+subdirs-$(CONFIG_CMD_JFFS2) += jffs2
+subdirs-$(CONFIG_CMD_REISER) += reiserfs
+subdirs-$(CONFIG_YAFFS2) += yaffs2
+subdirs-$(CONFIG_CMD_UBIFS) += ubifs
+
+SUBDIRS        := $(subdirs-y)
 
 $(obj).depend all:
        @for dir in $(SUBDIRS) ; do \