mirror of
https://git.FreeBSD.org/src.git
synced 2024-11-24 07:40:52 +00:00
hyperv: Build and install where supported
Remove the hard-coded dependency on HYPERV being only x86. Instead, 100% rely on MK_HYPERV. It's always right (since it's marked BROKEN (so set to "no") on architectures we don't support). Sponsored by: Netflix Reviewed by: bz Differential Revision: https://reviews.freebsd.org/D38306
This commit is contained in:
parent
ea11861e43
commit
f051d72314
@ -10,6 +10,7 @@ SRCS+= \
|
||||
MAN+= \
|
||||
pkru.3
|
||||
|
||||
# Note: vdso support for hyperv only on amd64
|
||||
.if ${MACHINE_CPUARCH} == "amd64" && ${MK_HYPERV} != "no"
|
||||
CFLAGS+= -DWANT_HYPERV
|
||||
.endif
|
||||
|
@ -10,6 +10,7 @@ SUBDIR= ${_atf} \
|
||||
${_dma} \
|
||||
flua \
|
||||
getty \
|
||||
${_hyperv} \
|
||||
${_mail.local} \
|
||||
${_makewhatis.local} \
|
||||
${_mknetid} \
|
||||
@ -64,6 +65,10 @@ _comsat= comsat
|
||||
_dma= dma
|
||||
.endif
|
||||
|
||||
.if ${MK_HYPERV} != "no"
|
||||
_hyperv+= hyperv
|
||||
.endif
|
||||
|
||||
.if ${MK_NIS} != "no"
|
||||
_mknetid= mknetid
|
||||
_ypxfr= ypxfr
|
||||
|
@ -1,5 +0,0 @@
|
||||
# $FreeBSD$
|
||||
|
||||
.if ${MK_HYPERV} != "no"
|
||||
SUBDIR+= hyperv
|
||||
.endif
|
@ -1,5 +0,0 @@
|
||||
# $FreeBSD$
|
||||
|
||||
.if ${MK_HYPERV} != "no"
|
||||
SUBDIR+= hyperv
|
||||
.endif
|
@ -140,6 +140,7 @@ SUBDIR.${MK_FLOPPY}+= fdwrite
|
||||
SUBDIR.${MK_FREEBSD_UPDATE}+= freebsd-update
|
||||
SUBDIR.${MK_GSSAPI}+= gssd
|
||||
SUBDIR.${MK_GPIO}+= gpioctl
|
||||
SUBDIR.${MK_HYPERV}+= hyperv
|
||||
SUBDIR.${MK_INET6}+= ip6addrctl
|
||||
SUBDIR.${MK_INET6}+= mld6query
|
||||
SUBDIR.${MK_INET6}+= ndp
|
||||
|
@ -23,9 +23,6 @@ SUBDIR+= boot0cfg
|
||||
SUBDIR+= btxld
|
||||
.endif
|
||||
SUBDIR+= cpucontrol
|
||||
.if ${MK_HYPERV} != "no"
|
||||
SUBDIR+= hyperv
|
||||
.endif
|
||||
SUBDIR+= lptcontrol
|
||||
SUBDIR+= mptable
|
||||
SUBDIR+= spkrtest
|
||||
|
@ -12,9 +12,6 @@ SUBDIR+= boot0cfg
|
||||
SUBDIR+= btxld
|
||||
.endif
|
||||
SUBDIR+= cpucontrol
|
||||
.if ${MK_HYPERV} != "no"
|
||||
SUBDIR+= hyperv
|
||||
.endif
|
||||
SUBDIR+= lptcontrol
|
||||
SUBDIR+= mptable
|
||||
SUBDIR+= pnpinfo
|
||||
|
Loading…
Reference in New Issue
Block a user