Makefile 1.5 KB
Newer Older
L
Linus Torvalds 已提交
1 2 3 4
#
# Makefile for the kernel software RAID and LVM drivers.
#

C
Christoph Hellwig 已提交
5
dm-mod-y	+= dm.o dm-table.o dm-target.o dm-linear.o dm-stripe.o \
M
Milan Broz 已提交
6
		   dm-ioctl.o dm-io.o dm-kcopyd.o dm-sysfs.o
C
Christoph Hellwig 已提交
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
C
Christoph Hellwig 已提交
10
dm-mirror-y	+= dm-raid1.o
J
Jonthan Brassow 已提交
11 12
dm-log-userspace-y \
		+= dm-log-userspace-base.o dm-log-userspace-transfer.o
C
Christoph Hellwig 已提交
13
md-mod-y	+= md.o bitmap.o
14
raid456-y	+= raid5.o
L
Linus Torvalds 已提交
15 16

# Note: link order is important.  All raid personalities
17
# and must come before md.o, as they each initialise 
L
Linus Torvalds 已提交
18 19 20 21 22 23 24
# 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
25
obj-$(CONFIG_MD_RAID456)	+= raid456.o
L
Linus Torvalds 已提交
26 27
obj-$(CONFIG_MD_MULTIPATH)	+= multipath.o
obj-$(CONFIG_MD_FAULTY)		+= faulty.o
28
obj-$(CONFIG_BLK_DEV_MD)	+= md-mod.o
L
Linus Torvalds 已提交
29 30
obj-$(CONFIG_BLK_DEV_DM)	+= dm-mod.o
obj-$(CONFIG_DM_CRYPT)		+= dm-crypt.o
H
Heinz Mauelshagen 已提交
31
obj-$(CONFIG_DM_DELAY)		+= dm-delay.o
J
Josef Bacik 已提交
32
obj-$(CONFIG_DM_FLAKEY)		+= dm-flakey.o
L
Linus Torvalds 已提交
33
obj-$(CONFIG_DM_MULTIPATH)	+= dm-multipath.o dm-round-robin.o
34
obj-$(CONFIG_DM_MULTIPATH_QL)	+= dm-queue-length.o
35
obj-$(CONFIG_DM_MULTIPATH_ST)	+= dm-service-time.o
L
Linus Torvalds 已提交
36
obj-$(CONFIG_DM_SNAPSHOT)	+= dm-snapshot.o
37
obj-$(CONFIG_DM_MIRROR)		+= dm-mirror.o dm-log.o dm-region-hash.o
J
Jonthan Brassow 已提交
38
obj-$(CONFIG_DM_LOG_USERSPACE)	+= dm-log-userspace.o
L
Linus Torvalds 已提交
39
obj-$(CONFIG_DM_ZERO)		+= dm-zero.o
N
NeilBrown 已提交
40
obj-$(CONFIG_DM_RAID)	+= dm-raid.o
L
Linus Torvalds 已提交
41

M
Mike Anderson 已提交
42 43 44
ifeq ($(CONFIG_DM_UEVENT),y)
dm-mod-objs			+= dm-uevent.o
endif