summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.m@jp.panasonic.com>2013-11-11 14:36:09 +0900
committerTom Rini <trini@ti.com>2013-11-17 14:11:34 -0500
commit57c3e5fcf2cbc791d9507c8b8c09df1ef21c043a (patch)
treeb2a80a01edbdbb0b5c8664d8c8840a538f44ceff /fs
parenta52f90f074a84880f8cb13e060e9ca5f3c7d9c2f (diff)
Makefile: move fs/fat/ entry to drivers/Makefile
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com> Cc: Simon Glass <sjg@chromium.org> Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'fs')
-rw-r--r--fs/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/fs/Makefile b/fs/Makefile
index bdcd74631d6..ee01a7d4a10 100644
--- a/fs/Makefile
+++ b/fs/Makefile
@@ -6,11 +6,15 @@
# SPDX-License-Identifier: GPL-2.0+
#
+ifdef CONFIG_SPL_BUILD
+obj-$(CONFIG_SPL_FAT_SUPPORT) += fat/
+else
obj-y += fs.o
obj-y += cbfs/
obj-y += cramfs/
obj-y += ext4/
+obj-y += fat/
obj-y += fdos/
obj-y += jffs2/
obj-y += reiserfs/
@@ -18,3 +22,4 @@ obj-y += sandbox/
obj-y += ubifs/
obj-y += yaffs2/
obj-y += zfs/
+endif