summaryrefslogtreecommitdiffstats
path: root/sys/modules/vnic/mrmlbus/Makefile
diff options
context:
space:
mode:
authorwma <wma@FreeBSD.org>2016-05-20 11:00:06 +0000
committerwma <wma@FreeBSD.org>2016-05-20 11:00:06 +0000
commit60eec567ab1b61f5ac37a24c4de89d046ead2732 (patch)
treea3b018820374f3252ea407afa6368af00a48ddb5 /sys/modules/vnic/mrmlbus/Makefile
parent7b15ce05c1b0feebcfafbef4969b6f59aefb3159 (diff)
downloadFreeBSD-src-60eec567ab1b61f5ac37a24c4de89d046ead2732.zip
FreeBSD-src-60eec567ab1b61f5ac37a24c4de89d046ead2732.tar.gz
Allow building VNIC as a module
Add directory structure and fix dependencies to be able to build and use Cavium VNIC driver as a module. Reviewed by: zbb Obtained from: Semihalf Sponsored by: Cavium Differential Revision: https://reviews.freebsd.org/D6345
Diffstat (limited to 'sys/modules/vnic/mrmlbus/Makefile')
-rw-r--r--sys/modules/vnic/mrmlbus/Makefile16
1 files changed, 16 insertions, 0 deletions
diff --git a/sys/modules/vnic/mrmlbus/Makefile b/sys/modules/vnic/mrmlbus/Makefile
new file mode 100644
index 0000000..1d1eb34
--- /dev/null
+++ b/sys/modules/vnic/mrmlbus/Makefile
@@ -0,0 +1,16 @@
+# $FreeBSD$
+
+SYSDIR?=${.CURDIR}/../../..
+.include "${SYSDIR}/conf/kern.opts.mk"
+
+S= ${.CURDIR}/../../..
+
+.PATH: $S/dev/vnic
+
+KMOD= mrmlbus
+SRCS= device_if.h bus_if.h opt_platform.h pci_if.h ofw_bus_if.h miibus_if.h lmac_if.h
+SRCS+= mrml_bridge.c
+
+CFLAGS+= -DFDT
+
+.include <bsd.kmod.mk>
OpenPOWER on IntegriCloud