]>
Commit | Line | Data |
---|---|---|
b2441318 | 1 | # SPDX-License-Identifier: GPL-2.0 |
1da177e4 LT |
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 | # | |
1da177e4 | 8 | |
c51d0419 CK |
9 | # needed for trace events |
10 | ccflags-y += -I$(src) | |
11 | ||
1da177e4 | 12 | obj-$(CONFIG_MAC_FLOPPY) += swim3.o |
8852ecd9 | 13 | obj-$(CONFIG_BLK_DEV_SWIM) += swim_mod.o |
1da177e4 | 14 | obj-$(CONFIG_BLK_DEV_FD) += floppy.o |
1da177e4 | 15 | obj-$(CONFIG_AMIGA_FLOPPY) += amiflop.o |
c6131fa5 | 16 | obj-$(CONFIG_PS3_DISK) += ps3disk.o |
f507cd22 | 17 | obj-$(CONFIG_PS3_VRAM) += ps3vram.o |
1da177e4 | 18 | obj-$(CONFIG_ATARI_FLOPPY) += ataflop.o |
1da177e4 | 19 | obj-$(CONFIG_AMIGA_Z2RAM) += z2ram.o |
9db5579b | 20 | obj-$(CONFIG_BLK_DEV_RAM) += brd.o |
1da177e4 | 21 | obj-$(CONFIG_BLK_DEV_LOOP) += loop.o |
74489a91 | 22 | obj-$(CONFIG_XILINX_SYSACE) += xsysace.o |
1da177e4 | 23 | obj-$(CONFIG_CDROM_PKTCDVD) += pktcdvd.o |
667ef3c3 | 24 | obj-$(CONFIG_SUNVDC) += sunvdc.o |
e67f86b3 | 25 | obj-$(CONFIG_BLK_DEV_SKD) += skd.o |
1da177e4 LT |
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 | |
e467cde2 | 30 | obj-$(CONFIG_VIRTIO_BLK) += virtio_blk.o |
1da177e4 | 31 | |
1da177e4 | 32 | obj-$(CONFIG_BLK_DEV_SX8) += sx8.o |
1da177e4 | 33 | |
9f27ee59 | 34 | obj-$(CONFIG_XEN_BLKDEV_FRONTEND) += xen-blkfront.o |
dfc07b13 | 35 | obj-$(CONFIG_XEN_BLKDEV_BACKEND) += xen-blkback/ |
b411b363 | 36 | obj-$(CONFIG_BLK_DEV_DRBD) += drbd/ |
602adf40 | 37 | obj-$(CONFIG_BLK_DEV_RBD) += rbd.o |
88523a61 | 38 | obj-$(CONFIG_BLK_DEV_PCIESSD_MTIP32XX) += mtip32xx/ |
8852ecd9 | 39 | |
8722ff8c | 40 | obj-$(CONFIG_BLK_DEV_RSXX) += rsxx/ |
cd67e10a | 41 | obj-$(CONFIG_ZRAM) += zram/ |
bc018853 | 42 | obj-$(CONFIG_BLK_DEV_RNBD) += rnbd/ |
8722ff8c | 43 | |
76f17d8b BVA |
44 | obj-$(CONFIG_BLK_DEV_NULL_BLK) += null_blk.o |
45 | null_blk-objs := null_blk_main.o | |
c51d0419 CK |
46 | ifeq ($(CONFIG_BLK_DEV_ZONED), y) |
47 | null_blk-$(CONFIG_TRACING) += null_blk_trace.o | |
48 | endif | |
76f17d8b | 49 | null_blk-$(CONFIG_BLK_DEV_ZONED) += null_blk_zoned.o |
ca4b2a01 | 50 | |
e67f86b3 | 51 | skd-y := skd_main.o |
04de96c9 | 52 | swim_mod-y := swim.o swim_asm.o |