blob: 2acc43fe02297dff29fe0b00635100cb42703708 [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 \
Mikulas Patockafd2ed4d2013-08-16 10:54:23 -04006 dm-ioctl.o dm-io.o dm-kcopyd.o dm-sysfs.o dm-stats.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
Joe Thornber991d9fa2011-10-31 20:21:18 +000013dm-thin-pool-y += dm-thin.o dm-thin-metadata.o
Joe Thornberc6b4fcb2013-03-01 22:45:51 +000014dm-cache-y += dm-cache-target.o dm-cache-metadata.o dm-cache-policy.o
Joe Thornberf2836352013-03-01 22:45:51 +000015dm-cache-mq-y += dm-cache-policy-mq.o
Heinz Mauelshagen8735a812013-03-01 22:45:52 +000016dm-cache-cleaner-y += dm-cache-policy-cleaner.o
Christoph Hellwig2a40a8a2009-03-31 14:27:02 +110017md-mod-y += md.o bitmap.o
Dan Williamsf701d582009-03-31 15:09:39 +110018raid456-y += raid5.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070019
20# Note: link order is important. All raid personalities
Dan Williams685784a2007-07-09 11:56:42 -070021# and must come before md.o, as they each initialise
Linus Torvalds1da177e2005-04-16 15:20:36 -070022# themselves, and md.o may use the personalities when it
23# auto-initialised.
24
25obj-$(CONFIG_MD_LINEAR) += linear.o
26obj-$(CONFIG_MD_RAID0) += raid0.o
27obj-$(CONFIG_MD_RAID1) += raid1.o
28obj-$(CONFIG_MD_RAID10) += raid10.o
Dan Williams685784a2007-07-09 11:56:42 -070029obj-$(CONFIG_MD_RAID456) += raid456.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070030obj-$(CONFIG_MD_MULTIPATH) += multipath.o
31obj-$(CONFIG_MD_FAULTY) += faulty.o
Kent Overstreetcafe5632013-03-23 16:11:31 -070032obj-$(CONFIG_BCACHE) += bcache/
NeilBrown32a76272005-06-21 17:17:14 -070033obj-$(CONFIG_BLK_DEV_MD) += md-mod.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070034obj-$(CONFIG_BLK_DEV_DM) += dm-mod.o
Mikulas Patocka95d402f2011-10-31 20:19:09 +000035obj-$(CONFIG_DM_BUFIO) += dm-bufio.o
Mike Snitzer4f81a412012-10-12 21:02:13 +010036obj-$(CONFIG_DM_BIO_PRISON) += dm-bio-prison.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070037obj-$(CONFIG_DM_CRYPT) += dm-crypt.o
Heinz Mauelshagen26b9f222007-05-09 02:33:06 -070038obj-$(CONFIG_DM_DELAY) += dm-delay.o
Josef Bacik3407ef52011-03-24 13:54:24 +000039obj-$(CONFIG_DM_FLAKEY) += dm-flakey.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070040obj-$(CONFIG_DM_MULTIPATH) += dm-multipath.o dm-round-robin.o
Kiyoshi Uedafd5e0332009-06-22 10:12:27 +010041obj-$(CONFIG_DM_MULTIPATH_QL) += dm-queue-length.o
Kiyoshi Uedaf392ba82009-06-22 10:12:28 +010042obj-$(CONFIG_DM_MULTIPATH_ST) += dm-service-time.o
Jim Ramsay9d0eb0a2013-07-10 23:41:19 +010043obj-$(CONFIG_DM_SWITCH) += dm-switch.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070044obj-$(CONFIG_DM_SNAPSHOT) += dm-snapshot.o
Joe Thornber991d9fa2011-10-31 20:21:18 +000045obj-$(CONFIG_DM_PERSISTENT_DATA) += persistent-data/
Heinz Mauelshagen1f965b12008-10-21 17:45:06 +010046obj-$(CONFIG_DM_MIRROR) += dm-mirror.o dm-log.o dm-region-hash.o
Jonthan Brassowf5db4af2009-06-22 10:12:35 +010047obj-$(CONFIG_DM_LOG_USERSPACE) += dm-log-userspace.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070048obj-$(CONFIG_DM_ZERO) += dm-zero.o
NeilBrown9d09e662011-01-13 20:00:02 +000049obj-$(CONFIG_DM_RAID) += dm-raid.o
Joe Thornber991d9fa2011-10-31 20:21:18 +000050obj-$(CONFIG_DM_THIN_PROVISIONING) += dm-thin-pool.o
Mikulas Patockaa4ffc152012-03-28 18:43:38 +010051obj-$(CONFIG_DM_VERITY) += dm-verity.o
Joe Thornberc6b4fcb2013-03-01 22:45:51 +000052obj-$(CONFIG_DM_CACHE) += dm-cache.o
Joe Thornberf2836352013-03-01 22:45:51 +000053obj-$(CONFIG_DM_CACHE_MQ) += dm-cache-mq.o
Heinz Mauelshagen8735a812013-03-01 22:45:52 +000054obj-$(CONFIG_DM_CACHE_CLEANER) += dm-cache-cleaner.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070055
Mike Anderson51e5b2b2007-10-19 22:48:00 +010056ifeq ($(CONFIG_DM_UEVENT),y)
57dm-mod-objs += dm-uevent.o
58endif