From edc7ea3a5d36632b4b34de01da7109a81c9b39cf Mon Sep 17 00:00:00 2001 From: delphij Date: Sat, 13 Sep 2014 02:15:31 +0000 Subject: 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 MFC after: 1 week --- share/mk/src.opts.mk | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'share') 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 # -- cgit v1.1