diff options
author | Peter Grehan <grehan@FreeBSD.org> | 2013-06-15 06:21:17 +0000 |
---|---|---|
committer | Peter Grehan <grehan@FreeBSD.org> | 2013-06-15 06:21:17 +0000 |
commit | 7d99ab9fd0cc2c1ce2ecef0ed6d0672c2a50b0cb (patch) | |
tree | e06aa190c718fdeb7b8925e9df1b5d5ba2f67fe6 /sys/modules/hyperv | |
parent | 9d3b2dabfb06f9800d3a8007c5ce52428b8fe825 (diff) | |
download | src-7d99ab9fd0cc2c1ce2ecef0ed6d0672c2a50b0cb.tar.gz src-7d99ab9fd0cc2c1ce2ecef0ed6d0672c2a50b0cb.zip |
make glue to hook up the hyperv kmods to the build.
Modified from the original Microsoft versions to pull
code/headers in from the sys/contrib/dev directory.
Notes
Notes:
svn path=/projects/hyperv/; revision=251777
Diffstat (limited to 'sys/modules/hyperv')
-rw-r--r-- | sys/modules/hyperv/Makefile | 5 | ||||
-rw-r--r-- | sys/modules/hyperv/netvsc/Makefile | 15 | ||||
-rw-r--r-- | sys/modules/hyperv/storvsc/Makefile | 15 | ||||
-rw-r--r-- | sys/modules/hyperv/utilities/Makefile | 13 | ||||
-rw-r--r-- | sys/modules/hyperv/vmbus/Makefile | 21 |
5 files changed, 69 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..900c1a0b1be7 --- /dev/null +++ b/sys/modules/hyperv/netvsc/Makefile @@ -0,0 +1,15 @@ +# $FreeBSD$ + +.PATH: ${.CURDIR}/../../../contrib/dev/hyperv/netvsc + +KMOD = hv_netvsc + +SRCS = hv_net_vsc.c \ + hv_netvsc_drv_freebsd.c \ + hv_rndis_filter.c + +CFLAGS += -I${.CURDIR}/../../../contrib/dev/hyperv/include \ + -I${.CURDIR}/../../../contrib/dev/hyperv/netvsc \ + -I${.CURDIR}/../../../contrib + +.include <bsd.kmod.mk> diff --git a/sys/modules/hyperv/storvsc/Makefile b/sys/modules/hyperv/storvsc/Makefile new file mode 100644 index 000000000000..da98a6ec0d39 --- /dev/null +++ b/sys/modules/hyperv/storvsc/Makefile @@ -0,0 +1,15 @@ +# $FreeBSD$ + +.PATH: ${.CURDIR}/../../../contrib/dev/hyperv/storvsc + +KMOD= hv_storvsc + +SRCS = hv_storvsc_drv_freebsd.c \ + hv_vstorage.h + +CFLAGS+= -I${.CURDIR}/../../../contrib/dev/hyperv/include \ + -I${.CURDIR}/../../../contrib/dev/hyperv/vmbus \ + -I${.CURDIR}/../../../contrib/dev/hyperv/storvsc \ + -I${.CURDIR}/../../../contrib + +.include <bsd.kmod.mk> diff --git a/sys/modules/hyperv/utilities/Makefile b/sys/modules/hyperv/utilities/Makefile new file mode 100644 index 000000000000..388182cedd5b --- /dev/null +++ b/sys/modules/hyperv/utilities/Makefile @@ -0,0 +1,13 @@ +# $FreeBSD$ + +.PATH: ${.CURDIR}/../../../contrib/dev/hyperv/utilities + +KMOD= hv_utils + +SRCS = hv_util.c + +CFLAGS+= -I${.CURDIR}/../../../contrib/dev/hyperv/include \ + -I${.CURDIR}/../../../contrib/dev/hyperv/vmbus \ + -I${.CURDIR}/../../../contrib + +.include <bsd.kmod.mk> diff --git a/sys/modules/hyperv/vmbus/Makefile b/sys/modules/hyperv/vmbus/Makefile new file mode 100644 index 000000000000..ab5a6eafb104 --- /dev/null +++ b/sys/modules/hyperv/vmbus/Makefile @@ -0,0 +1,21 @@ +# $FreeBSD$ + +.PATH: ${.CURDIR}/../../../contrib/dev/hyperv/vmbus \ + ${.CURDIR}/../../../contrib/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}/../../../contrib/dev/hyperv/include \ + -I${.CURDIR}/../../../contrib/dev/hyperv/vmbus \ + -I${.CURDIR}/../../../contrib/dev/hyperv/utilities \ + -I${.CURDIR}/../../../contrib + +.include <bsd.kmod.mk> |