From 4e7dc6ecbbd6115bb6f0dd5eb9e8e5f68e9ef128 Mon Sep 17 00:00:00 2001 From: Luigi Rizzo Date: Tue, 29 May 2012 19:55:07 +0000 Subject: add support to build netmap as a module, but for the time being keep it disconnected from the main build. MFC after: 3 days --- sys/modules/netmap/Makefile | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 sys/modules/netmap/Makefile (limited to 'sys/modules/netmap/Makefile') diff --git a/sys/modules/netmap/Makefile b/sys/modules/netmap/Makefile new file mode 100644 index 000000000000..b58bfdb2517c --- /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 -- cgit v1.3