xref: /openbmc/linux/block/Makefile (revision 8ee90c5c)
1#
2# Makefile for the kernel block layer
3#
4
5obj-$(CONFIG_BLOCK) := bio.o elevator.o blk-core.o blk-tag.o blk-sysfs.o \
6			blk-flush.o blk-settings.o blk-ioc.o blk-map.o \
7			blk-exec.o blk-merge.o blk-softirq.o blk-timeout.o \
8			blk-lib.o blk-mq.o blk-mq-tag.o blk-stat.o \
9			blk-mq-sysfs.o blk-mq-cpumap.o blk-mq-sched.o ioctl.o \
10			genhd.o partition-generic.o ioprio.o \
11			badblocks.o partitions/
12
13obj-$(CONFIG_BOUNCE)		+= bounce.o
14obj-$(CONFIG_BLK_SCSI_REQUEST)	+= scsi_ioctl.o
15obj-$(CONFIG_BLK_DEV_BSG)	+= bsg.o
16obj-$(CONFIG_BLK_DEV_BSGLIB)	+= bsg-lib.o
17obj-$(CONFIG_BLK_CGROUP)	+= blk-cgroup.o
18obj-$(CONFIG_BLK_DEV_THROTTLING)	+= blk-throttle.o
19obj-$(CONFIG_IOSCHED_NOOP)	+= noop-iosched.o
20obj-$(CONFIG_IOSCHED_DEADLINE)	+= deadline-iosched.o
21obj-$(CONFIG_IOSCHED_CFQ)	+= cfq-iosched.o
22obj-$(CONFIG_MQ_IOSCHED_DEADLINE)	+= mq-deadline.o
23obj-$(CONFIG_MQ_IOSCHED_KYBER)	+= kyber-iosched.o
24bfq-y				:= bfq-iosched.o bfq-wf2q.o bfq-cgroup.o
25obj-$(CONFIG_IOSCHED_BFQ)	+= bfq.o
26
27obj-$(CONFIG_BLOCK_COMPAT)	+= compat_ioctl.o
28obj-$(CONFIG_BLK_CMDLINE_PARSER)	+= cmdline-parser.o
29obj-$(CONFIG_BLK_DEV_INTEGRITY) += bio-integrity.o blk-integrity.o t10-pi.o
30obj-$(CONFIG_BLK_MQ_PCI)	+= blk-mq-pci.o
31obj-$(CONFIG_BLK_MQ_VIRTIO)	+= blk-mq-virtio.o
32obj-$(CONFIG_BLK_MQ_RDMA)	+= blk-mq-rdma.o
33obj-$(CONFIG_BLK_DEV_ZONED)	+= blk-zoned.o
34obj-$(CONFIG_BLK_WBT)		+= blk-wbt.o
35obj-$(CONFIG_BLK_DEBUG_FS)	+= blk-mq-debugfs.o
36obj-$(CONFIG_BLK_SED_OPAL)	+= sed-opal.o
37