SPL: Create arch/arm/lib/spl.c for board_init_f and jump_to_image_linux
[platform/kernel/u-boot.git] / fs / Makefile
index 273d90e..901e189 100644 (file)
 #
 #
 
-SUBDIRS        := jffs2 cramfs fdos fat reiserfs ext2
+subdirs-$(CONFIG_CMD_CRAMFS) := cramfs
+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
+subdirs-$(CONFIG_CMD_REISER) += reiserfs
+subdirs-$(CONFIG_YAFFS2) += yaffs2
+subdirs-$(CONFIG_CMD_UBIFS) += ubifs
+subdirs-$(CONFIG_CMD_ZFS) += zfs
+
+SUBDIRS        := $(subdirs-y)
 
 $(obj).depend all:
        @for dir in $(SUBDIRS) ; do \