diff options
author | luigi <luigi@FreeBSD.org> | 2012-05-29 19:55:07 +0000 |
---|---|---|
committer | luigi <luigi@FreeBSD.org> | 2012-05-29 19:55:07 +0000 |
commit | c7528fd0cd0040520f3b9605f5317b7b2a7b7daa (patch) | |
tree | 7994ef941ddd84bcefb7123b4389235258f74cc7 | |
parent | b63e0106dcec27b6c8ccbf457364dcc9a07dd93f (diff) | |
download | FreeBSD-src-c7528fd0cd0040520f3b9605f5317b7b2a7b7daa.zip FreeBSD-src-c7528fd0cd0040520f3b9605f5317b7b2a7b7daa.tar.gz |
add support to build netmap as a module,
but for the time being keep it disconnected from the main build.
MFC after: 3 days
-rw-r--r-- | sys/modules/netmap/Makefile | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/sys/modules/netmap/Makefile b/sys/modules/netmap/Makefile new file mode 100644 index 0000000..b58bfdb --- /dev/null +++ b/sys/modules/netmap/Makefile @@ -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> |