1# SPDX-License-Identifier: GPL-2.0 2# 3# Makefile for the kernel block device drivers. 4# 5# 12 June 2000, Christoph Hellwig <hch@infradead.org> 6# Rewritten to use lists instead of if-statements. 7# 8 9obj-$(CONFIG_MAC_FLOPPY) += swim3.o 10obj-$(CONFIG_BLK_DEV_SWIM) += swim_mod.o 11obj-$(CONFIG_BLK_DEV_FD) += floppy.o 12obj-$(CONFIG_AMIGA_FLOPPY) += amiflop.o 13obj-$(CONFIG_PS3_DISK) += ps3disk.o 14obj-$(CONFIG_PS3_VRAM) += ps3vram.o 15obj-$(CONFIG_ATARI_FLOPPY) += ataflop.o 16obj-$(CONFIG_AMIGA_Z2RAM) += z2ram.o 17obj-$(CONFIG_BLK_DEV_RAM) += brd.o 18obj-$(CONFIG_BLK_DEV_LOOP) += loop.o 19obj-$(CONFIG_XILINX_SYSACE) += xsysace.o 20obj-$(CONFIG_CDROM_PKTCDVD) += pktcdvd.o 21obj-$(CONFIG_SUNVDC) += sunvdc.o 22obj-$(CONFIG_BLK_DEV_SKD) += skd.o 23 24obj-$(CONFIG_BLK_DEV_UMEM) += umem.o 25obj-$(CONFIG_BLK_DEV_NBD) += nbd.o 26obj-$(CONFIG_BLK_DEV_CRYPTOLOOP) += cryptoloop.o 27obj-$(CONFIG_VIRTIO_BLK) += virtio_blk.o 28 29obj-$(CONFIG_BLK_DEV_SX8) += sx8.o 30 31obj-$(CONFIG_XEN_BLKDEV_FRONTEND) += xen-blkfront.o 32obj-$(CONFIG_XEN_BLKDEV_BACKEND) += xen-blkback/ 33obj-$(CONFIG_BLK_DEV_DRBD) += drbd/ 34obj-$(CONFIG_BLK_DEV_RBD) += rbd.o 35obj-$(CONFIG_BLK_DEV_PCIESSD_MTIP32XX) += mtip32xx/ 36 37obj-$(CONFIG_BLK_DEV_RSXX) += rsxx/ 38obj-$(CONFIG_ZRAM) += zram/ 39 40obj-$(CONFIG_BLK_DEV_NULL_BLK) += null_blk.o 41null_blk-objs := null_blk_main.o 42null_blk-$(CONFIG_BLK_DEV_ZONED) += null_blk_zoned.o 43 44skd-y := skd_main.o 45swim_mod-y := swim.o swim_asm.o 46