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
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to