Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Mar 2018 17:18:46 +0000 (UTC)
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r331102 - head/sys/modules/iser
Message-ID:  <201803171718.w2HHIkZQ059835@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: imp
Date: Sat Mar 17 17:18:46 2018
New Revision: 331102
URL: https://svnweb.freebsd.org/changeset/base/331102

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

Modified:
  head/sys/modules/iser/Makefile

Modified: head/sys/modules/iser/Makefile
==============================================================================
--- head/sys/modules/iser/Makefile	Sat Mar 17 17:18:41 2018	(r331101)
+++ head/sys/modules/iser/Makefile	Sat Mar 17 17:18:46 2018	(r331102)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201803171718.w2HHIkZQ059835>