diff options
author | delphij <delphij@FreeBSD.org> | 2014-09-30 17:54:57 +0000 |
---|---|---|
committer | delphij <delphij@FreeBSD.org> | 2014-09-30 17:54:57 +0000 |
commit | ee5d2040514496e028c74f870e0fe37ff731eea6 (patch) | |
tree | 3d5fc0f492a59bc673ae0bd7830fcb5f3be62b51 /share | |
parent | d2b170eeddec67d497373ad60908e5094d294fe1 (diff) | |
download | FreeBSD-src-ee5d2040514496e028c74f870e0fe37ff731eea6.zip FreeBSD-src-ee5d2040514496e028c74f870e0fe37ff731eea6.tar.gz |
MFC r271493,271688-271689,271696,271854,272139-272143:
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')
-rw-r--r-- | share/mk/bsd.own.mk | 6 |
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 # |