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
30 lines
604 B
Makefile
30 lines
604 B
Makefile
# $FreeBSD$
|
|
|
|
# mptable: broken (not 64 bit clean)
|
|
# pnpinfo: crashes (not really useful anyway)
|
|
_ARCH_SUBDIR=amd64
|
|
.if ${MK_ACPI} != "no"
|
|
SUBDIR+= acpi
|
|
.endif
|
|
.if ${MK_APM} != "no"
|
|
SUBDIR+= apm
|
|
# Link files to the architecture directory
|
|
.for _manpage in ${:!/bin/sh -c "/bin/ls ${_ARCH_SUBDIR}/.8"!:E}
|
|
MLINKS+=${_manpage} ${_ARCH_SUBDIR}/${_manpage}
|
|
.endfor
|
|
.endif
|
|
.if ${MK_BHYVE} != "no"
|
|
SUBDIR+= bhyve
|
|
SUBDIR+= bhyvectl
|
|
SUBDIR+= bhyveload
|
|
.endif
|
|
SUBDIR+= boot0cfg
|
|
.if ${MK_TOOLCHAIN} != "no"
|
|
SUBDIR+= btxld
|
|
.endif
|
|
SUBDIR+= cpucontrol
|
|
SUBDIR+= lptcontrol
|
|
SUBDIR+= mptable
|
|
SUBDIR+= spkrtest
|
|
SUBDIR+= zzz
|