diff options
author | Brooks Davis <brooks@FreeBSD.org> | 2018-09-18 16:06:24 +0000 |
---|---|---|
committer | Brooks Davis <brooks@FreeBSD.org> | 2018-09-18 16:06:24 +0000 |
commit | 5b87c94a46afc739a4bd56625b5a6be10e6cd657 (patch) | |
tree | 1e40525136005fb61f3020ca49778432ff03ed9b /share | |
parent | d02489d11aed2aa5410889f18f4fe8a356f4ca3b (diff) | |
download | src-5b87c94a46afc739a4bd56625b5a6be10e6cd657.tar.gz src-5b87c94a46afc739a4bd56625b5a6be10e6cd657.zip |
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
Notes
Notes:
svn path=/head/; revision=338752
Diffstat (limited to 'share')
-rw-r--r-- | share/mk/src.opts.mk | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/share/mk/src.opts.mk b/share/mk/src.opts.mk index 7667b97bdf2f..f09dd9748ac9 100644 --- a/share/mk/src.opts.mk +++ b/share/mk/src.opts.mk @@ -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 |