summaryrefslogtreecommitdiffstats
path: root/libexec
diff options
context:
space:
mode:
authordelphij <delphij@FreeBSD.org>2014-09-25 20:34:13 +0000
committerdelphij <delphij@FreeBSD.org>2014-09-25 20:34:13 +0000
commit8e573ba7c9639e710661dce67b9171d569c8772d (patch)
tree4de670a3ea447f4c4dbc2993ebec26af3478058f /libexec
parentbb5379e9a2f748abed4de69c61b20523c4d77ac7 (diff)
downloadFreeBSD-src-8e573ba7c9639e710661dce67b9171d569c8772d.zip
FreeBSD-src-8e573ba7c9639e710661dce67b9171d569c8772d.tar.gz
MFC r271493,271688,271689,271696,271854:
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. Approved by: re (gjb)
Diffstat (limited to 'libexec')
-rw-r--r--libexec/Makefile5
-rw-r--r--libexec/hyperv/Makefile10
2 files changed, 15 insertions, 0 deletions
diff --git a/libexec/Makefile b/libexec/Makefile
index cf5c120..66e2426 100644
--- a/libexec/Makefile
+++ b/libexec/Makefile
@@ -10,6 +10,7 @@ SUBDIR= ${_atf} \
fingerd \
ftpd \
getty \
+ ${_hyperv} \
${_mail.local} \
${_mknetid} \
${_pppoed} \
@@ -42,6 +43,10 @@ _atrun= atrun
_comsat= comsat
.endif
+.if ${MK_HYPERV} != "no"
+_hyperv= hyperv
+.endif
+
.if ${MK_NIS} != "no"
_mknetid= mknetid
_ypxfr= ypxfr
diff --git a/libexec/hyperv/Makefile b/libexec/hyperv/Makefile
new file mode 100644
index 0000000..37abdf5
--- /dev/null
+++ b/libexec/hyperv/Makefile
@@ -0,0 +1,10 @@
+# $FreeBSD$
+
+.PATH: ${.CURDIR}/../../contrib/hyperv/tools/scripts
+
+BINDIR= /usr/libexec/hyperv
+
+SCRIPTS= hv_set_ifconfig hv_get_dns_info hv_get_dhcp_info
+NO_OBJ=
+
+.include <bsd.prog.mk>
OpenPOWER on IntegriCloud