xref: /linux/block/Makefile (revision a1ff5a7d78a036d6c2178ee5acd6ba4946243800)
1b2441318SGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0
23a65dfe8SJens Axboe#
33a65dfe8SJens Axboe# Makefile for the kernel block layer
43a65dfe8SJens Axboe#
53a65dfe8SJens Axboe
64c928904SMasahiro Yamadaobj-y		:= bdev.o fops.o bio.o elevator.o blk-core.o blk-sysfs.o \
78839a0e0STejun Heo			blk-flush.o blk-settings.o blk-ioc.o blk-map.o \
84054cff9SChristoph Hellwig			blk-merge.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 \
11d5870edfSChristoph Hellwig			genhd.o ioprio.o badblocks.o partitions/ blk-rq-qos.o \
12702f3189SChristoph Hellwig			disk-events.o blk-ia-ranges.o early-lookup.o
133a65dfe8SJens Axboe
14719c555fSJens Axboeobj-$(CONFIG_BOUNCE)		+= bounce.o
1578011042SChristoph Hellwigobj-$(CONFIG_BLK_DEV_BSG_COMMON) += bsg.o
16aa387cc8SMike Christieobj-$(CONFIG_BLK_DEV_BSGLIB)	+= bsg-lib.o
1731e4c28dSVivek Goyalobj-$(CONFIG_BLK_CGROUP)	+= blk-cgroup.o
181d156646STejun Heoobj-$(CONFIG_BLK_CGROUP_RWSTAT)	+= blk-cgroup-rwstat.o
19db056284SChristoph Hellwigobj-$(CONFIG_BLK_CGROUP_FC_APPID) += blk-cgroup-fc-appid.o
20e43473b7SVivek Goyalobj-$(CONFIG_BLK_DEV_THROTTLING)	+= blk-throttle.o
21556910e3SBart Van Asscheobj-$(CONFIG_BLK_CGROUP_IOPRIO)	+= blk-ioprio.o
22d7067512SJosef Bacikobj-$(CONFIG_BLK_CGROUP_IOLATENCY)	+= blk-iolatency.o
237caa4715STejun Heoobj-$(CONFIG_BLK_CGROUP_IOCOST)	+= blk-iocost.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
29*e9f5f44aSChristoph Hellwigobj-$(CONFIG_BLK_DEV_INTEGRITY) += bio-integrity.o blk-integrity.o t10-pi.o
308ec2ef2bSStephen Rothwellobj-$(CONFIG_BLK_MQ_PCI)	+= blk-mq-pci.o
3173473427SChristoph Hellwigobj-$(CONFIG_BLK_MQ_VIRTIO)	+= blk-mq-virtio.o
326a0cb1bcSHannes Reineckeobj-$(CONFIG_BLK_DEV_ZONED)	+= blk-zoned.o
33e34cbd30SJens Axboeobj-$(CONFIG_BLK_WBT)		+= blk-wbt.o
34400f73b2SOmar Sandovalobj-$(CONFIG_BLK_DEBUG_FS)	+= blk-mq-debugfs.o
35455a7b23SScott Bauerobj-$(CONFIG_BLK_SED_OPAL)	+= sed-opal.o
36bca6b067SBart Van Asscheobj-$(CONFIG_BLK_PM)		+= blk-pm.o
3720f01f16SEric Biggersobj-$(CONFIG_BLK_INLINE_ENCRYPTION)	+= blk-crypto.o blk-crypto-profile.o \
3820f01f16SEric Biggers					   blk-crypto-sysfs.o
39488f6682SSatya Tangiralaobj-$(CONFIG_BLK_INLINE_ENCRYPTION_FALLBACK)	+= blk-crypto-fallback.o
40c66fd019SChristoph Hellwigobj-$(CONFIG_BLOCK_HOLDER_DEPRECATED)	+= holder.o
41