git: d8cce8145c39 - main - ice(4): Add ice_rdma.c to module Makefile

From: Eric Joyner <erj_at_FreeBSD.org>
Date: Wed, 13 Jul 2022 01:32:32 UTC
The branch main has been updated by erj:

URL: https://cgit.FreeBSD.org/src/commit/?id=d8cce8145c39812cc31b50070c44d66ca21a5127

commit d8cce8145c39812cc31b50070c44d66ca21a5127
Author:     Bartosz Sobczak <bartosz.sobczak@intel.com>
AuthorDate: 2022-07-13 01:27:50 +0000
Commit:     Eric Joyner <erj@FreeBSD.org>
CommitDate: 2022-07-13 01:30:19 +0000

    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
---
 sys/modules/ice/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/modules/ice/Makefile b/sys/modules/ice/Makefile
index 510b9c755496..25774585c180 100644
--- a/sys/modules/ice/Makefile
+++ b/sys/modules/ice/Makefile
@@ -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