summaryrefslogtreecommitdiff
path: root/fs/netfs/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'fs/netfs/Makefile')
-rw-r--r--fs/netfs/Makefile36
1 files changed, 36 insertions, 0 deletions
diff --git a/fs/netfs/Makefile b/fs/netfs/Makefile
new file mode 100644
index 000000000000..b43188d64bd8
--- /dev/null
+++ b/fs/netfs/Makefile
@@ -0,0 +1,36 @@
+# SPDX-License-Identifier: GPL-2.0
+
+netfs-y := \
+ buffered_read.o \
+ buffered_write.o \
+ direct_read.o \
+ direct_write.o \
+ iterator.o \
+ locking.o \
+ main.o \
+ misc.o \
+ objects.o \
+ read_collect.o \
+ read_pgpriv2.o \
+ read_retry.o \
+ read_single.o \
+ rolling_buffer.o \
+ write_collect.o \
+ write_issue.o \
+ write_retry.o
+
+netfs-$(CONFIG_NETFS_STATS) += stats.o
+
+netfs-$(CONFIG_FSCACHE) += \
+ fscache_cache.o \
+ fscache_cookie.o \
+ fscache_io.o \
+ fscache_main.o \
+ fscache_volume.o
+
+ifeq ($(CONFIG_PROC_FS),y)
+netfs-$(CONFIG_FSCACHE) += fscache_proc.o
+endif
+netfs-$(CONFIG_FSCACHE_STATS) += fscache_stats.o
+
+obj-$(CONFIG_NETFS_SUPPORT) += netfs.o