xref: /linux/block/Makefile (revision d70675121546c35feaceebf7ed9caed8716640f3)
1b2441318SGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0
23a65dfe8SJens Axboe#
33a65dfe8SJens Axboe# Makefile for the kernel block layer
43a65dfe8SJens Axboe#
53a65dfe8SJens Axboe
6f9c78b2bSJens Axboeobj-$(CONFIG_BLOCK) := bio.o elevator.o blk-core.o blk-tag.o blk-sysfs.o \
78839a0e0STejun Heo			blk-flush.o blk-settings.o blk-ioc.o blk-map.o \
8242f9dcbSJens Axboe			blk-exec.o blk-merge.o blk-softirq.o blk-timeout.o \
9cf43e6beSJens Axboe			blk-lib.o blk-mq.o blk-mq-tag.o blk-stat.o \
10bd166ef1SJens Axboe			blk-mq-sysfs.o blk-mq-cpumap.o blk-mq-sched.o ioctl.o \
1172148aecSChristoph Hellwig			genhd.o partition-generic.o ioprio.o \
12a7905043SJosef Bacik			badblocks.o partitions/ blk-rq-qos.o
133a65dfe8SJens Axboe
14719c555fSJens Axboeobj-$(CONFIG_BOUNCE)		+= bounce.o
1572148aecSChristoph Hellwigobj-$(CONFIG_BLK_SCSI_REQUEST)	+= scsi_ioctl.o
163d6392cfSJens Axboeobj-$(CONFIG_BLK_DEV_BSG)	+= bsg.o
17aa387cc8SMike Christieobj-$(CONFIG_BLK_DEV_BSGLIB)	+= bsg-lib.o
1831e4c28dSVivek Goyalobj-$(CONFIG_BLK_CGROUP)	+= blk-cgroup.o
19e43473b7SVivek Goyalobj-$(CONFIG_BLK_DEV_THROTTLING)	+= blk-throttle.o
20*d7067512SJosef Bacikobj-$(CONFIG_BLK_CGROUP_IOLATENCY)	+= blk-iolatency.o
213a65dfe8SJens Axboeobj-$(CONFIG_IOSCHED_NOOP)	+= noop-iosched.o
223a65dfe8SJens Axboeobj-$(CONFIG_IOSCHED_DEADLINE)	+= deadline-iosched.o
233a65dfe8SJens Axboeobj-$(CONFIG_IOSCHED_CFQ)	+= cfq-iosched.o
24945ffb60SJens Axboeobj-$(CONFIG_MQ_IOSCHED_DEADLINE)	+= mq-deadline.o
2500e04393SOmar Sandovalobj-$(CONFIG_MQ_IOSCHED_KYBER)	+= kyber-iosched.o
26ea25da48SPaolo Valentebfq-y				:= bfq-iosched.o bfq-wf2q.o bfq-cgroup.o
27ea25da48SPaolo Valenteobj-$(CONFIG_IOSCHED_BFQ)	+= bfq.o
282056a782SJens Axboe
2999874d50SJens Axboeobj-$(CONFIG_BLOCK_COMPAT)	+= compat_ioctl.o
30080506adSPaul Gortmakerobj-$(CONFIG_BLK_CMDLINE_PARSER)	+= cmdline-parser.o
312341c2f8SMartin K. Petersenobj-$(CONFIG_BLK_DEV_INTEGRITY) += bio-integrity.o blk-integrity.o t10-pi.o
328ec2ef2bSStephen Rothwellobj-$(CONFIG_BLK_MQ_PCI)	+= blk-mq-pci.o
3373473427SChristoph Hellwigobj-$(CONFIG_BLK_MQ_VIRTIO)	+= blk-mq-virtio.o
3424c5dc66SSagi Grimbergobj-$(CONFIG_BLK_MQ_RDMA)	+= blk-mq-rdma.o
356a0cb1bcSHannes Reineckeobj-$(CONFIG_BLK_DEV_ZONED)	+= blk-zoned.o
36e34cbd30SJens Axboeobj-$(CONFIG_BLK_WBT)		+= blk-wbt.o
37400f73b2SOmar Sandovalobj-$(CONFIG_BLK_DEBUG_FS)	+= blk-mq-debugfs.o
386a5ac984SBart Van Asscheobj-$(CONFIG_BLK_DEBUG_FS_ZONED)+= blk-mq-debugfs-zoned.o
39455a7b23SScott Bauerobj-$(CONFIG_BLK_SED_OPAL)	+= sed-opal.o
40