Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0 |
Jens Axboe | 3a65dfe | 2005-11-04 08:43:35 +0100 | [diff] [blame] | 2 | # |
| 3 | # Makefile for the kernel block layer |
| 4 | # |
| 5 | |
Jens Axboe | 7ca0192 | 2018-10-24 03:39:36 -0600 | [diff] [blame] | 6 | obj-$(CONFIG_BLOCK) := bio.o elevator.o blk-core.o blk-sysfs.o \ |
Tejun Heo | 8839a0e | 2010-09-03 11:56:16 +0200 | [diff] [blame] | 7 | blk-flush.o blk-settings.o blk-ioc.o blk-map.o \ |
Christoph Hellwig | c3077b5 | 2020-06-11 08:44:41 +0200 | [diff] [blame] | 8 | blk-exec.o blk-merge.o blk-timeout.o \ |
Jens Axboe | cf43e6b | 2016-11-07 21:32:37 -0700 | [diff] [blame] | 9 | blk-lib.o blk-mq.o blk-mq-tag.o blk-stat.o \ |
Jens Axboe | bd166ef | 2017-01-17 06:03:22 -0700 | [diff] [blame] | 10 | blk-mq-sysfs.o blk-mq-cpumap.o blk-mq-sched.o ioctl.o \ |
Christoph Hellwig | 387048b | 2020-03-24 08:25:30 +0100 | [diff] [blame] | 11 | genhd.o ioprio.o badblocks.o partitions/ blk-rq-qos.o |
Jens Axboe | 3a65dfe | 2005-11-04 08:43:35 +0100 | [diff] [blame] | 12 | |
Christoph Hellwig | 72148ae | 2017-01-28 09:32:51 +0100 | [diff] [blame] | 13 | obj-$(CONFIG_BOUNCE) += bounce.o |
| 14 | obj-$(CONFIG_BLK_SCSI_REQUEST) += scsi_ioctl.o |
Jens Axboe | 3d6392c | 2007-07-09 12:38:05 +0200 | [diff] [blame] | 15 | obj-$(CONFIG_BLK_DEV_BSG) += bsg.o |
Mike Christie | aa387cc | 2011-07-31 22:05:09 +0200 | [diff] [blame] | 16 | obj-$(CONFIG_BLK_DEV_BSGLIB) += bsg-lib.o |
Vivek Goyal | 31e4c28 | 2009-12-03 12:59:42 -0500 | [diff] [blame] | 17 | obj-$(CONFIG_BLK_CGROUP) += blk-cgroup.o |
Tejun Heo | 1d156646 | 2019-11-07 11:18:04 -0800 | [diff] [blame] | 18 | obj-$(CONFIG_BLK_CGROUP_RWSTAT) += blk-cgroup-rwstat.o |
Vivek Goyal | e43473b | 2010-09-15 17:06:35 -0400 | [diff] [blame] | 19 | obj-$(CONFIG_BLK_DEV_THROTTLING) += blk-throttle.o |
Bart Van Assche | 46d6ae0 | 2021-06-03 14:49:29 -0700 | [diff] [blame] | 20 | obj-$(CONFIG_BLK_CGROUP_IOPRIO) += blk-ioprio.o |
Josef Bacik | d706751 | 2018-07-03 11:15:01 -0400 | [diff] [blame] | 21 | obj-$(CONFIG_BLK_CGROUP_IOLATENCY) += blk-iolatency.o |
Tejun Heo | 7caa471 | 2019-08-28 15:05:58 -0700 | [diff] [blame] | 22 | obj-$(CONFIG_BLK_CGROUP_IOCOST) += blk-iocost.o |
Jens Axboe | 945ffb6 | 2017-01-14 17:11:11 -0700 | [diff] [blame] | 23 | obj-$(CONFIG_MQ_IOSCHED_DEADLINE) += mq-deadline.o |
Bart Van Assche | 855265c | 2021-06-11 16:48:32 -0700 | [diff] [blame] | 24 | mq-deadline-y += mq-deadline-main.o |
| 25 | mq-deadline-$(CONFIG_MQ_IOSCHED_DEADLINE_CGROUP)+= mq-deadline-cgroup.o |
Omar Sandoval | 00e0439 | 2017-04-14 01:00:02 -0700 | [diff] [blame] | 26 | obj-$(CONFIG_MQ_IOSCHED_KYBER) += kyber-iosched.o |
Paolo Valente | ea25da4 | 2017-04-19 08:48:24 -0600 | [diff] [blame] | 27 | bfq-y := bfq-iosched.o bfq-wf2q.o bfq-cgroup.o |
| 28 | obj-$(CONFIG_IOSCHED_BFQ) += bfq.o |
Jens Axboe | 2056a78 | 2006-03-23 20:00:26 +0100 | [diff] [blame] | 29 | |
Paul Gortmaker | 080506a | 2013-09-30 13:45:19 -0700 | [diff] [blame] | 30 | obj-$(CONFIG_BLK_CMDLINE_PARSER) += cmdline-parser.o |
Herbert Xu | a754bd5 | 2019-12-23 16:13:51 +0800 | [diff] [blame] | 31 | obj-$(CONFIG_BLK_DEV_INTEGRITY) += bio-integrity.o blk-integrity.o |
| 32 | obj-$(CONFIG_BLK_DEV_INTEGRITY_T10) += t10-pi.o |
Stephen Rothwell | 8ec2ef2 | 2016-09-19 15:50:16 +1000 | [diff] [blame] | 33 | obj-$(CONFIG_BLK_MQ_PCI) += blk-mq-pci.o |
Christoph Hellwig | 7347342 | 2017-02-05 18:15:24 +0100 | [diff] [blame] | 34 | obj-$(CONFIG_BLK_MQ_VIRTIO) += blk-mq-virtio.o |
Sagi Grimberg | 24c5dc6 | 2017-07-13 11:09:43 +0300 | [diff] [blame] | 35 | obj-$(CONFIG_BLK_MQ_RDMA) += blk-mq-rdma.o |
Hannes Reinecke | 6a0cb1b | 2016-10-18 15:40:33 +0900 | [diff] [blame] | 36 | obj-$(CONFIG_BLK_DEV_ZONED) += blk-zoned.o |
Jens Axboe | e34cbd3 | 2016-11-09 12:36:15 -0700 | [diff] [blame] | 37 | obj-$(CONFIG_BLK_WBT) += blk-wbt.o |
Omar Sandoval | 400f73b | 2017-01-27 15:03:01 -0700 | [diff] [blame] | 38 | obj-$(CONFIG_BLK_DEBUG_FS) += blk-mq-debugfs.o |
Bart Van Assche | 6a5ac98 | 2018-06-15 14:55:21 -0700 | [diff] [blame] | 39 | obj-$(CONFIG_BLK_DEBUG_FS_ZONED)+= blk-mq-debugfs-zoned.o |
Scott Bauer | 455a7b2 | 2017-02-03 12:50:31 -0700 | [diff] [blame] | 40 | obj-$(CONFIG_BLK_SED_OPAL) += sed-opal.o |
Bart Van Assche | bca6b06 | 2018-09-26 14:01:03 -0700 | [diff] [blame] | 41 | obj-$(CONFIG_BLK_PM) += blk-pm.o |
Satya Tangirala | a892c8d | 2020-05-14 00:37:18 +0000 | [diff] [blame] | 42 | obj-$(CONFIG_BLK_INLINE_ENCRYPTION) += keyslot-manager.o blk-crypto.o |
Satya Tangirala | 488f668 | 2020-05-14 00:37:20 +0000 | [diff] [blame] | 43 | obj-$(CONFIG_BLK_INLINE_ENCRYPTION_FALLBACK) += blk-crypto-fallback.o |