xref: /openbmc/linux/drivers/block/rnbd/Makefile (revision d6e94913)
1bc018853SJack Wang# SPDX-License-Identifier: GPL-2.0-or-later
2bc018853SJack Wang
3bc018853SJack Wangccflags-y := -I$(srctree)/drivers/infiniband/ulp/rtrs
4bc018853SJack Wang
5bc018853SJack Wangrnbd-client-y := rnbd-clt.o \
6*d6e94913SGuoqing Jiang		  rnbd-clt-sysfs.o
7bc018853SJack Wang
874e237b6SSantosh PradhanCFLAGS_rnbd-srv-trace.o = -I$(src)
974e237b6SSantosh Pradhan
10*d6e94913SGuoqing Jiangrnbd-server-y := rnbd-srv.o \
1174e237b6SSantosh Pradhan		  rnbd-srv-sysfs.o \
1274e237b6SSantosh Pradhan		  rnbd-srv-trace.o
13bc018853SJack Wang
14bc018853SJack Wangobj-$(CONFIG_BLK_DEV_RNBD_CLIENT) += rnbd-client.o
15bc018853SJack Wangobj-$(CONFIG_BLK_DEV_RNBD_SERVER) += rnbd-server.o
16