ice(4): Add ice_rdma.c to module Makefile

When ice is built as a module, it can't be loaded due to unresolved
symbol.  Ensuring in Makefile that the ice_rdma.c is built fixes the
problem.

Signed-off-by: Bartosz Sobczak <bartosz.sobczak@intel.com>
Signed-off-by: Eric Joyner <erj@freebsd.org>

Reviewed by:	erj@
Sponsored by:	Intel Corporation
Differential Revision:	https://reviews.freebsd.org/D35687
This commit is contained in:
Bartosz Sobczak 2022-07-12 18:27:50 -07:00 committed by Eric Joyner
parent e706512a2b
commit d8cce8145c
No known key found for this signature in database
GPG Key ID: 96F0C6FD61E05DE3

View File

@ -18,7 +18,7 @@ SRCS += ice_fw_logging.c
# RDMA Client interface
# TODO: Is this the right way to compile this?
SRCS += irdma_di_if.c irdma_if.c
SRCS += ice_rdma.c irdma_di_if.c irdma_if.c
CFLAGS.irdma_di_if.c += -I${SRCTOP}/sys/dev/ice
CFLAGS.irdma_if.c += -I${SRCTOP}/sys/dev/ice