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
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 md-mod-y
+= md.o bitmap.o
16 # Note: link order is important. All raid personalities
17 # and must come before md.o, as they each initialise
18 # themselves, and md.o may use the personalities when it
21 obj-
$(CONFIG_MD_LINEAR
) += linear.o
22 obj-
$(CONFIG_MD_RAID0
) += raid0.o
23 obj-
$(CONFIG_MD_RAID1
) += raid1.o
24 obj-
$(CONFIG_MD_RAID10
) += raid10.o
25 obj-
$(CONFIG_MD_RAID456
) += raid456.o
26 obj-
$(CONFIG_MD_MULTIPATH
) += multipath.o
27 obj-
$(CONFIG_MD_FAULTY
) += faulty.o
28 obj-
$(CONFIG_BLK_DEV_MD
) += md-mod.o
29 obj-
$(CONFIG_BLK_DEV_DM
) += dm-mod.o
30 obj-
$(CONFIG_DM_CRYPT
) += dm-crypt.o
31 obj-
$(CONFIG_DM_DELAY
) += dm-delay.o
32 obj-
$(CONFIG_DM_MULTIPATH
) += dm-multipath.o dm-round-robin.o
33 obj-
$(CONFIG_DM_MULTIPATH_QL
) += dm-queue-length.o
34 obj-
$(CONFIG_DM_MULTIPATH_ST
) += dm-service-time.o
35 obj-
$(CONFIG_DM_SNAPSHOT
) += dm-snapshot.o
36 obj-
$(CONFIG_DM_MIRROR
) += dm-mirror.o dm-log.o dm-region-hash.o
37 obj-
$(CONFIG_DM_LOG_USERSPACE
) += dm-log-userspace.o
38 obj-
$(CONFIG_DM_ZERO
) += dm-zero.o
40 ifeq ($(CONFIG_DM_UEVENT
),y
)
41 dm-mod-objs
+= dm-uevent.o