X-Git-Url: https://git.kernelconcepts.de/?a=blobdiff_plain;f=fs%2FMakefile;h=22aad126bc2b6c2e95be088f70cb8694e1c9741c;hb=f745817e741e4251afbd9d5d7f04b2419f4aa9d9;hp=79cbdeaa7a9dd271bd3c32577053c2c6dfbef123;hpb=2b9187127f6c1fe23adcbec3c390b9bf87779100;p=karo-tx-uboot.git diff --git a/fs/Makefile b/fs/Makefile index 79cbdeaa7a..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 cramfs fdos fat reiserfs ext2 +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