Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Feb 2017 17:43:00 +0000 (UTC)
From:      Kurt Lidl <lidl@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r313098 - head/sys/modules
Message-ID:  <201702021743.v12Hh0ft003256@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201702021743.v12Hh0ft003256>