Use FreeBSD-current conventions for building options rather than
FreeBSD 10 conventions: inlude kern.opts.mk.
This commit is contained in:
parent
292cbfc4d4
commit
e7030f48cf
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user