xref: /openbmc/linux/fs/iomap/Makefile (revision 25c2e591)
1# SPDX-License-Identifier: GPL-2.0-or-later
2#
3# Copyright (c) 2019 Oracle.
4# All Rights Reserved.
5#
6
7ccflags-y += -I $(srctree)/$(src)		# needed for trace events
8
9obj-$(CONFIG_FS_IOMAP)		+= iomap.o
10
11iomap-y				+= trace.o \
12				   iter.o
13iomap-$(CONFIG_BLOCK)		+= buffered-io.o \
14				   direct-io.o \
15				   fiemap.o \
16				   seek.o
17iomap-$(CONFIG_SWAP)		+= swapfile.o
18