X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=fs%2FMakefile;h=22aad126bc2b6c2e95be088f70cb8694e1c9741c;hb=4d69e98c068ed0d3533a61b64fe06d0d1b870aaf;hp=95ac0e93fe2ca40e955b4fc844f3f3f9267d0744;hpb=d3c23a790fb24f9cb5cc467b81b0c3ad3eeb1f96;p=u-boot diff --git a/fs/Makefile b/fs/Makefile index 95ac0e93fe..22aad126bc 100644 --- a/fs/Makefile +++ b/fs/Makefile @@ -22,7 +22,16 @@ # # -SUBDIRS := jffs2 cramfs fdos fat reiserfs ext2 yaffs2 +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 \