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 \ 6bc018853SJack Wang rnbd-clt-sysfs.o \ 7bc018853SJack Wang rnbd-common.o 8bc018853SJack Wang 9bc018853SJack Wangrnbd-server-y := rnbd-common.o \ 10bc018853SJack Wang rnbd-srv.o \ 11bc018853SJack Wang rnbd-srv-dev.o \ 12bc018853SJack Wang rnbd-srv-sysfs.o 13bc018853SJack Wang 14bc018853SJack Wangobj-$(CONFIG_BLK_DEV_RNBD_CLIENT) += rnbd-client.o 15bc018853SJack Wangobj-$(CONFIG_BLK_DEV_RNBD_SERVER) += rnbd-server.o 16