add support to build netmap as a module,

but for the time being keep it disconnected from the main build.

MFC after:	3 days
This commit is contained in:
Luigi Rizzo 2012-05-29 19:55:07 +00:00
parent 585ed8cb79
commit 4e7dc6ecbb

View File

@ -0,0 +1,14 @@
# $FreeBSD$
#
# Compile netmap as a module, useful if you want a netmap bridge
# or loadable drivers.
.PATH: ${.CURDIR}/../../dev/netmap
.PATH.h: ${.CURDIR}/../../net
KMOD = netmap
SRCS = device_if.h bus_if.h opt_netmap.h
SRCS += netmap.c netmap.h netmap_kern.h
netmap.o: netmap_mem2.c
.include <bsd.kmod.mk>