Makefile 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. # SPDX-License-Identifier: GPL-2.0
  2. #
  3. # Makefile for the kernel block layer
  4. #
  5. obj-$(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/ blk-rq-qos.o
  12. obj-$(CONFIG_BOUNCE) += bounce.o
  13. obj-$(CONFIG_BLK_SCSI_REQUEST) += scsi_ioctl.o
  14. obj-$(CONFIG_BLK_DEV_BSG) += bsg.o
  15. obj-$(CONFIG_BLK_DEV_BSGLIB) += bsg-lib.o
  16. obj-$(CONFIG_BLK_CGROUP) += blk-cgroup.o
  17. obj-$(CONFIG_BLK_DEV_THROTTLING) += blk-throttle.o
  18. obj-$(CONFIG_BLK_CGROUP_IOLATENCY) += blk-iolatency.o
  19. obj-$(CONFIG_IOSCHED_NOOP) += noop-iosched.o
  20. obj-$(CONFIG_IOSCHED_DEADLINE) += deadline-iosched.o
  21. obj-$(CONFIG_IOSCHED_CFQ) += cfq-iosched.o
  22. obj-$(CONFIG_MQ_IOSCHED_DEADLINE) += mq-deadline.o
  23. obj-$(CONFIG_MQ_IOSCHED_KYBER) += kyber-iosched.o
  24. bfq-y := bfq-iosched.o bfq-wf2q.o bfq-cgroup.o
  25. obj-$(CONFIG_IOSCHED_BFQ) += bfq.o
  26. obj-$(CONFIG_BLOCK_COMPAT) += compat_ioctl.o
  27. obj-$(CONFIG_BLK_CMDLINE_PARSER) += cmdline-parser.o
  28. obj-$(CONFIG_BLK_DEV_INTEGRITY) += bio-integrity.o blk-integrity.o t10-pi.o
  29. obj-$(CONFIG_BLK_MQ_PCI) += blk-mq-pci.o
  30. obj-$(CONFIG_BLK_MQ_VIRTIO) += blk-mq-virtio.o
  31. obj-$(CONFIG_BLK_MQ_RDMA) += blk-mq-rdma.o
  32. obj-$(CONFIG_BLK_DEV_ZONED) += blk-zoned.o
  33. obj-$(CONFIG_BLK_WBT) += blk-wbt.o
  34. obj-$(CONFIG_BLK_DEBUG_FS) += blk-mq-debugfs.o
  35. obj-$(CONFIG_BLK_DEBUG_FS_ZONED)+= blk-mq-debugfs-zoned.o
  36. obj-$(CONFIG_BLK_SED_OPAL) += sed-opal.o