Use kern.opts.mk instead of bsd.own.mk (which includes src.opts.mk)

here.
This commit is contained in:
Warner Losh 2018-03-17 17:18:46 +00:00
parent 8346f88834
commit 8d1b99a023

View File

@ -1,8 +1,9 @@
# $FreeBSD$
.PATH: ${SRCTOP}/sys/dev/iser/
SYSDIR?=${SRCTOP}/sys
.include "${SYSDIR}/conf/kern.opts.mk"
.include <bsd.own.mk>
.PATH: ${SYSDIR}/dev/iser/
KMOD= iser
@ -18,7 +19,7 @@ SRCS+= bus_if.h
SRCS+= device_if.h
SRCS+= icl_conn_if.h
CFLAGS+= -I${SRCTOP}/sys/
CFLAGS+= -I${SYSDIR}/
CFLAGS+= -I${SYSDIR}/ofed/include
CFLAGS+= -I${SYSDIR}/ofed/include/uapi
CFLAGS+= -I${SYSDIR}/compat/linuxkpi/common/include