Use FreeBSD-current conventions for building options rather than

FreeBSD 10 conventions: inlude kern.opts.mk.
This commit is contained in:
imp 2018-03-17 17:18:41 +00:00
parent 292cbfc4d4
commit e7030f48cf

View File

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