2 # Makefile for the kernel software RAID and LVM drivers.
5 dm-mod-y
+= dm.o dm-table.o dm-target.o dm-linear.o dm-stripe.o \
6 dm-ioctl.o dm-io.o dm-kcopyd.o dm-sysfs.o dm-stats.o
7 dm-multipath-y
+= dm-path-selector.o dm-mpath.o
8 dm-snapshot-y
+= dm-snap.o dm-exception-store.o dm-snap-transient.o \
10 dm-mirror-y
+= dm-raid1.o
12 += dm-log-userspace-base.o dm-log-userspace-transfer.o
13 dm-thin-pool-y
+= dm-thin.o dm-thin-metadata.o
14 dm-cache-y
+= dm-cache-target.o dm-cache-metadata.o dm-cache-policy.o
15 dm-cache-mq-y
+= dm-cache-policy-mq.o
16 dm-cache-smq-y
+= dm-cache-policy-smq.o
17 dm-cache-cleaner-y
+= dm-cache-policy-cleaner.o
18 dm-era-y
+= dm-era-target.o
19 dm-verity-y
+= dm-verity-target.o
20 md-mod-y
+= md.o bitmap.o
21 raid456-y
+= raid5.o raid5-cache.o
23 # Note: link order is important. All raid personalities
24 # and must come before md.o, as they each initialise
25 # themselves, and md.o may use the personalities when it
28 obj-
$(CONFIG_MD_LINEAR
) += linear.o
29 obj-
$(CONFIG_MD_RAID0
) += raid0.o
30 obj-
$(CONFIG_MD_RAID1
) += raid1.o
31 obj-
$(CONFIG_MD_RAID10
) += raid10.o
32 obj-
$(CONFIG_MD_RAID456
) += raid456.o
33 obj-
$(CONFIG_MD_MULTIPATH
) += multipath.o
34 obj-
$(CONFIG_MD_FAULTY
) += faulty.o
35 obj-
$(CONFIG_MD_CLUSTER
) += md-cluster.o
36 obj-
$(CONFIG_BCACHE
) += bcache
/
37 obj-
$(CONFIG_BLK_DEV_MD
) += md-mod.o
38 obj-
$(CONFIG_BLK_DEV_DM
) += dm-mod.o
39 obj-
$(CONFIG_BLK_DEV_DM_BUILTIN
) += dm-builtin.o
40 obj-
$(CONFIG_DM_BUFIO
) += dm-bufio.o
41 obj-
$(CONFIG_DM_BIO_PRISON
) += dm-bio-prison.o
42 obj-
$(CONFIG_DM_CRYPT
) += dm-crypt.o
43 obj-
$(CONFIG_DM_DELAY
) += dm-delay.o
44 obj-
$(CONFIG_DM_FLAKEY
) += dm-flakey.o
45 obj-
$(CONFIG_DM_MULTIPATH
) += dm-multipath.o dm-round-robin.o
46 obj-
$(CONFIG_DM_MULTIPATH_QL
) += dm-queue-length.o
47 obj-
$(CONFIG_DM_MULTIPATH_ST
) += dm-service-time.o
48 obj-
$(CONFIG_DM_SWITCH
) += dm-switch.o
49 obj-
$(CONFIG_DM_SNAPSHOT
) += dm-snapshot.o
50 obj-
$(CONFIG_DM_PERSISTENT_DATA
) += persistent-data
/
51 obj-
$(CONFIG_DM_MIRROR
) += dm-mirror.o dm-log.o dm-region-hash.o
52 obj-
$(CONFIG_DM_LOG_USERSPACE
) += dm-log-userspace.o
53 obj-
$(CONFIG_DM_ZERO
) += dm-zero.o
54 obj-
$(CONFIG_DM_RAID
) += dm-raid.o
55 obj-
$(CONFIG_DM_THIN_PROVISIONING
) += dm-thin-pool.o
56 obj-
$(CONFIG_DM_VERITY
) += dm-verity.o
57 obj-
$(CONFIG_DM_CACHE
) += dm-cache.o
58 obj-
$(CONFIG_DM_CACHE_MQ
) += dm-cache-mq.o
59 obj-
$(CONFIG_DM_CACHE_SMQ
) += dm-cache-smq.o
60 obj-
$(CONFIG_DM_CACHE_CLEANER
) += dm-cache-cleaner.o
61 obj-
$(CONFIG_DM_ERA
) += dm-era.o
62 obj-
$(CONFIG_DM_LOG_WRITES
) += dm-log-writes.o
64 ifeq ($(CONFIG_DM_UEVENT
),y
)
65 dm-mod-objs
+= dm-uevent.o
68 ifeq ($(CONFIG_DM_VERITY_FEC
),y
)
69 dm-verity-objs
+= dm-verity-fec.o