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:
parent
b63e0106dc
commit
c7528fd0cd
14
sys/modules/netmap/Makefile
Normal file
14
sys/modules/netmap/Makefile
Normal 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>
|
Loading…
Reference in New Issue
Block a user