]>
Commit | Line | Data |
---|---|---|
1da177e4 LT |
1 | # |
2 | # Makefile for the kernel software RAID and LVM drivers. | |
3 | # | |
4 | ||
2a40a8ae | 5 | dm-mod-y += dm.o dm-table.o dm-target.o dm-linear.o dm-stripe.o \ |
4cc96131 MS |
6 | dm-ioctl.o dm-io.o dm-kcopyd.o dm-sysfs.o dm-stats.o \ |
7 | dm-rq.o | |
2a40a8ae CH |
8 | dm-multipath-y += dm-path-selector.o dm-mpath.o |
9 | dm-snapshot-y += dm-snap.o dm-exception-store.o dm-snap-transient.o \ | |
4db6bfe0 | 10 | dm-snap-persistent.o |
2a40a8ae | 11 | dm-mirror-y += dm-raid1.o |
f5db4af4 JB |
12 | dm-log-userspace-y \ |
13 | += dm-log-userspace-base.o dm-log-userspace-transfer.o | |
991d9fa0 | 14 | dm-thin-pool-y += dm-thin.o dm-thin-metadata.o |
c6b4fcba | 15 | dm-cache-y += dm-cache-target.o dm-cache-metadata.o dm-cache-policy.o |
66a63635 | 16 | dm-cache-smq-y += dm-cache-policy-smq.o |
8735a813 | 17 | dm-cache-cleaner-y += dm-cache-policy-cleaner.o |
eec40579 | 18 | dm-era-y += dm-era-target.o |
03045cba | 19 | dm-verity-y += dm-verity-target.o |
2a40a8ae | 20 | md-mod-y += md.o bitmap.o |
f6bed0ef | 21 | raid456-y += raid5.o raid5-cache.o |
1da177e4 LT |
22 | |
23 | # Note: link order is important. All raid personalities | |
685784aa | 24 | # and must come before md.o, as they each initialise |
1da177e4 LT |
25 | # themselves, and md.o may use the personalities when it |
26 | # auto-initialised. | |
27 | ||
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 | |
685784aa | 32 | obj-$(CONFIG_MD_RAID456) += raid456.o |
1da177e4 LT |
33 | obj-$(CONFIG_MD_MULTIPATH) += multipath.o |
34 | obj-$(CONFIG_MD_FAULTY) += faulty.o | |
8e854e9c | 35 | obj-$(CONFIG_MD_CLUSTER) += md-cluster.o |
cafe5635 | 36 | obj-$(CONFIG_BCACHE) += bcache/ |
32a7627c | 37 | obj-$(CONFIG_BLK_DEV_MD) += md-mod.o |
1da177e4 | 38 | obj-$(CONFIG_BLK_DEV_DM) += dm-mod.o |
2995fa78 | 39 | obj-$(CONFIG_BLK_DEV_DM_BUILTIN) += dm-builtin.o |
95d402f0 | 40 | obj-$(CONFIG_DM_BUFIO) += dm-bufio.o |
4f81a417 | 41 | obj-$(CONFIG_DM_BIO_PRISON) += dm-bio-prison.o |
1da177e4 | 42 | obj-$(CONFIG_DM_CRYPT) += dm-crypt.o |
26b9f228 | 43 | obj-$(CONFIG_DM_DELAY) += dm-delay.o |
3407ef52 | 44 | obj-$(CONFIG_DM_FLAKEY) += dm-flakey.o |
1da177e4 | 45 | obj-$(CONFIG_DM_MULTIPATH) += dm-multipath.o dm-round-robin.o |
fd5e0339 | 46 | obj-$(CONFIG_DM_MULTIPATH_QL) += dm-queue-length.o |
f392ba88 | 47 | obj-$(CONFIG_DM_MULTIPATH_ST) += dm-service-time.o |
9d0eb0ab | 48 | obj-$(CONFIG_DM_SWITCH) += dm-switch.o |
1da177e4 | 49 | obj-$(CONFIG_DM_SNAPSHOT) += dm-snapshot.o |
991d9fa0 | 50 | obj-$(CONFIG_DM_PERSISTENT_DATA) += persistent-data/ |
1f965b19 | 51 | obj-$(CONFIG_DM_MIRROR) += dm-mirror.o dm-log.o dm-region-hash.o |
f5db4af4 | 52 | obj-$(CONFIG_DM_LOG_USERSPACE) += dm-log-userspace.o |
1da177e4 | 53 | obj-$(CONFIG_DM_ZERO) += dm-zero.o |
9d09e663 | 54 | obj-$(CONFIG_DM_RAID) += dm-raid.o |
991d9fa0 | 55 | obj-$(CONFIG_DM_THIN_PROVISIONING) += dm-thin-pool.o |
a4ffc152 | 56 | obj-$(CONFIG_DM_VERITY) += dm-verity.o |
c6b4fcba | 57 | obj-$(CONFIG_DM_CACHE) += dm-cache.o |
66a63635 | 58 | obj-$(CONFIG_DM_CACHE_SMQ) += dm-cache-smq.o |
8735a813 | 59 | obj-$(CONFIG_DM_CACHE_CLEANER) += dm-cache-cleaner.o |
eec40579 | 60 | obj-$(CONFIG_DM_ERA) += dm-era.o |
0e9cebe7 | 61 | obj-$(CONFIG_DM_LOG_WRITES) += dm-log-writes.o |
1da177e4 | 62 | |
51e5b2bd MA |
63 | ifeq ($(CONFIG_DM_UEVENT),y) |
64 | dm-mod-objs += dm-uevent.o | |
65 | endif | |
a739ff3f ST |
66 | |
67 | ifeq ($(CONFIG_DM_VERITY_FEC),y) | |
68 | dm-verity-objs += dm-verity-fec.o | |
69 | endif |