diff options
| author | Jean-Christophe PLAGNIOL-VILLARD <[email protected]> | 2008-08-31 04:24:56 +0200 |
|---|---|---|
| committer | Jean-Christophe PLAGNIOL-VILLARD <[email protected]> | 2008-08-31 04:24:56 +0200 |
| commit | 08ab4e1780fa63c88dd5a5ab52f4ff4ed1ee1878 (patch) | |
| tree | 0b8d061f6fd4b7ad68b94e509e644e5456a44613 /fs/Makefile | |
| parent | c1de7a6daf9c657484e1c6d433f01fccd49a7f48 (diff) | |
fs: Move conditional compilation to Makefile
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <[email protected]>
Diffstat (limited to 'fs/Makefile')
| -rw-r--r-- | fs/Makefile | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/fs/Makefile b/fs/Makefile index 95ac0e93fe2..8bbd5632493 100644 --- a/fs/Makefile +++ b/fs/Makefile @@ -22,7 +22,15 @@ # # -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 := $(subdirs-y) $(obj).depend all: @for dir in $(SUBDIRS) ; do \ |
