Date: Sat, 17 Mar 2018 17:18:41 +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: r331101 - head/sys/modules/netmap Message-ID: <201803171718.w2HHIffP059783@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: imp Date: Sat Mar 17 17:18:41 2018 New Revision: 331101 URL: https://svnweb.freebsd.org/changeset/base/331101 Log: Use FreeBSD-current conventions for building options rather than FreeBSD 10 conventions: inlude kern.opts.mk. Modified: head/sys/modules/netmap/Makefile Modified: head/sys/modules/netmap/Makefile ============================================================================== --- head/sys/modules/netmap/Makefile Sat Mar 17 17:18:37 2018 (r331100) +++ head/sys/modules/netmap/Makefile Sat Mar 17 17:18:41 2018 (r331101) @@ -3,12 +3,12 @@ # Compile netmap as a module, useful if you want a netmap bridge # or loadable drivers. -.include <bsd.own.mk> # FreeBSD 10 and earlier -# .include "${SYSDIR}/conf/kern.opts.mk" +SYSDIR?=${SRCTOP}/sys +.include "${SYSDIR}/conf/kern.opts.mk" -.PATH: ${SRCTOP}/sys/dev/netmap -.PATH.h: ${SRCTOP}/sys/net -CFLAGS += -I${SRCTOP}/sys/ -D INET +.PATH: ${SYSDIR}/dev/netmap +.PATH.h: ${SYSDIR}/net +CFLAGS += -I${SYSDIR}/ -D INET KMOD = netmap SRCS = device_if.h bus_if.h pci_if.h opt_netmap.h SRCS += netmap.c netmap.h netmap_kern.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201803171718.w2HHIffP059783>