summaryrefslogtreecommitdiff
path: root/fs/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'fs/Makefile')
-rw-r--r--fs/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/fs/Makefile b/fs/Makefile
index bdcd746..ee01a7d 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