svn commit: r313098 - head/sys/modules
Kurt Lidl
lidl at FreeBSD.org
Thu Feb 2 17:43:01 UTC 2017
Author: lidl
Date: Thu Feb 2 17:43:00 2017
New Revision: 313098
URL: https://svnweb.freebsd.org/changeset/base/313098
Log:
Fix compilation for mips64 platforms
The hwpmc_mips24k / hwpmc_mips74k modules are only for mips 32-bit hosts.
Reviewed by: adrian
Modified:
head/sys/modules/Makefile
Modified: head/sys/modules/Makefile
==============================================================================
--- head/sys/modules/Makefile Thu Feb 2 17:29:15 2017 (r313097)
+++ head/sys/modules/Makefile Thu Feb 2 17:43:00 2017 (r313098)
@@ -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
More information about the svn-src-all
mailing list