Linux 5.12-rc1
[sfrench/cifs-2.6.git] / drivers / block / Makefile
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
10 ccflags-y                               += -I$(src)
11
12 obj-$(CONFIG_MAC_FLOPPY)        += swim3.o
13 obj-$(CONFIG_BLK_DEV_SWIM)      += swim_mod.o
14 obj-$(CONFIG_BLK_DEV_FD)        += floppy.o
15 obj-$(CONFIG_AMIGA_FLOPPY)      += amiflop.o
16 obj-$(CONFIG_PS3_DISK)          += ps3disk.o
17 obj-$(CONFIG_PS3_VRAM)          += ps3vram.o
18 obj-$(CONFIG_ATARI_FLOPPY)      += ataflop.o
19 obj-$(CONFIG_AMIGA_Z2RAM)       += z2ram.o
20 obj-$(CONFIG_N64CART)           += n64cart.o
21 obj-$(CONFIG_BLK_DEV_RAM)       += brd.o
22 obj-$(CONFIG_BLK_DEV_LOOP)      += loop.o
23 obj-$(CONFIG_XILINX_SYSACE)     += xsysace.o
24 obj-$(CONFIG_CDROM_PKTCDVD)     += pktcdvd.o
25 obj-$(CONFIG_SUNVDC)            += sunvdc.o
26
27 obj-$(CONFIG_BLK_DEV_UMEM)      += umem.o
28 obj-$(CONFIG_BLK_DEV_NBD)       += nbd.o
29 obj-$(CONFIG_BLK_DEV_CRYPTOLOOP) += cryptoloop.o
30 obj-$(CONFIG_VIRTIO_BLK)        += virtio_blk.o
31
32 obj-$(CONFIG_BLK_DEV_SX8)       += sx8.o
33
34 obj-$(CONFIG_XEN_BLKDEV_FRONTEND)       += xen-blkfront.o
35 obj-$(CONFIG_XEN_BLKDEV_BACKEND)        += xen-blkback/
36 obj-$(CONFIG_BLK_DEV_DRBD)     += drbd/
37 obj-$(CONFIG_BLK_DEV_RBD)     += rbd.o
38 obj-$(CONFIG_BLK_DEV_PCIESSD_MTIP32XX)  += mtip32xx/
39
40 obj-$(CONFIG_BLK_DEV_RSXX) += rsxx/
41 obj-$(CONFIG_ZRAM) += zram/
42 obj-$(CONFIG_BLK_DEV_RNBD)      += rnbd/
43
44 obj-$(CONFIG_BLK_DEV_NULL_BLK)  += null_blk/
45
46 swim_mod-y      := swim.o swim_asm.o