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:
Edward Tomasz Napierala 2016-05-27 11:37:56 +00:00
parent e199d80684
commit 12b221f89b

View File

@ -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