Makefile 649 B

123456789101112131415161718192021222324252627282930313233343536
  1. # SPDX-License-Identifier: GPL-2.0
  2. netfs-y := \
  3. buffered_read.o \
  4. buffered_write.o \
  5. direct_read.o \
  6. direct_write.o \
  7. iterator.o \
  8. locking.o \
  9. main.o \
  10. misc.o \
  11. objects.o \
  12. read_collect.o \
  13. read_pgpriv2.o \
  14. read_retry.o \
  15. read_single.o \
  16. rolling_buffer.o \
  17. write_collect.o \
  18. write_issue.o \
  19. write_retry.o
  20. netfs-$(CONFIG_NETFS_STATS) += stats.o
  21. netfs-$(CONFIG_FSCACHE) += \
  22. fscache_cache.o \
  23. fscache_cookie.o \
  24. fscache_io.o \
  25. fscache_main.o \
  26. fscache_volume.o
  27. ifeq ($(CONFIG_PROC_FS),y)
  28. netfs-$(CONFIG_FSCACHE) += fscache_proc.o
  29. endif
  30. netfs-$(CONFIG_FSCACHE_STATS) += fscache_stats.o
  31. obj-$(CONFIG_NETFS_SUPPORT) += netfs.o