]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - fs/Makefile
Merge remote-tracking branch 'u-boot-imx/master'
[karo-tx-uboot.git] / fs / Makefile
index 95ac0e93fe2ca40e955b4fc844f3f3f9267d0744..b4db606236034ceed449bb315c892dd14d3104c5 100644 (file)
 #
 #
 
-SUBDIRS        := jffs2 cramfs fdos fat reiserfs ext2 yaffs2
+subdirs-$(CONFIG_CMD_CBFS) += cbfs
+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 \