X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=fs%2FMakefile;h=8bbd5632493cf7ab4b6e87b87a3788281aa62455;hb=362c943347364e9373af4c5530778491ab56ec2e;hp=204be2c269322e5da35e17aed364f21030a60142;hpb=8bde7f776c77b343aca29b8c7b58464d915ac245;p=oweals%2Fu-boot.git diff --git a/fs/Makefile b/fs/Makefile index 204be2c269..8bbd563249 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,16 @@ # # -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 -.depend all: +SUBDIRS := $(subdirs-y) + +$(obj).depend all: @for dir in $(SUBDIRS) ; do \ $(MAKE) -C $$dir $@ ; done