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 _______________________________________________ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"