kernel Makefile won't work after moving cache handling into a separated file.
[yaffs2.git] / Makefile
index c82fdbda1e0266fe6fb2ce1522c6319b4ea0baa4..5600eff5abe7eb67c6597a27e591aafe8d80c91b 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -6,8 +6,7 @@
 #
 # YAFFS: Yet Another Flash File System. A NAND-flash specific file system.
 #
-# Copyright (C) 2002-2010 Aleph One Ltd.
-#   for Toby Churchill Ltd and Brightstar Engineering
+# Copyright (C) 2002-2018 Aleph One Ltd.
 #
 # Created by Charles Manning <charles@aleph1.co.uk>
 #
@@ -27,7 +26,8 @@ ifneq ($(KERNELRELEASE),)
 
        obj-m := $(YAFFS_O)
 
-       yaffs2-objs := yaffs_mtdif_single.o
+       yaffs2-objs := yaffs_cache.o
+       yaffs2-objs += yaffs_mtdif_single.o
        yaffs2-objs += yaffs_packedtags1.o
        yaffs2-objs += yaffs_ecc.o yaffs_vfs_single.o yaffs_guts.o
        yaffs2-objs += yaffs_packedtags2.o
@@ -42,7 +42,8 @@ ifneq ($(KERNELRELEASE),)
        yaffs2-objs += yaffs_endian.o
        yaffs2-objs += yaffs_summary.o
 
-       yaffs2multi-objs := yaffs_mtdif_multi.o
+       yaffs2multi-objs := yaffs_cache.o
+       yaffs2multi-objs += yaffs_mtdif_multi.o
        yaffs2multi-objs += yaffs_packedtags1.o
        yaffs2multi-objs += yaffs_ecc.o yaffs_vfs_multi.o yaffs_guts.o
        yaffs2multi-objs += yaffs_packedtags2.o