summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/ulp/rtrs/Makefile
diff options
context:
space:
mode:
authorJack Wang <jinpu.wang@cloud.ionos.com>2020-05-11 15:51:19 +0200
committerJason Gunthorpe <jgg@mellanox.com>2020-05-17 18:57:15 -0300
commitc013fbc1fd341d28269cf0a6b465925186b9a1e1 (patch)
tree014dd476a90ce838edf0ebb8f84679f65a3ba0ea /drivers/infiniband/ulp/rtrs/Makefile
parent91b11610af8d61acd618ab1532cf34a4901fee1e (diff)
downloadlinux-c013fbc1fd341d28269cf0a6b465925186b9a1e1.tar.bz2
RDMA/rtrs: include client and server modules into kernel compilation
Add rtrs Makefile, Kconfig and also corresponding lines into upper layer infiniband/ulp files. Link: https://lore.kernel.org/r/20200511135131.27580-14-danil.kipnis@cloud.ionos.com Signed-off-by: Danil Kipnis <danil.kipnis@cloud.ionos.com> Signed-off-by: Jack Wang <jinpu.wang@cloud.ionos.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'drivers/infiniband/ulp/rtrs/Makefile')
-rw-r--r--drivers/infiniband/ulp/rtrs/Makefile15
1 files changed, 15 insertions, 0 deletions
diff --git a/drivers/infiniband/ulp/rtrs/Makefile b/drivers/infiniband/ulp/rtrs/Makefile
new file mode 100644
index 000000000000..3898509be270
--- /dev/null
+++ b/drivers/infiniband/ulp/rtrs/Makefile
@@ -0,0 +1,15 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+
+rtrs-client-y := rtrs-clt.o \
+ rtrs-clt-stats.o \
+ rtrs-clt-sysfs.o
+
+rtrs-server-y := rtrs-srv.o \
+ rtrs-srv-stats.o \
+ rtrs-srv-sysfs.o
+
+rtrs-core-y := rtrs.o
+
+obj-$(CONFIG_INFINIBAND_RTRS) += rtrs-core.o
+obj-$(CONFIG_INFINIBAND_RTRS_CLIENT) += rtrs-client.o
+obj-$(CONFIG_INFINIBAND_RTRS_SERVER) += rtrs-server.o