]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - block/Makefile
bsg: support for full generic block layer SG v3
[mirror_ubuntu-bionic-kernel.git] / block / Makefile
index c05de0e0037fe6f14f9e6f508bece1271568bb36..959feeb253be99a8cceb92220f0a9f0253bcf7ca 100644 (file)
@@ -2,8 +2,9 @@
 # Makefile for the kernel block layer
 #
 
-obj- := elevator.o ll_rw_blk.o ioctl.o genhd.o scsi_ioctl.o
+obj-$(CONFIG_BLOCK) := elevator.o ll_rw_blk.o ioctl.o genhd.o scsi_ioctl.o
 
+obj-$(CONFIG_BLK_DEV_BSG)      += bsg.o
 obj-$(CONFIG_IOSCHED_NOOP)     += noop-iosched.o
 obj-$(CONFIG_IOSCHED_AS)       += as-iosched.o
 obj-$(CONFIG_IOSCHED_DEADLINE) += deadline-iosched.o