blob: 934a9c7c3a7c6be54a64558114d0b7b888ca0319 [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001# SPDX-License-Identifier: GPL-2.0
Linus Torvalds1da177e2005-04-16 15:20:36 -07002#
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#
Linus Torvalds1da177e2005-04-16 15:20:36 -07008
Chaitanya Kulkarnic51d0412020-03-25 10:49:55 -07009# needed for trace events
10ccflags-y += -I$(src)
11
Linus Torvalds1da177e2005-04-16 15:20:36 -070012obj-$(CONFIG_MAC_FLOPPY) += swim3.o
Laurent Vivier8852ecd2008-11-15 16:10:10 +010013obj-$(CONFIG_BLK_DEV_SWIM) += swim_mod.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070014obj-$(CONFIG_BLK_DEV_FD) += floppy.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070015obj-$(CONFIG_AMIGA_FLOPPY) += amiflop.o
Geert Uytterhoevenc6131fa2007-07-21 04:37:45 -070016obj-$(CONFIG_PS3_DISK) += ps3disk.o
Geert Uytterhoevenf507cd22009-03-06 02:54:09 +000017obj-$(CONFIG_PS3_VRAM) += ps3vram.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070018obj-$(CONFIG_ATARI_FLOPPY) += ataflop.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070019obj-$(CONFIG_AMIGA_Z2RAM) += z2ram.o
Lauri Kasanend9b2a2b2021-01-23 09:53:27 +020020obj-$(CONFIG_N64CART) += n64cart.o
Nick Piggin9db55792008-02-08 04:19:49 -080021obj-$(CONFIG_BLK_DEV_RAM) += brd.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070022obj-$(CONFIG_BLK_DEV_LOOP) += loop.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070023obj-$(CONFIG_CDROM_PKTCDVD) += pktcdvd.o
David S. Miller667ef3c2007-07-16 04:03:56 -070024obj-$(CONFIG_SUNVDC) += sunvdc.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070025
Linus Torvalds1da177e2005-04-16 15:20:36 -070026obj-$(CONFIG_BLK_DEV_NBD) += nbd.o
Rusty Russelle467cde2007-10-22 11:03:38 +100027obj-$(CONFIG_VIRTIO_BLK) += virtio_blk.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070028
Linus Torvalds1da177e2005-04-16 15:20:36 -070029obj-$(CONFIG_BLK_DEV_SX8) += sx8.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070030
Jeremy Fitzhardinge9f27ee52007-07-17 18:37:06 -070031obj-$(CONFIG_XEN_BLKDEV_FRONTEND) += xen-blkfront.o
Konrad Rzeszutek Wilkdfc07b12011-04-18 14:24:23 -040032obj-$(CONFIG_XEN_BLKDEV_BACKEND) += xen-blkback/
Philipp Reisnerb411b362009-09-25 16:07:19 -070033obj-$(CONFIG_BLK_DEV_DRBD) += drbd/
Yehuda Sadeh602adf42010-08-12 16:11:25 -070034obj-$(CONFIG_BLK_DEV_RBD) += rbd.o
Sam Bradshaw88523a62011-08-30 08:34:26 -060035obj-$(CONFIG_BLK_DEV_PCIESSD_MTIP32XX) += mtip32xx/
Laurent Vivier8852ecd2008-11-15 16:10:10 +010036
Minchan Kimcd67e102014-01-30 15:45:52 -080037obj-$(CONFIG_ZRAM) += zram/
Jack Wangbc018852020-05-11 15:51:29 +020038obj-$(CONFIG_BLK_DEV_RNBD) += rnbd/
josh.h.morris@us.ibm.com8722ff82013-02-05 14:15:02 +010039
Damien Le Moaleebf34a2020-11-20 10:55:19 +090040obj-$(CONFIG_BLK_DEV_NULL_BLK) += null_blk/
Matias Bjørlingca4b2a02018-07-06 19:38:39 +020041
Tracey Dent04de96c2011-01-19 08:25:02 -070042swim_mod-y := swim.o swim_asm.o