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:
parent
39f6c1e67a
commit
bce0771d86
@ -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
|
||||
|
2
tools/build/options/WITH_HYPERV
Normal file
2
tools/build/options/WITH_HYPERV
Normal file
@ -0,0 +1,2 @@
|
||||
.\" $FreeBSD$
|
||||
Set to build or install HyperV utilities.
|
Loading…
x
Reference in New Issue
Block a user