blob: bfbe4e13ca1ef244b0b97718a8e1be9ae2db119f [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001# SPDX-License-Identifier: GPL-2.0
Jens Axboe3a65dfe2005-11-04 08:43:35 +01002#
3# Makefile for the kernel block layer
4#
5
Jens Axboe7ca01922018-10-24 03:39:36 -06006obj-$(CONFIG_BLOCK) := bio.o elevator.o blk-core.o blk-sysfs.o \
Tejun Heo8839a0e2010-09-03 11:56:16 +02007 blk-flush.o blk-settings.o blk-ioc.o blk-map.o \
Christoph Hellwigc3077b52020-06-11 08:44:41 +02008 blk-exec.o blk-merge.o blk-timeout.o \
Jens Axboecf43e6b2016-11-07 21:32:37 -07009 blk-lib.o blk-mq.o blk-mq-tag.o blk-stat.o \
Jens Axboebd166ef2017-01-17 06:03:22 -070010 blk-mq-sysfs.o blk-mq-cpumap.o blk-mq-sched.o ioctl.o \
Christoph Hellwigd5870ed2021-06-24 09:38:42 +020011 genhd.o ioprio.o badblocks.o partitions/ blk-rq-qos.o \
12 disk-events.o
Jens Axboe3a65dfe2005-11-04 08:43:35 +010013
Christoph Hellwig72148ae2017-01-28 09:32:51 +010014obj-$(CONFIG_BOUNCE) += bounce.o
15obj-$(CONFIG_BLK_SCSI_REQUEST) += scsi_ioctl.o
Jens Axboe3d6392c2007-07-09 12:38:05 +020016obj-$(CONFIG_BLK_DEV_BSG) += bsg.o
Mike Christieaa387cc2011-07-31 22:05:09 +020017obj-$(CONFIG_BLK_DEV_BSGLIB) += bsg-lib.o
Vivek Goyal31e4c282009-12-03 12:59:42 -050018obj-$(CONFIG_BLK_CGROUP) += blk-cgroup.o
Tejun Heo1d1566462019-11-07 11:18:04 -080019obj-$(CONFIG_BLK_CGROUP_RWSTAT) += blk-cgroup-rwstat.o
Vivek Goyale43473b2010-09-15 17:06:35 -040020obj-$(CONFIG_BLK_DEV_THROTTLING) += blk-throttle.o
Bart Van Assche556910e2021-06-17 17:44:44 -070021obj-$(CONFIG_BLK_CGROUP_IOPRIO) += blk-ioprio.o
Josef Bacikd7067512018-07-03 11:15:01 -040022obj-$(CONFIG_BLK_CGROUP_IOLATENCY) += blk-iolatency.o
Tejun Heo7caa4712019-08-28 15:05:58 -070023obj-$(CONFIG_BLK_CGROUP_IOCOST) += blk-iocost.o
Jens Axboe945ffb62017-01-14 17:11:11 -070024obj-$(CONFIG_MQ_IOSCHED_DEADLINE) += mq-deadline.o
Bart Van Assche08a9ad82021-06-17 17:44:55 -070025mq-deadline-y += mq-deadline-main.o
26mq-deadline-$(CONFIG_MQ_IOSCHED_DEADLINE_CGROUP)+= mq-deadline-cgroup.o
Omar Sandoval00e04392017-04-14 01:00:02 -070027obj-$(CONFIG_MQ_IOSCHED_KYBER) += kyber-iosched.o
Paolo Valenteea25da42017-04-19 08:48:24 -060028bfq-y := bfq-iosched.o bfq-wf2q.o bfq-cgroup.o
29obj-$(CONFIG_IOSCHED_BFQ) += bfq.o
Jens Axboe2056a782006-03-23 20:00:26 +010030
Paul Gortmaker080506a2013-09-30 13:45:19 -070031obj-$(CONFIG_BLK_CMDLINE_PARSER) += cmdline-parser.o
Herbert Xua754bd52019-12-23 16:13:51 +080032obj-$(CONFIG_BLK_DEV_INTEGRITY) += bio-integrity.o blk-integrity.o
33obj-$(CONFIG_BLK_DEV_INTEGRITY_T10) += t10-pi.o
Stephen Rothwell8ec2ef22016-09-19 15:50:16 +100034obj-$(CONFIG_BLK_MQ_PCI) += blk-mq-pci.o
Christoph Hellwig73473422017-02-05 18:15:24 +010035obj-$(CONFIG_BLK_MQ_VIRTIO) += blk-mq-virtio.o
Sagi Grimberg24c5dc62017-07-13 11:09:43 +030036obj-$(CONFIG_BLK_MQ_RDMA) += blk-mq-rdma.o
Hannes Reinecke6a0cb1b2016-10-18 15:40:33 +090037obj-$(CONFIG_BLK_DEV_ZONED) += blk-zoned.o
Jens Axboee34cbd32016-11-09 12:36:15 -070038obj-$(CONFIG_BLK_WBT) += blk-wbt.o
Omar Sandoval400f73b2017-01-27 15:03:01 -070039obj-$(CONFIG_BLK_DEBUG_FS) += blk-mq-debugfs.o
Bart Van Assche6a5ac982018-06-15 14:55:21 -070040obj-$(CONFIG_BLK_DEBUG_FS_ZONED)+= blk-mq-debugfs-zoned.o
Scott Bauer455a7b22017-02-03 12:50:31 -070041obj-$(CONFIG_BLK_SED_OPAL) += sed-opal.o
Bart Van Asschebca6b062018-09-26 14:01:03 -070042obj-$(CONFIG_BLK_PM) += blk-pm.o
Satya Tangiralaa892c8d2020-05-14 00:37:18 +000043obj-$(CONFIG_BLK_INLINE_ENCRYPTION) += keyslot-manager.o blk-crypto.o
Satya Tangirala488f6682020-05-14 00:37:20 +000044obj-$(CONFIG_BLK_INLINE_ENCRYPTION_FALLBACK) += blk-crypto-fallback.o