author: Christoph Hellwig <hch@lst.de> 2019-10-17 13:12:13 -0700
committer: Darrick J. Wong <darrick.wong@oracle.com> 2019-10-21 08:51:59 -0700
commit: 9e91c5728cab3d0aa3197d009c3d63e147914e77
parent: 009d8d849d3ff59b1a23d2df2c55f2130b2ec7f2
Commit Summary:
Diffstat:
1 file changed, 8 insertions, 7 deletions
diff --git a/fs/iomap/Makefile b/fs/iomap/Makefile
index 93cd11938bf5..eef2722d93a1 100644
--- a/fs/iomap/Makefile
+++ b/fs/iomap/Makefile
@@ -3,13 +3,15 @@
# Copyright (c) 2019 Oracle.
# All Rights Reserved.
#
-obj-$(CONFIG_FS_IOMAP) += iomap.o
-iomap-y += \
- apply.o \
- buffered-io.o \
- direct-io.o \
- fiemap.o \
- seek.o
+ccflags-y += -I $(srctree)/$(src) # needed for trace events
+
+obj-$(CONFIG_FS_IOMAP) += iomap.o
+iomap-y += trace.o \
+ apply.o \
+ buffered-io.o \
+ direct-io.o \
+ fiemap.o \
+ seek.o
iomap-$(CONFIG_SWAP) += swapfile.o