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
This commit is contained in:
brooks 2018-09-18 16:06:24 +00:00
parent 39f6c1e67a
commit bce0771d86
2 changed files with 9 additions and 1 deletions

View File

@ -111,7 +111,6 @@ __DEFAULT_YES_OPTIONS = \
GPIO \
HAST \
HTML \
HYPERV \
ICONV \
INET \
INET6 \
@ -373,6 +372,13 @@ __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
.if ${__T} == "amd64" || ${__T} == "i386" || ${__T} == "powerpc64"
__DEFAULT_YES_OPTIONS+=NVME

View File

@ -0,0 +1,2 @@
.\" $FreeBSD$
Set to build or install HyperV utilities.