IB/MAD: Integrate ib_mad module into ib_core module
[platform/kernel/linux-rpi.git] / drivers / infiniband / core / Makefile
1 infiniband-$(CONFIG_INFINIBAND_ADDR_TRANS)      := rdma_cm.o
2 user_access-$(CONFIG_INFINIBAND_ADDR_TRANS)     := rdma_ucm.o
3
4 obj-$(CONFIG_INFINIBAND) +=             ib_core.o ib_sa.o \
5                                         ib_cm.o iw_cm.o \
6                                         $(infiniband-y)
7 obj-$(CONFIG_INFINIBAND_USER_MAD) +=    ib_umad.o
8 obj-$(CONFIG_INFINIBAND_USER_ACCESS) += ib_uverbs.o ib_ucm.o \
9                                         $(user_access-y)
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 \
14                                 mad.o smi.o agent.o mad_rmpp.o
15 ib_core-$(CONFIG_INFINIBAND_USER_MEM) += umem.o
16 ib_core-$(CONFIG_INFINIBAND_ON_DEMAND_PAGING) += umem_odp.o umem_rbtree.o
17
18 ib_sa-y :=                      sa_query.o multicast.o
19
20 ib_cm-y :=                      cm.o
21
22 iw_cm-y :=                      iwcm.o iwpm_util.o iwpm_msg.o
23
24 rdma_cm-y :=                    cma.o
25
26 rdma_cm-$(CONFIG_INFINIBAND_ADDR_TRANS_CONFIGFS) += cma_configfs.o
27
28 rdma_ucm-y :=                   ucma.o
29
30 ib_umad-y :=                    user_mad.o
31
32 ib_ucm-y :=                     ucm.o
33
34 ib_uverbs-y :=                  uverbs_main.o uverbs_cmd.o uverbs_marshall.o