mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-23 09:19:51 +00:00
![Christoph Hellwig](/assets/img/avatar_default.png)
Only build the block based iomap code if CONFIG_BLOCK is set. Currently that is always the case, but it will change soon. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Dan Williams <dan.j.williams@intel.com> Reviewed-by: Darrick J. Wong <djwong@kernel.org> Link: https://lore.kernel.org/r/20211129102203.2243509-29-hch@lst.de Signed-off-by: Dan Williams <dan.j.williams@intel.com>
17 lines
368 B
Makefile
17 lines
368 B
Makefile
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
#
|
|
# Copyright (c) 2019 Oracle.
|
|
# All Rights Reserved.
|
|
#
|
|
|
|
ccflags-y += -I $(srctree)/$(src) # needed for trace events
|
|
|
|
obj-$(CONFIG_FS_IOMAP) += iomap.o
|
|
|
|
iomap-y += trace.o \
|
|
iter.o
|
|
iomap-$(CONFIG_BLOCK) += buffered-io.o \
|
|
direct-io.o \
|
|
fiemap.o \
|
|
seek.o
|
|
iomap-$(CONFIG_SWAP) += swapfile.o
|