From 75429a15dd48dad0c3dfbdbb1c6c4ba419088e18 Mon Sep 17 00:00:00 2001 From: Kurt Lidl Date: Thu, 2 Feb 2017 17:43:00 +0000 Subject: [PATCH] Fix compilation for mips64 platforms The hwpmc_mips24k / hwpmc_mips74k modules are only for mips 32-bit hosts. Reviewed by: adrian --- sys/modules/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/modules/Makefile b/sys/modules/Makefile index 34e6c9c68f0e..99604d1418fb 100644 --- a/sys/modules/Makefile +++ b/sys/modules/Makefile @@ -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