fdt_resize(): ensure minimum padding
[oweals/u-boot.git] / fs / Makefile
index 118ae78f2d37d46f0f56f48763a7cc9aa88b59b9..8bbd5632493cf7ab4b6e87b87a3788281aa62455 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        := $(subdirs-y)
 
 $(obj).depend all:
        @for dir in $(SUBDIRS) ; do \