summaryrefslogtreecommitdiff
path: root/sys/modules/hyperv
diff options
context:
space:
mode:
authorPeter Grehan <grehan@FreeBSD.org>2013-05-03 02:03:36 +0000
committerPeter Grehan <grehan@FreeBSD.org>2013-05-03 02:03:36 +0000
commite5548b5cde2f430b71abb29e251ba8bb2210bf73 (patch)
tree90796125d475b8430c123a84eebe43265505ec0f /sys/modules/hyperv
Diffstat (limited to 'sys/modules/hyperv')
-rw-r--r--sys/modules/hyperv/Makefile5
-rw-r--r--sys/modules/hyperv/netvsc/Makefile14
-rw-r--r--sys/modules/hyperv/storvsc/Makefile14
-rw-r--r--sys/modules/hyperv/utilities/Makefile12
-rw-r--r--sys/modules/hyperv/vmbus/Makefile20
5 files changed, 65 insertions, 0 deletions
diff --git a/sys/modules/hyperv/Makefile b/sys/modules/hyperv/Makefile
new file mode 100644
index 000000000000..3bae26ac4030
--- /dev/null
+++ b/sys/modules/hyperv/Makefile
@@ -0,0 +1,5 @@
+# $FreeBSD$
+
+SUBDIR = vmbus netvsc storvsc utilities
+
+.include <bsd.subdir.mk>
diff --git a/sys/modules/hyperv/netvsc/Makefile b/sys/modules/hyperv/netvsc/Makefile
new file mode 100644
index 000000000000..bfe7d8232f6f
--- /dev/null
+++ b/sys/modules/hyperv/netvsc/Makefile
@@ -0,0 +1,14 @@
+#$FreeBSD$
+
+.PATH: ${.CURDIR}/../../../dev/hyperv/netvsc
+
+KMOD = hv_netvsc
+
+SRCS = hv_net_vsc.c \
+ hv_netvsc_drv_freebsd.c \
+ hv_rndis_filter.c
+
+CFLAGS += -I${.CURDIR}/../../../dev/hyperv/include \
+ -I${.CURDIR}/../../../dev/hyperv/netvsc
+
+.include <bsd.kmod.mk>
diff --git a/sys/modules/hyperv/storvsc/Makefile b/sys/modules/hyperv/storvsc/Makefile
new file mode 100644
index 000000000000..fa3e3de86172
--- /dev/null
+++ b/sys/modules/hyperv/storvsc/Makefile
@@ -0,0 +1,14 @@
+#$FreeBSD$
+
+.PATH: ${.CURDIR}/../../../dev/hyperv/storvsc
+
+KMOD= hv_storvsc
+
+SRCS = hv_storvsc_drv_freebsd.c \
+ hv_vstorage.h
+
+CFLAGS+= -I${.CURDIR}/../../../dev/hyperv/include \
+ -I${.CURDIR}/../../../dev/hyperv/vmbus \
+ -I${.CURDIR}/../../../dev/hyperv/storvsc
+
+.include <bsd.kmod.mk>
diff --git a/sys/modules/hyperv/utilities/Makefile b/sys/modules/hyperv/utilities/Makefile
new file mode 100644
index 000000000000..e2351a348c71
--- /dev/null
+++ b/sys/modules/hyperv/utilities/Makefile
@@ -0,0 +1,12 @@
+# $FreeBSD$
+
+.PATH: ${.CURDIR}/../../../dev/hyperv/utilities
+
+KMOD= hv_utils
+
+SRCS = hv_util.c
+
+CFLAGS+= -I${.CURDIR}/../../../dev/hyperv/include \
+ -I${.CURDIR}/../../../dev/hyperv/vmbus
+
+.include <bsd.kmod.mk>
diff --git a/sys/modules/hyperv/vmbus/Makefile b/sys/modules/hyperv/vmbus/Makefile
new file mode 100644
index 000000000000..df8464e02174
--- /dev/null
+++ b/sys/modules/hyperv/vmbus/Makefile
@@ -0,0 +1,20 @@
+# $FreeBSD$
+
+.PATH: ${.CURDIR}/../../../dev/hyperv/vmbus \
+ ${.CURDIR}/../../../dev/hyperv/utilities
+
+KMOD= hv_vmbus
+
+SRCS = hv_channel.c \
+ hv_channel_mgmt.c \
+ hv_connection.c \
+ hv_hv.c \
+ hv_ring_buffer.c \
+ hv_vmbus_drv_freebsd.c \
+ hv_vmbus_priv.h
+
+CFLAGS+= -I${.CURDIR}/../../../dev/hyperv/include \
+ -I${.CURDIR}/../../../dev/hyperv/vmbus \
+ -I${.CURDIR}/../../../dev/hyperv/utilities
+
+.include <bsd.kmod.mk>