Build iscsi(4) with ICL_KERNEL_PROXY when building with WITH_OFED.
MFC after: 1 month Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
e199d80684
commit
12b221f89b
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=300838
@ -1,5 +1,8 @@
|
||||
# $FreeBSD$
|
||||
|
||||
SYSDIR?=${.CURDIR}/../..
|
||||
.include "${SYSDIR}/conf/kern.opts.mk"
|
||||
|
||||
.PATH: ${.CURDIR}/../../dev/iscsi/
|
||||
KMOD= iscsi
|
||||
|
||||
@ -13,7 +16,9 @@ SRCS+= device_if.h
|
||||
SRCS+= icl_conn_if.c
|
||||
SRCS+= icl_conn_if.h
|
||||
|
||||
#CFLAGS+=-DICL_KERNEL_PROXY
|
||||
.if ${MK_OFED} != "no" || defined(ALL_MODULES)
|
||||
CFLAGS+=-DICL_KERNEL_PROXY
|
||||
.endif
|
||||
|
||||
MFILES= kern/bus_if.m kern/device_if.m dev/iscsi/icl_conn_if.m
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user