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 9# needed for trace events 10ccflags-y += -I$(src) 11 12obj-$(CONFIG_MAC_FLOPPY) += swim3.o 13obj-$(CONFIG_BLK_DEV_SWIM) += swim_mod.o 14obj-$(CONFIG_BLK_DEV_FD) += floppy.o 15obj-$(CONFIG_AMIGA_FLOPPY) += amiflop.o 16obj-$(CONFIG_PS3_DISK) += ps3disk.o 17obj-$(CONFIG_PS3_VRAM) += ps3vram.o 18obj-$(CONFIG_ATARI_FLOPPY) += ataflop.o 19obj-$(CONFIG_AMIGA_Z2RAM) += z2ram.o 20obj-$(CONFIG_N64CART) += n64cart.o 21obj-$(CONFIG_BLK_DEV_RAM) += brd.o 22obj-$(CONFIG_BLK_DEV_LOOP) += loop.o 23obj-$(CONFIG_SUNVDC) += sunvdc.o 24 25obj-$(CONFIG_BLK_DEV_NBD) += nbd.o 26obj-$(CONFIG_VIRTIO_BLK) += virtio_blk.o 27 28obj-$(CONFIG_XEN_BLKDEV_FRONTEND) += xen-blkfront.o 29obj-$(CONFIG_XEN_BLKDEV_BACKEND) += xen-blkback/ 30obj-$(CONFIG_BLK_DEV_DRBD) += drbd/ 31obj-$(CONFIG_BLK_DEV_RBD) += rbd.o 32obj-$(CONFIG_BLK_DEV_PCIESSD_MTIP32XX) += mtip32xx/ 33 34obj-$(CONFIG_ZRAM) += zram/ 35obj-$(CONFIG_BLK_DEV_RNBD) += rnbd/ 36 37obj-$(CONFIG_BLK_DEV_NULL_BLK) += null_blk/ 38 39obj-$(CONFIG_BLK_DEV_UBLK) += ublk_drv.o 40 41swim_mod-y := swim.o swim_asm.o 42