Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Sep 2018 16:06:24 +0000 (UTC)
From:      Brooks Davis <brooks@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r338752 - in head: share/mk tools/build/options
Message-ID:  <201809181606.w8IG6Omb007805@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: brooks
Date: Tue Sep 18 16:06:24 2018
New Revision: 338752
URL: https://svnweb.freebsd.org/changeset/base/338752

Log:
  Only enable HyperV support by default on x86.
  
  Without this we get spurious output during boot as we try to run
  nonexistant HyperV scripts on non-x86 models.
  
  Reviewed by:	kib
  Approved by:	re (gjb)
  Differential Revision:	https://reviews.freebsd.org/D17211

Added:
  head/tools/build/options/WITH_HYPERV   (contents, props changed)
Modified:
  head/share/mk/src.opts.mk

Modified: head/share/mk/src.opts.mk
==============================================================================
--- head/share/mk/src.opts.mk	Tue Sep 18 15:31:24 2018	(r338751)
+++ head/share/mk/src.opts.mk	Tue Sep 18 16:06:24 2018	(r338752)
@@ -111,7 +111,6 @@ __DEFAULT_YES_OPTIONS = \
     GPIO \
     HAST \
     HTML \
-    HYPERV \
     ICONV \
     INET \
     INET6 \
@@ -371,6 +370,13 @@ __DEFAULT_YES_OPTIONS+=MLX5TOOL
 .else
 __DEFAULT_NO_OPTIONS+=CXGBETOOL
 __DEFAULT_NO_OPTIONS+=MLX5TOOL
+.endif
+
+# HyperV is currently x86-only
+.if ${__T} == "amd64" || ${__T} == "i386"
+__DEFAULT_YES_OPTIONS+=HYPERV
+.else
+__DEFAULT_NO_OPTIONS+=HYPERV
 .endif
 
 # NVME is only x86 and powerpc64

Added: head/tools/build/options/WITH_HYPERV
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/tools/build/options/WITH_HYPERV	Tue Sep 18 16:06:24 2018	(r338752)
@@ -0,0 +1,2 @@
+.\" $FreeBSD$
+Set to build or install HyperV utilities.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201809181606.w8IG6Omb007805>