Date: Sat, 15 Jun 2013 06:21:18 +0000 (UTC) From: Peter Grehan <grehan@FreeBSD.org> To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r251777 - in projects/hyperv/sys/modules: . hyperv hyperv/netvsc hyperv/storvsc hyperv/utilities hyperv/vmbus Message-ID: <201306150621.r5F6LILR051725@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: grehan Date: Sat Jun 15 06:21:17 2013 New Revision: 251777 URL: http://svnweb.freebsd.org/changeset/base/251777 Log: 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. Added: projects/hyperv/sys/modules/hyperv/ projects/hyperv/sys/modules/hyperv/Makefile (contents, props changed) projects/hyperv/sys/modules/hyperv/netvsc/ projects/hyperv/sys/modules/hyperv/netvsc/Makefile (contents, props changed) projects/hyperv/sys/modules/hyperv/storvsc/ projects/hyperv/sys/modules/hyperv/storvsc/Makefile (contents, props changed) projects/hyperv/sys/modules/hyperv/utilities/ projects/hyperv/sys/modules/hyperv/utilities/Makefile (contents, props changed) projects/hyperv/sys/modules/hyperv/vmbus/ projects/hyperv/sys/modules/hyperv/vmbus/Makefile (contents, props changed) Modified: projects/hyperv/sys/modules/Makefile Modified: projects/hyperv/sys/modules/Makefile ============================================================================== --- projects/hyperv/sys/modules/Makefile Sat Jun 15 06:01:55 2013 (r251776) +++ projects/hyperv/sys/modules/Makefile Sat Jun 15 06:21:17 2013 (r251777) @@ -125,6 +125,7 @@ SUBDIR= \ ${_hptmv} \ ${_hptrr} \ hwpmc \ + ${_hyperv} \ ${_i2c} \ ${_ibcs2} \ ${_ichwd} \ @@ -661,6 +662,7 @@ _hptiop= hptiop _hptmv= hptmv _hptrr= hptrr .endif +_hyperv= hyperv _i2c= i2c _ichwd= ichwd _ida= ida Added: projects/hyperv/sys/modules/hyperv/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ projects/hyperv/sys/modules/hyperv/Makefile Sat Jun 15 06:21:17 2013 (r251777) @@ -0,0 +1,5 @@ +# $FreeBSD$ + +SUBDIR = vmbus netvsc storvsc utilities + +.include <bsd.subdir.mk> Added: projects/hyperv/sys/modules/hyperv/netvsc/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ projects/hyperv/sys/modules/hyperv/netvsc/Makefile Sat Jun 15 06:21:17 2013 (r251777) @@ -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> Added: projects/hyperv/sys/modules/hyperv/storvsc/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ projects/hyperv/sys/modules/hyperv/storvsc/Makefile Sat Jun 15 06:21:17 2013 (r251777) @@ -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> Added: projects/hyperv/sys/modules/hyperv/utilities/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ projects/hyperv/sys/modules/hyperv/utilities/Makefile Sat Jun 15 06:21:17 2013 (r251777) @@ -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> Added: projects/hyperv/sys/modules/hyperv/vmbus/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ projects/hyperv/sys/modules/hyperv/vmbus/Makefile Sat Jun 15 06:21:17 2013 (r251777) @@ -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>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201306150621.r5F6LILR051725>