diff options
author | delphij <delphij@FreeBSD.org> | 2014-09-13 02:15:31 +0000 |
---|---|---|
committer | delphij <delphij@FreeBSD.org> | 2014-09-13 02:15:31 +0000 |
commit | edc7ea3a5d36632b4b34de01da7109a81c9b39cf (patch) | |
tree | 90bd58d5fdad38f917effa8d5ce8a33002b06656 /usr.sbin/hyperv | |
parent | 9bf7e49bfc27b3ec422834dbed634445004aa420 (diff) | |
download | FreeBSD-src-edc7ea3a5d36632b4b34de01da7109a81c9b39cf.zip FreeBSD-src-edc7ea3a5d36632b4b34de01da7109a81c9b39cf.tar.gz |
Import HyperV Key-Value Pair (KVP) driver and daemon code by Microsoft,
many thanks for their continued support of FreeBSD.
While I'm there, also implement a new build knob, WITHOUT_HYPERV to
disable building and installing of the HyperV utilities when necessary.
The HyperV utilities are only built for i386 and amd64 targets.
This is a stable/10 candidate for inclusion with 10.1-RELEASE.
Submitted by: Wei Hu <weh microsoft com>
MFC after: 1 week
Diffstat (limited to 'usr.sbin/hyperv')
-rw-r--r-- | usr.sbin/hyperv/Makefile | 7 | ||||
-rw-r--r-- | usr.sbin/hyperv/Makefile.inc | 3 | ||||
-rw-r--r-- | usr.sbin/hyperv/tools/Makefile | 13 |
3 files changed, 23 insertions, 0 deletions
diff --git a/usr.sbin/hyperv/Makefile b/usr.sbin/hyperv/Makefile new file mode 100644 index 0000000..c11b341 --- /dev/null +++ b/usr.sbin/hyperv/Makefile @@ -0,0 +1,7 @@ +# $FreeBSD$ + +.include <bsd.own.mk> + +SUBDIR = tools + +.include <bsd.subdir.mk> diff --git a/usr.sbin/hyperv/Makefile.inc b/usr.sbin/hyperv/Makefile.inc new file mode 100644 index 0000000..265f86d --- /dev/null +++ b/usr.sbin/hyperv/Makefile.inc @@ -0,0 +1,3 @@ +# $FreeBSD$ + +.include "../Makefile.inc" diff --git a/usr.sbin/hyperv/tools/Makefile b/usr.sbin/hyperv/tools/Makefile new file mode 100644 index 0000000..3cfc001 --- /dev/null +++ b/usr.sbin/hyperv/tools/Makefile @@ -0,0 +1,13 @@ +# $FreeBSD$ + +.include <bsd.own.mk> + +HV_KVP_DAEMON_DISTDIR?= ${.CURDIR}/../../../contrib/hyperv/tools +.PATH: ${HV_KVP_DAEMON_DISTDIR} + +PROG= hv_kvp_daemon +MAN= hv_kvp_daemon.8 + +CFLAGS+= -I${.CURDIR}/../../../sys/dev/hyperv/utilities + +.include <bsd.prog.mk> |