162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0
262306a36Sopenharmony_ci#
362306a36Sopenharmony_ci# Makefile for the kernel block device drivers.
462306a36Sopenharmony_ci#
562306a36Sopenharmony_ci# 12 June 2000, Christoph Hellwig <hch@infradead.org>
662306a36Sopenharmony_ci# Rewritten to use lists instead of if-statements.
762306a36Sopenharmony_ci# 
862306a36Sopenharmony_ci
962306a36Sopenharmony_ci# needed for trace events
1062306a36Sopenharmony_ciccflags-y				+= -I$(src)
1162306a36Sopenharmony_ci
1262306a36Sopenharmony_ciobj-$(CONFIG_MAC_FLOPPY)	+= swim3.o
1362306a36Sopenharmony_ciobj-$(CONFIG_BLK_DEV_SWIM)	+= swim_mod.o
1462306a36Sopenharmony_ciobj-$(CONFIG_BLK_DEV_FD)	+= floppy.o
1562306a36Sopenharmony_ciobj-$(CONFIG_AMIGA_FLOPPY)	+= amiflop.o
1662306a36Sopenharmony_ciobj-$(CONFIG_PS3_DISK)		+= ps3disk.o
1762306a36Sopenharmony_ciobj-$(CONFIG_PS3_VRAM)		+= ps3vram.o
1862306a36Sopenharmony_ciobj-$(CONFIG_ATARI_FLOPPY)	+= ataflop.o
1962306a36Sopenharmony_ciobj-$(CONFIG_AMIGA_Z2RAM)	+= z2ram.o
2062306a36Sopenharmony_ciobj-$(CONFIG_N64CART)		+= n64cart.o
2162306a36Sopenharmony_ciobj-$(CONFIG_BLK_DEV_RAM)	+= brd.o
2262306a36Sopenharmony_ciobj-$(CONFIG_BLK_DEV_LOOP)	+= loop.o
2362306a36Sopenharmony_ciobj-$(CONFIG_CDROM_PKTCDVD)	+= pktcdvd.o
2462306a36Sopenharmony_ciobj-$(CONFIG_SUNVDC)		+= sunvdc.o
2562306a36Sopenharmony_ci
2662306a36Sopenharmony_ciobj-$(CONFIG_BLK_DEV_NBD)	+= nbd.o
2762306a36Sopenharmony_ciobj-$(CONFIG_VIRTIO_BLK)	+= virtio_blk.o
2862306a36Sopenharmony_ci
2962306a36Sopenharmony_ciobj-$(CONFIG_XEN_BLKDEV_FRONTEND)	+= xen-blkfront.o
3062306a36Sopenharmony_ciobj-$(CONFIG_XEN_BLKDEV_BACKEND)	+= xen-blkback/
3162306a36Sopenharmony_ciobj-$(CONFIG_BLK_DEV_DRBD)     += drbd/
3262306a36Sopenharmony_ciobj-$(CONFIG_BLK_DEV_RBD)     += rbd.o
3362306a36Sopenharmony_ciobj-$(CONFIG_BLK_DEV_PCIESSD_MTIP32XX)	+= mtip32xx/
3462306a36Sopenharmony_ci
3562306a36Sopenharmony_ciobj-$(CONFIG_ZRAM) += zram/
3662306a36Sopenharmony_ciobj-$(CONFIG_BLK_DEV_RNBD)	+= rnbd/
3762306a36Sopenharmony_ci
3862306a36Sopenharmony_ciobj-$(CONFIG_BLK_DEV_NULL_BLK)	+= null_blk/
3962306a36Sopenharmony_ci
4062306a36Sopenharmony_ciobj-$(CONFIG_BLK_DEV_UBLK)			+= ublk_drv.o
4162306a36Sopenharmony_ci
4262306a36Sopenharmony_ciswim_mod-y	:= swim.o swim_asm.o
43