summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authordelphij <delphij@FreeBSD.org>2014-09-13 02:15:31 +0000
committerdelphij <delphij@FreeBSD.org>2014-09-13 02:15:31 +0000
commitedc7ea3a5d36632b4b34de01da7109a81c9b39cf (patch)
tree90bd58d5fdad38f917effa8d5ce8a33002b06656 /tools
parent9bf7e49bfc27b3ec422834dbed634445004aa420 (diff)
downloadFreeBSD-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 'tools')
-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 5465cb7..a0cffcf 100644
--- a/tools/build/mk/OptionalObsoleteFiles.inc
+++ b/tools/build/mk/OptionalObsoleteFiles.inc
@@ -4766,3 +4766,11 @@ OLD_FILES+=usr/libexec/dma-mbox-create
OLD_FILES+=usr/share/man/man8/dma.8.gz
OLD_FILES+=usr/share/examples/dma/mailer.conf
.endif
+
+.if ${MK_HYPERV} == no
+OLD_FILES+=etc/rc.d/hv_kvpd
+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