X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=fs%2FMakefile;h=22aad126bc2b6c2e95be088f70cb8694e1c9741c;hb=122e6e0a97f08b146b066eb384c8335c80214fd1;hp=204be2c269322e5da35e17aed364f21030a60142;hpb=8bde7f776c77b343aca29b8c7b58464d915ac245;p=u-boot diff --git a/fs/Makefile b/fs/Makefile index 204be2c269..22aad126bc 100644 --- a/fs/Makefile +++ b/fs/Makefile @@ -1,5 +1,5 @@ # -# (C) Copyright 2000, 2001 +# (C) Copyright 2000-2006 # Wolfgang Denk, DENX Software Engineering, wd@denx.de. # # See file CREDITS for list of people who contributed to this @@ -22,8 +22,17 @@ # # -SUBDIRS := jffs2 fdos fat +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 -.depend all: +SUBDIRS := $(subdirs-y) + +$(obj).depend all: @for dir in $(SUBDIRS) ; do \ $(MAKE) -C $$dir $@ ; done