blob: 5e3aac41919da069ab1c54180e0cf835928a59ff [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#
2# Makefile for the kernel software RAID and LVM drivers.
3#
4
Christoph Hellwig2a40a8a2009-03-31 14:27:02 +11005dm-mod-y += dm.o dm-table.o dm-target.o dm-linear.o dm-stripe.o \
Milan Broz784aae72009-01-06 03:05:12 +00006 dm-ioctl.o dm-io.o dm-kcopyd.o dm-sysfs.o
Christoph Hellwig2a40a8a2009-03-31 14:27:02 +11007dm-multipath-y += dm-path-selector.o dm-mpath.o
8dm-snapshot-y += dm-snap.o dm-exception-store.o dm-snap-transient.o \
Alasdair G Kergon4db6bfe2009-01-06 03:05:17 +00009 dm-snap-persistent.o
Christoph Hellwig2a40a8a2009-03-31 14:27:02 +110010dm-mirror-y += dm-raid1.o
Jonthan Brassowf5db4af2009-06-22 10:12:35 +010011dm-log-userspace-y \
12 += dm-log-userspace-base.o dm-log-userspace-transfer.o
Christoph Hellwig2a40a8a2009-03-31 14:27:02 +110013md-mod-y += md.o bitmap.o
Dan Williamsf701d582009-03-31 15:09:39 +110014raid456-y += raid5.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070015
16# Note: link order is important. All raid personalities
Dan Williams685784a2007-07-09 11:56:42 -070017# and must come before md.o, as they each initialise
Linus Torvalds1da177e2005-04-16 15:20:36 -070018# themselves, and md.o may use the personalities when it
19# auto-initialised.
20
21obj-$(CONFIG_MD_LINEAR) += linear.o
22obj-$(CONFIG_MD_RAID0) += raid0.o
23obj-$(CONFIG_MD_RAID1) += raid1.o
24obj-$(CONFIG_MD_RAID10) += raid10.o
Dan Williams685784a2007-07-09 11:56:42 -070025obj-$(CONFIG_MD_RAID456) += raid456.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070026obj-$(CONFIG_MD_MULTIPATH) += multipath.o
27obj-$(CONFIG_MD_FAULTY) += faulty.o
NeilBrown32a76272005-06-21 17:17:14 -070028obj-$(CONFIG_BLK_DEV_MD) += md-mod.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070029obj-$(CONFIG_BLK_DEV_DM) += dm-mod.o
30obj-$(CONFIG_DM_CRYPT) += dm-crypt.o
Heinz Mauelshagen26b9f222007-05-09 02:33:06 -070031obj-$(CONFIG_DM_DELAY) += dm-delay.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070032obj-$(CONFIG_DM_MULTIPATH) += dm-multipath.o dm-round-robin.o
Kiyoshi Uedafd5e0332009-06-22 10:12:27 +010033obj-$(CONFIG_DM_MULTIPATH_QL) += dm-queue-length.o
Kiyoshi Uedaf392ba82009-06-22 10:12:28 +010034obj-$(CONFIG_DM_MULTIPATH_ST) += dm-service-time.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070035obj-$(CONFIG_DM_SNAPSHOT) += dm-snapshot.o
Heinz Mauelshagen1f965b12008-10-21 17:45:06 +010036obj-$(CONFIG_DM_MIRROR) += dm-mirror.o dm-log.o dm-region-hash.o
Jonthan Brassowf5db4af2009-06-22 10:12:35 +010037obj-$(CONFIG_DM_LOG_USERSPACE) += dm-log-userspace.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070038obj-$(CONFIG_DM_ZERO) += dm-zero.o
39
Mike Anderson51e5b2b2007-10-19 22:48:00 +010040ifeq ($(CONFIG_DM_UEVENT),y)
41dm-mod-objs += dm-uevent.o
42endif