11da177e4SLinus Torvalds# 21da177e4SLinus Torvalds# Makefile for the kernel software RAID and LVM drivers. 31da177e4SLinus Torvalds# 41da177e4SLinus Torvalds 52a40a8aeSChristoph Hellwigdm-mod-y += dm.o dm-table.o dm-target.o dm-linear.o dm-stripe.o \ 6784aae73SMilan Broz dm-ioctl.o dm-io.o dm-kcopyd.o dm-sysfs.o 72a40a8aeSChristoph Hellwigdm-multipath-y += dm-path-selector.o dm-mpath.o 82a40a8aeSChristoph Hellwigdm-snapshot-y += dm-snap.o dm-exception-store.o dm-snap-transient.o \ 94db6bfe0SAlasdair G Kergon dm-snap-persistent.o 102a40a8aeSChristoph Hellwigdm-mirror-y += dm-raid1.o 11f5db4af4SJonthan Brassowdm-log-userspace-y \ 12f5db4af4SJonthan Brassow += dm-log-userspace-base.o dm-log-userspace-transfer.o 13991d9fa0SJoe Thornberdm-thin-pool-y += dm-thin.o dm-thin-metadata.o 142a40a8aeSChristoph Hellwigmd-mod-y += md.o bitmap.o 15f701d589SDan Williamsraid456-y += raid5.o 161da177e4SLinus Torvalds 171da177e4SLinus Torvalds# Note: link order is important. All raid personalities 18685784aaSDan Williams# and must come before md.o, as they each initialise 191da177e4SLinus Torvalds# themselves, and md.o may use the personalities when it 201da177e4SLinus Torvalds# auto-initialised. 211da177e4SLinus Torvalds 221da177e4SLinus Torvaldsobj-$(CONFIG_MD_LINEAR) += linear.o 231da177e4SLinus Torvaldsobj-$(CONFIG_MD_RAID0) += raid0.o 241da177e4SLinus Torvaldsobj-$(CONFIG_MD_RAID1) += raid1.o 251da177e4SLinus Torvaldsobj-$(CONFIG_MD_RAID10) += raid10.o 26685784aaSDan Williamsobj-$(CONFIG_MD_RAID456) += raid456.o 271da177e4SLinus Torvaldsobj-$(CONFIG_MD_MULTIPATH) += multipath.o 281da177e4SLinus Torvaldsobj-$(CONFIG_MD_FAULTY) += faulty.o 2932a7627cSNeilBrownobj-$(CONFIG_BLK_DEV_MD) += md-mod.o 301da177e4SLinus Torvaldsobj-$(CONFIG_BLK_DEV_DM) += dm-mod.o 3195d402f0SMikulas Patockaobj-$(CONFIG_DM_BUFIO) += dm-bufio.o 32*4f81a417SMike Snitzerobj-$(CONFIG_DM_BIO_PRISON) += dm-bio-prison.o 331da177e4SLinus Torvaldsobj-$(CONFIG_DM_CRYPT) += dm-crypt.o 3426b9f228SHeinz Mauelshagenobj-$(CONFIG_DM_DELAY) += dm-delay.o 353407ef52SJosef Bacikobj-$(CONFIG_DM_FLAKEY) += dm-flakey.o 361da177e4SLinus Torvaldsobj-$(CONFIG_DM_MULTIPATH) += dm-multipath.o dm-round-robin.o 37fd5e0339SKiyoshi Uedaobj-$(CONFIG_DM_MULTIPATH_QL) += dm-queue-length.o 38f392ba88SKiyoshi Uedaobj-$(CONFIG_DM_MULTIPATH_ST) += dm-service-time.o 391da177e4SLinus Torvaldsobj-$(CONFIG_DM_SNAPSHOT) += dm-snapshot.o 40991d9fa0SJoe Thornberobj-$(CONFIG_DM_PERSISTENT_DATA) += persistent-data/ 411f965b19SHeinz Mauelshagenobj-$(CONFIG_DM_MIRROR) += dm-mirror.o dm-log.o dm-region-hash.o 42f5db4af4SJonthan Brassowobj-$(CONFIG_DM_LOG_USERSPACE) += dm-log-userspace.o 431da177e4SLinus Torvaldsobj-$(CONFIG_DM_ZERO) += dm-zero.o 449d09e663SNeilBrownobj-$(CONFIG_DM_RAID) += dm-raid.o 45991d9fa0SJoe Thornberobj-$(CONFIG_DM_THIN_PROVISIONING) += dm-thin-pool.o 46a4ffc152SMikulas Patockaobj-$(CONFIG_DM_VERITY) += dm-verity.o 471da177e4SLinus Torvalds 4851e5b2bdSMike Andersonifeq ($(CONFIG_DM_UEVENT),y) 4951e5b2bdSMike Andersondm-mod-objs += dm-uevent.o 5051e5b2bdSMike Andersonendif 51