summaryrefslogtreecommitdiffstats
path: root/fs/fat/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'fs/fat/Makefile')
-rw-r--r--fs/fat/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/fat/Makefile b/fs/fat/Makefile
index 93b6f07389..9635d36fcf 100644
--- a/fs/fat/Makefile
+++ b/fs/fat/Makefile
@@ -25,6 +25,7 @@ LIB = $(obj)libfat.o
AOBJS =
COBJS-$(CONFIG_CMD_FAT) := fat.o
+COBJS-$(CONFIG_FAT_WRITE):= fat_write.o
ifndef CONFIG_SPL_BUILD
COBJS-$(CONFIG_CMD_FAT) += file.o
OpenPOWER on IntegriCloud