Merge tag 'dax-fixes-6.1-rc8' of git://git.kernel.org/pub/scm/linux/kernel/git/nvdimm...
[platform/kernel/linux-starfive.git] / block / Makefile
1 # SPDX-License-Identifier: GPL-2.0
2 #
3 # Makefile for the kernel block layer
4 #
5
6 obj-y           := bdev.o fops.o bio.o elevator.o blk-core.o blk-sysfs.o \
7                         blk-flush.o blk-settings.o blk-ioc.o blk-map.o \
8                         blk-merge.o blk-timeout.o \
9                         blk-lib.o blk-mq.o blk-mq-tag.o blk-stat.o \
10                         blk-mq-sysfs.o blk-mq-cpumap.o blk-mq-sched.o ioctl.o \
11                         genhd.o ioprio.o badblocks.o partitions/ blk-rq-qos.o \
12                         disk-events.o blk-ia-ranges.o
13
14 obj-$(CONFIG_BOUNCE)            += bounce.o
15 obj-$(CONFIG_BLK_DEV_BSG_COMMON) += bsg.o
16 obj-$(CONFIG_BLK_DEV_BSGLIB)    += bsg-lib.o
17 obj-$(CONFIG_BLK_CGROUP)        += blk-cgroup.o
18 obj-$(CONFIG_BLK_CGROUP_RWSTAT) += blk-cgroup-rwstat.o
19 obj-$(CONFIG_BLK_CGROUP_FC_APPID) += blk-cgroup-fc-appid.o
20 obj-$(CONFIG_BLK_DEV_THROTTLING)        += blk-throttle.o
21 obj-$(CONFIG_BLK_CGROUP_IOPRIO) += blk-ioprio.o
22 obj-$(CONFIG_BLK_CGROUP_IOLATENCY)      += blk-iolatency.o
23 obj-$(CONFIG_BLK_CGROUP_IOCOST) += blk-iocost.o
24 obj-$(CONFIG_MQ_IOSCHED_DEADLINE)       += mq-deadline.o
25 obj-$(CONFIG_MQ_IOSCHED_KYBER)  += kyber-iosched.o
26 bfq-y                           := bfq-iosched.o bfq-wf2q.o bfq-cgroup.o
27 obj-$(CONFIG_IOSCHED_BFQ)       += bfq.o
28
29 obj-$(CONFIG_BLK_DEV_INTEGRITY) += bio-integrity.o blk-integrity.o
30 obj-$(CONFIG_BLK_DEV_INTEGRITY_T10)     += t10-pi.o
31 obj-$(CONFIG_BLK_MQ_PCI)        += blk-mq-pci.o
32 obj-$(CONFIG_BLK_MQ_VIRTIO)     += blk-mq-virtio.o
33 obj-$(CONFIG_BLK_MQ_RDMA)       += blk-mq-rdma.o
34 obj-$(CONFIG_BLK_DEV_ZONED)     += blk-zoned.o
35 obj-$(CONFIG_BLK_WBT)           += blk-wbt.o
36 obj-$(CONFIG_BLK_DEBUG_FS)      += blk-mq-debugfs.o
37 obj-$(CONFIG_BLK_DEBUG_FS_ZONED)+= blk-mq-debugfs-zoned.o
38 obj-$(CONFIG_BLK_SED_OPAL)      += sed-opal.o
39 obj-$(CONFIG_BLK_PM)            += blk-pm.o
40 obj-$(CONFIG_BLK_INLINE_ENCRYPTION)     += blk-crypto.o blk-crypto-profile.o \
41                                            blk-crypto-sysfs.o
42 obj-$(CONFIG_BLK_INLINE_ENCRYPTION_FALLBACK)    += blk-crypto-fallback.o
43 obj-$(CONFIG_BLOCK_HOLDER_DEPRECATED)   += holder.o