summaryrefslogtreecommitdiffstats
path: root/tools/build
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 /tools/build
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 'tools/build')
-rw-r--r--tools/build/mk/OptionalObsoleteFiles.inc8
-rw-r--r--tools/build/options/WITHOUT_HYPERV2
-rw-r--r--tools/build/options/WITH_HYPERV2
3 files changed, 12 insertions, 0 deletions
diff --git a/tools/build/mk/OptionalObsoleteFiles.inc b/tools/build/mk/OptionalObsoleteFiles.inc
index 62542b7..cfa369b 100644
--- a/tools/build/mk/OptionalObsoleteFiles.inc
+++ b/tools/build/mk/OptionalObsoleteFiles.inc
@@ -4670,3 +4670,11 @@ OLD_FILES+=usr/bin/svnserve
OLD_FILES+=usr/bin/svnsync
OLD_FILES+=usr/bin/svnversion
.endif
+
+.if ${MK_HYPERV} == no
+OLD_FILES+=etc/devd/hyperv.conf
+OLD_FILES+=usr/libexec/hyperv/hv_set_ifconfig
+OLD_FILES+=usr/libexec/hyperv/hv_get_dns_info
+OLD_FILES+=usr/libexec/hyperv/hv_get_dhcp_info
+OLD_FILES+=usr/sbin/hv_kvpd
+.endif
diff --git a/tools/build/options/WITHOUT_HYPERV b/tools/build/options/WITHOUT_HYPERV
new file mode 100644
index 0000000..ef63f70
--- /dev/null
+++ b/tools/build/options/WITHOUT_HYPERV
@@ -0,0 +1,2 @@
+.\" $FreeBSD$
+Set to not build or install HyperV utilities.
diff --git a/tools/build/options/WITH_HYPERV b/tools/build/options/WITH_HYPERV
new file mode 100644
index 0000000..a6bdf72
--- /dev/null
+++ b/tools/build/options/WITH_HYPERV
@@ -0,0 +1,2 @@
+.\" $FreeBSD$
+Set to build and install HyperV utilities.
OpenPOWER on IntegriCloud