]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - fs/Makefile
74xx_7xx: Fix rounding problem in CPU frequency calculation
[karo-tx-uboot.git] / fs / Makefile
index c773003737f41c7e1211307d9715aad6df9f35c7..22aad126bc2b6c2e95be088f70cb8694e1c9741c 100644 (file)
@@ -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
 #
 #
 
-SUBDIRS        := jffs2 cramfs 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