drm/vc4: Drop planes that have 0 destination size
[platform/kernel/linux-rpi.git] / drivers / md / Makefile
1 # SPDX-License-Identifier: GPL-2.0
2 #
3 # Makefile for the kernel software RAID and LVM drivers.
4 #
5
6 dm-mod-y        += dm.o dm-table.o dm-target.o dm-linear.o dm-stripe.o \
7                    dm-ioctl.o dm-io.o dm-kcopyd.o dm-sysfs.o dm-stats.o \
8                    dm-rq.o dm-io-rewind.o
9 dm-multipath-y  += dm-path-selector.o dm-mpath.o
10 dm-historical-service-time-y += dm-ps-historical-service-time.o
11 dm-io-affinity-y += dm-ps-io-affinity.o
12 dm-queue-length-y += dm-ps-queue-length.o
13 dm-round-robin-y += dm-ps-round-robin.o
14 dm-service-time-y += dm-ps-service-time.o
15 dm-snapshot-y   += dm-snap.o dm-exception-store.o dm-snap-transient.o \
16                     dm-snap-persistent.o
17 dm-mirror-y     += dm-raid1.o
18 dm-log-userspace-y += dm-log-userspace-base.o dm-log-userspace-transfer.o
19 dm-bio-prison-y += dm-bio-prison-v1.o dm-bio-prison-v2.o
20 dm-thin-pool-y  += dm-thin.o dm-thin-metadata.o
21 dm-cache-y      += dm-cache-target.o dm-cache-metadata.o dm-cache-policy.o \
22                     dm-cache-background-tracker.o
23 dm-cache-smq-y  += dm-cache-policy-smq.o
24 dm-ebs-y        += dm-ebs-target.o
25 dm-era-y        += dm-era-target.o
26 dm-clone-y      += dm-clone-target.o dm-clone-metadata.o
27 dm-verity-y     += dm-verity-target.o
28 dm-zoned-y      += dm-zoned-target.o dm-zoned-metadata.o dm-zoned-reclaim.o
29
30 md-mod-y        += md.o md-bitmap.o
31 raid456-y       += raid5.o raid5-cache.o raid5-ppl.o
32 linear-y        += md-linear.o
33 multipath-y     += md-multipath.o
34 faulty-y        += md-faulty.o
35
36 # Note: link order is important.  All raid personalities
37 # and must come before md.o, as they each initialise 
38 # themselves, and md.o may use the personalities when it 
39 # auto-initialised.
40
41 obj-$(CONFIG_MD_LINEAR)         += linear.o
42 obj-$(CONFIG_MD_RAID0)          += raid0.o
43 obj-$(CONFIG_MD_RAID1)          += raid1.o
44 obj-$(CONFIG_MD_RAID10)         += raid10.o
45 obj-$(CONFIG_MD_RAID456)        += raid456.o
46 obj-$(CONFIG_MD_MULTIPATH)      += multipath.o
47 obj-$(CONFIG_MD_FAULTY)         += faulty.o
48 obj-$(CONFIG_MD_CLUSTER)        += md-cluster.o
49 obj-$(CONFIG_BCACHE)            += bcache/
50 obj-$(CONFIG_BLK_DEV_MD)        += md-mod.o
51 ifeq ($(CONFIG_BLK_DEV_MD),y)
52 obj-y                           += md-autodetect.o
53 endif
54 obj-$(CONFIG_BLK_DEV_DM)        += dm-mod.o
55 obj-$(CONFIG_BLK_DEV_DM_BUILTIN) += dm-builtin.o
56 obj-$(CONFIG_DM_UNSTRIPED)      += dm-unstripe.o
57 obj-$(CONFIG_DM_BUFIO)          += dm-bufio.o
58 obj-$(CONFIG_DM_BIO_PRISON)     += dm-bio-prison.o
59 obj-$(CONFIG_DM_CRYPT)          += dm-crypt.o
60 obj-$(CONFIG_DM_DELAY)          += dm-delay.o
61 obj-$(CONFIG_DM_DUST)           += dm-dust.o
62 obj-$(CONFIG_DM_FLAKEY)         += dm-flakey.o
63 obj-$(CONFIG_DM_MULTIPATH)      += dm-multipath.o dm-round-robin.o
64 obj-$(CONFIG_DM_MULTIPATH_QL)   += dm-queue-length.o
65 obj-$(CONFIG_DM_MULTIPATH_ST)   += dm-service-time.o
66 obj-$(CONFIG_DM_MULTIPATH_HST)  += dm-historical-service-time.o
67 obj-$(CONFIG_DM_MULTIPATH_IOA)  += dm-io-affinity.o
68 obj-$(CONFIG_DM_SWITCH)         += dm-switch.o
69 obj-$(CONFIG_DM_SNAPSHOT)       += dm-snapshot.o
70 obj-$(CONFIG_DM_PERSISTENT_DATA) += persistent-data/
71 obj-$(CONFIG_DM_MIRROR)         += dm-mirror.o dm-log.o dm-region-hash.o
72 obj-$(CONFIG_DM_LOG_USERSPACE)  += dm-log-userspace.o
73 obj-$(CONFIG_DM_ZERO)           += dm-zero.o
74 obj-$(CONFIG_DM_RAID)           += dm-raid.o
75 obj-$(CONFIG_DM_THIN_PROVISIONING) += dm-thin-pool.o
76 obj-$(CONFIG_DM_VERITY)         += dm-verity.o
77 obj-$(CONFIG_DM_CACHE)          += dm-cache.o
78 obj-$(CONFIG_DM_CACHE_SMQ)      += dm-cache-smq.o
79 obj-$(CONFIG_DM_EBS)            += dm-ebs.o
80 obj-$(CONFIG_DM_ERA)            += dm-era.o
81 obj-$(CONFIG_DM_CLONE)          += dm-clone.o
82 obj-$(CONFIG_DM_LOG_WRITES)     += dm-log-writes.o
83 obj-$(CONFIG_DM_INTEGRITY)      += dm-integrity.o
84 obj-$(CONFIG_DM_ZONED)          += dm-zoned.o
85 obj-$(CONFIG_DM_WRITECACHE)     += dm-writecache.o
86 obj-$(CONFIG_SECURITY_LOADPIN_VERITY)   += dm-verity-loadpin.o
87
88 ifeq ($(CONFIG_DM_INIT),y)
89 dm-mod-objs                     += dm-init.o
90 endif
91
92 ifeq ($(CONFIG_DM_UEVENT),y)
93 dm-mod-objs                     += dm-uevent.o
94 endif
95
96 ifeq ($(CONFIG_BLK_DEV_ZONED),y)
97 dm-mod-objs                     += dm-zone.o
98 endif
99
100 ifeq ($(CONFIG_IMA),y)
101 dm-mod-objs                     += dm-ima.o
102 endif
103
104 ifeq ($(CONFIG_DM_VERITY_FEC),y)
105 dm-verity-objs                  += dm-verity-fec.o
106 endif
107
108 ifeq ($(CONFIG_DM_VERITY_VERIFY_ROOTHASH_SIG),y)
109 dm-verity-objs                  += dm-verity-verify-sig.o
110 endif
111
112 ifeq ($(CONFIG_DM_AUDIT),y)
113 dm-mod-objs                     += dm-audit.o
114 endif