Fix compilation for mips64 platforms

The hwpmc_mips24k / hwpmc_mips74k modules are only for mips 32-bit hosts.
Reviewed by:	adrian
This commit is contained in:
lidl 2017-02-02 17:43:00 +00:00
parent ca7560cb41
commit e68c1c3487

View File

@ -522,7 +522,7 @@ _cxgbe= cxgbe
SUBDIR+= zfs
.endif
.if ${MACHINE_CPUARCH} == "mips"
.if (${MACHINE_CPUARCH} == "mips" && ${MACHINE_ARCH:Mmips64} == "")
_hwpmc_mips24k= hwpmc_mips24k
_hwpmc_mips74k= hwpmc_mips74k
.endif