Makefile 2.17 KB
Newer Older
Linus Torvalds's avatar
Linus Torvalds committed
1 2 3 4
#
# 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 8
dm-multipath-y	+= dm-path-selector.o dm-mpath.o
dm-snapshot-y	+= dm-snap.o dm-exception-store.o dm-snap-transient.o \
9
		    dm-snap-persistent.o
10
dm-mirror-y	+= dm-raid1.o
11 12
dm-log-userspace-y \
		+= dm-log-userspace-base.o dm-log-userspace-transfer.o
13
dm-thin-pool-y	+= dm-thin.o dm-thin-metadata.o
Joe Thornber's avatar
Joe Thornber committed
14
dm-cache-y	+= dm-cache-target.o dm-cache-metadata.o dm-cache-policy.o
Joe Thornber's avatar
Joe Thornber committed
15
dm-cache-mq-y   += dm-cache-policy-mq.o
16
dm-cache-cleaner-y += dm-cache-policy-cleaner.o
17
md-mod-y	+= md.o bitmap.o
18
raid456-y	+= raid5.o
Linus Torvalds's avatar
Linus Torvalds committed
19 20

# Note: link order is important.  All raid personalities
21
# and must come before md.o, as they each initialise 
Linus Torvalds's avatar
Linus Torvalds committed
22 23 24 25 26 27 28
# themselves, and md.o may use the personalities when it 
# auto-initialised.

obj-$(CONFIG_MD_LINEAR)		+= linear.o
obj-$(CONFIG_MD_RAID0)		+= raid0.o
obj-$(CONFIG_MD_RAID1)		+= raid1.o
obj-$(CONFIG_MD_RAID10)		+= raid10.o
29
obj-$(CONFIG_MD_RAID456)	+= raid456.o
Linus Torvalds's avatar
Linus Torvalds committed
30 31
obj-$(CONFIG_MD_MULTIPATH)	+= multipath.o
obj-$(CONFIG_MD_FAULTY)		+= faulty.o
32
obj-$(CONFIG_BCACHE)		+= bcache/
33
obj-$(CONFIG_BLK_DEV_MD)	+= md-mod.o
Linus Torvalds's avatar
Linus Torvalds committed
34
obj-$(CONFIG_BLK_DEV_DM)	+= dm-mod.o
35
obj-$(CONFIG_BLK_DEV_DM_BUILTIN) += dm-builtin.o
Mikulas Patocka's avatar
Mikulas Patocka committed
36
obj-$(CONFIG_DM_BUFIO)		+= dm-bufio.o
37
obj-$(CONFIG_DM_BIO_PRISON)	+= dm-bio-prison.o
Linus Torvalds's avatar
Linus Torvalds committed
38
obj-$(CONFIG_DM_CRYPT)		+= dm-crypt.o
Heinz Mauelshagen's avatar
Heinz Mauelshagen committed
39
obj-$(CONFIG_DM_DELAY)		+= dm-delay.o
Josef Bacik's avatar
Josef Bacik committed
40
obj-$(CONFIG_DM_FLAKEY)		+= dm-flakey.o
Linus Torvalds's avatar
Linus Torvalds committed
41
obj-$(CONFIG_DM_MULTIPATH)	+= dm-multipath.o dm-round-robin.o
42
obj-$(CONFIG_DM_MULTIPATH_QL)	+= dm-queue-length.o
43
obj-$(CONFIG_DM_MULTIPATH_ST)	+= dm-service-time.o
Linus Torvalds's avatar
Linus Torvalds committed
44
obj-$(CONFIG_DM_SNAPSHOT)	+= dm-snapshot.o
45
obj-$(CONFIG_DM_PERSISTENT_DATA)	+= persistent-data/
46
obj-$(CONFIG_DM_MIRROR)		+= dm-mirror.o dm-log.o dm-region-hash.o
47
obj-$(CONFIG_DM_LOG_USERSPACE)	+= dm-log-userspace.o
Linus Torvalds's avatar
Linus Torvalds committed
48
obj-$(CONFIG_DM_ZERO)		+= dm-zero.o
NeilBrown's avatar
NeilBrown committed
49
obj-$(CONFIG_DM_RAID)	+= dm-raid.o
50
obj-$(CONFIG_DM_THIN_PROVISIONING)	+= dm-thin-pool.o
Mikulas Patocka's avatar
Mikulas Patocka committed
51
obj-$(CONFIG_DM_VERITY)		+= dm-verity.o
Joe Thornber's avatar
Joe Thornber committed
52
obj-$(CONFIG_DM_CACHE)		+= dm-cache.o
Joe Thornber's avatar
Joe Thornber committed
53
obj-$(CONFIG_DM_CACHE_MQ)	+= dm-cache-mq.o
54
obj-$(CONFIG_DM_CACHE_CLEANER)	+= dm-cache-cleaner.o
Linus Torvalds's avatar
Linus Torvalds committed
55

Mike Anderson's avatar
Mike Anderson committed
56 57 58
ifeq ($(CONFIG_DM_UEVENT),y)
dm-mod-objs			+= dm-uevent.o
endif