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 | f9c78b2 | 2014-05-19 08:16:41 -0600 | [diff] [blame] | 6 | obj-$(CONFIG_BLOCK) := bio.o elevator.o blk-core.o blk-tag.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 \ |
Jens Axboe | 242f9dc | 2008-09-14 05:55:09 -0700 | [diff] [blame] | 8 | blk-exec.o blk-merge.o blk-softirq.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 | 72148ae | 2017-01-28 09:32:51 +0100 | [diff] [blame] | 11 | genhd.o partition-generic.o ioprio.o \ |
Vishal Verma | 9e0e252 | 2015-12-24 19:20:32 -0700 | [diff] [blame] | 12 | badblocks.o partitions/ |
Jens Axboe | 3a65dfe | 2005-11-04 08:43:35 +0100 | [diff] [blame] | 13 | |
Christoph Hellwig | 72148ae | 2017-01-28 09:32:51 +0100 | [diff] [blame] | 14 | obj-$(CONFIG_BOUNCE) += bounce.o |
| 15 | obj-$(CONFIG_BLK_SCSI_REQUEST) += scsi_ioctl.o |
Jens Axboe | 3d6392c | 2007-07-09 12:38:05 +0200 | [diff] [blame] | 16 | obj-$(CONFIG_BLK_DEV_BSG) += bsg.o |
Mike Christie | aa387cc | 2011-07-31 22:05:09 +0200 | [diff] [blame] | 17 | obj-$(CONFIG_BLK_DEV_BSGLIB) += bsg-lib.o |
Vivek Goyal | 31e4c28 | 2009-12-03 12:59:42 -0500 | [diff] [blame] | 18 | obj-$(CONFIG_BLK_CGROUP) += blk-cgroup.o |
Vivek Goyal | e43473b | 2010-09-15 17:06:35 -0400 | [diff] [blame] | 19 | obj-$(CONFIG_BLK_DEV_THROTTLING) += blk-throttle.o |
Jens Axboe | 3a65dfe | 2005-11-04 08:43:35 +0100 | [diff] [blame] | 20 | obj-$(CONFIG_IOSCHED_NOOP) += noop-iosched.o |
Jens Axboe | 3a65dfe | 2005-11-04 08:43:35 +0100 | [diff] [blame] | 21 | obj-$(CONFIG_IOSCHED_DEADLINE) += deadline-iosched.o |
| 22 | obj-$(CONFIG_IOSCHED_CFQ) += cfq-iosched.o |
Jens Axboe | 945ffb6 | 2017-01-14 17:11:11 -0700 | [diff] [blame] | 23 | obj-$(CONFIG_MQ_IOSCHED_DEADLINE) += mq-deadline.o |
Omar Sandoval | 00e0439 | 2017-04-14 01:00:02 -0700 | [diff] [blame] | 24 | obj-$(CONFIG_MQ_IOSCHED_KYBER) += kyber-iosched.o |
Paolo Valente | ea25da4 | 2017-04-19 08:48:24 -0600 | [diff] [blame] | 25 | bfq-y := bfq-iosched.o bfq-wf2q.o bfq-cgroup.o |
| 26 | obj-$(CONFIG_IOSCHED_BFQ) += bfq.o |
Jens Axboe | 2056a78 | 2006-03-23 20:00:26 +0100 | [diff] [blame] | 27 | |
Jens Axboe | 99874d5 | 2007-10-12 12:50:41 +0200 | [diff] [blame] | 28 | obj-$(CONFIG_BLOCK_COMPAT) += compat_ioctl.o |
Paul Gortmaker | 080506a | 2013-09-30 13:45:19 -0700 | [diff] [blame] | 29 | obj-$(CONFIG_BLK_CMDLINE_PARSER) += cmdline-parser.o |
Martin K. Petersen | 2341c2f | 2014-09-26 19:20:07 -0400 | [diff] [blame] | 30 | obj-$(CONFIG_BLK_DEV_INTEGRITY) += bio-integrity.o blk-integrity.o t10-pi.o |
Stephen Rothwell | 8ec2ef2 | 2016-09-19 15:50:16 +1000 | [diff] [blame] | 31 | obj-$(CONFIG_BLK_MQ_PCI) += blk-mq-pci.o |
Christoph Hellwig | 7347342 | 2017-02-05 18:15:24 +0100 | [diff] [blame] | 32 | obj-$(CONFIG_BLK_MQ_VIRTIO) += blk-mq-virtio.o |
Sagi Grimberg | 24c5dc6 | 2017-07-13 11:09:43 +0300 | [diff] [blame] | 33 | obj-$(CONFIG_BLK_MQ_RDMA) += blk-mq-rdma.o |
Hannes Reinecke | 6a0cb1b | 2016-10-18 15:40:33 +0900 | [diff] [blame] | 34 | obj-$(CONFIG_BLK_DEV_ZONED) += blk-zoned.o |
Jens Axboe | e34cbd3 | 2016-11-09 12:36:15 -0700 | [diff] [blame] | 35 | obj-$(CONFIG_BLK_WBT) += blk-wbt.o |
Omar Sandoval | 400f73b | 2017-01-27 15:03:01 -0700 | [diff] [blame] | 36 | obj-$(CONFIG_BLK_DEBUG_FS) += blk-mq-debugfs.o |
Scott Bauer | 455a7b2 | 2017-02-03 12:50:31 -0700 | [diff] [blame] | 37 | obj-$(CONFIG_BLK_SED_OPAL) += sed-opal.o |