summaryrefslogtreecommitdiffstats
path: root/share
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 /share
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 'share')
-rw-r--r--share/mk/src.opts.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/share/mk/src.opts.mk b/share/mk/src.opts.mk
index a4f3e25..e6202b2 100644
--- a/share/mk/src.opts.mk
+++ b/share/mk/src.opts.mk
@@ -212,6 +212,13 @@ __DEFAULT_NO_OPTIONS+=CLANG_IS_CC CLANG CLANG_BOOTSTRAP
__DEFAULT_YES_OPTIONS+=GCC GCC_BOOTSTRAP GNUCXX
.endif
+# HyperV is only available for x86 and amd64.
+.if ${__T} == "amd64" || ${__T} == "i386"
+__DEFAULT_YES_OPTIONS+=HYPERV
+.else
+__DEFAULT_NO_OPTIONS+=HYPERV
+.endif
+
.include <bsd.mkopt.mk>
#
OpenPOWER on IntegriCloud