summaryrefslogtreecommitdiffstats
path: root/share/mk/bsd.own.mk
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 /share/mk/bsd.own.mk
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 'share/mk/bsd.own.mk')
-rw-r--r--share/mk/bsd.own.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/share/mk/bsd.own.mk b/share/mk/bsd.own.mk
index 444a909..f043cab 100644
--- a/share/mk/bsd.own.mk
+++ b/share/mk/bsd.own.mk
@@ -438,6 +438,12 @@ __DEFAULT_YES_OPTIONS+=FDT
.else
__DEFAULT_NO_OPTIONS+=FDT
.endif
+# HyperV is only available for x86 and amd64.
+.if ${__T} == "amd64" || ${__T} == "i386"
+__DEFAULT_YES_OPTIONS+=HYPERV
+.else
+__DEFAULT_NO_OPTIONS+=HYPERV
+.endif
.undef __T
#
OpenPOWER on IntegriCloud