Makefile 1.1 KB
Newer Older
1
# SPDX-License-Identifier: GPL-2.0
2
infiniband-$(CONFIG_INFINIBAND_ADDR_TRANS)	:= rdma_cm.o
3
user_access-$(CONFIG_INFINIBAND_ADDR_TRANS)	:= rdma_ucm.o
4

5
obj-$(CONFIG_INFINIBAND) +=		ib_core.o ib_cm.o iw_cm.o \
6
					$(infiniband-y)
7
obj-$(CONFIG_INFINIBAND_USER_MAD) +=	ib_umad.o
8 9
obj-$(CONFIG_INFINIBAND_USER_ACCESS) +=	ib_uverbs.o ib_ucm.o \
					$(user_access-y)
L
Linus Torvalds 已提交
10

11
ib_core-y :=			packer.o ud_header.o verbs.o cq.o rw.o sysfs.o \
12
				device.o fmr_pool.o cache.o netlink.o \
13
				roce_gid_mgmt.o mr_pool.o addr.o sa_query.o \
14
				multicast.o mad.o smi.o agent.o mad_rmpp.o \
15
				security.o nldev.o restrack.o
16

17
ib_core-$(CONFIG_INFINIBAND_USER_MEM) += umem.o
18
ib_core-$(CONFIG_INFINIBAND_ON_DEMAND_PAGING) += umem_odp.o
19
ib_core-$(CONFIG_CGROUP_RDMA) += cgroup.o
L
Linus Torvalds 已提交
20

21 22
ib_cm-y :=			cm.o

23
iw_cm-y :=			iwcm.o iwpm_util.o iwpm_msg.o
T
Tom Tucker 已提交
24

25 26
rdma_cm-y :=			cma.o

M
Matan Barak 已提交
27 28
rdma_cm-$(CONFIG_INFINIBAND_ADDR_TRANS_CONFIGFS) += cma_configfs.o

29 30
rdma_ucm-y :=			ucma.o

L
Linus Torvalds 已提交
31
ib_umad-y :=			user_mad.o
32

33 34
ib_ucm-y :=			ucm.o

M
Matan Barak 已提交
35
ib_uverbs-y :=			uverbs_main.o uverbs_cmd.o uverbs_marshall.o \
36
				rdma_core.o uverbs_std_types.o uverbs_ioctl.o \
37
				uverbs_ioctl_merge.o uverbs_std_types_cq.o