aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/hyperv
diff options
context:
space:
mode:
authorXin LI <delphij@FreeBSD.org>2014-09-13 02:15:31 +0000
committerXin LI <delphij@FreeBSD.org>2014-09-13 02:15:31 +0000
commite72055b7feba695a760d45f01f0f8268b1cb4a74 (patch)
tree90bd58d5fdad38f917effa8d5ce8a33002b06656 /usr.sbin/hyperv
parentb75ac2ba766f64c4db29f147d342332a461c551c (diff)
downloadsrc-e72055b7feba695a760d45f01f0f8268b1cb4a74.tar.gz
src-e72055b7feba695a760d45f01f0f8268b1cb4a74.zip
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
Notes
Notes: svn path=/head/; revision=271493
Diffstat (limited to 'usr.sbin/hyperv')
-rw-r--r--usr.sbin/hyperv/Makefile7
-rw-r--r--usr.sbin/hyperv/Makefile.inc3
-rw-r--r--usr.sbin/hyperv/tools/Makefile13
3 files changed, 23 insertions, 0 deletions
diff --git a/usr.sbin/hyperv/Makefile b/usr.sbin/hyperv/Makefile
new file mode 100644
index 000000000000..c11b3417c191
--- /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 000000000000..265f86d1ed55
--- /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 000000000000..3cfc0013cf59
--- /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>