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 # Compile netmap as a module, useful if you want a netmap bridge
# or loadable drivers. # or loadable drivers.
.include <bsd.own.mk> # FreeBSD 10 and earlier SYSDIR?=${SRCTOP}/sys
# .include "${SYSDIR}/conf/kern.opts.mk" .include "${SYSDIR}/conf/kern.opts.mk"
.PATH: ${SRCTOP}/sys/dev/netmap .PATH: ${SYSDIR}/dev/netmap
.PATH.h: ${SRCTOP}/sys/net .PATH.h: ${SYSDIR}/net
CFLAGS += -I${SRCTOP}/sys/ -D INET CFLAGS += -I${SYSDIR}/ -D INET
KMOD = netmap KMOD = netmap
SRCS = device_if.h bus_if.h pci_if.h opt_netmap.h SRCS = device_if.h bus_if.h pci_if.h opt_netmap.h
SRCS += netmap.c netmap.h netmap_kern.h SRCS += netmap.c netmap.h netmap_kern.h