Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Jun 2019 15:21:37 +0000 (UTC)
From:      Ian Lepore <ian@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r348741 - head/sys/modules/hwpmc
Message-ID:  <201906061521.x56FLbBo042280@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ian
Date: Thu Jun  6 15:21:36 2019
New Revision: 348741
URL: https://svnweb.freebsd.org/changeset/base/348741

Log:
  For armv6 and armv7, build hwpmc_armv7.c as well as the base hwpmc_arm.c.
  
  Submitted by:	Arnaud YSMAL <arnaud.ysmal@stormshield.eu>

Modified:
  head/sys/modules/hwpmc/Makefile

Modified: head/sys/modules/hwpmc/Makefile
==============================================================================
--- head/sys/modules/hwpmc/Makefile	Thu Jun  6 15:18:23 2019	(r348740)
+++ head/sys/modules/hwpmc/Makefile	Thu Jun  6 15:21:36 2019	(r348741)
@@ -22,6 +22,10 @@ SRCS+=	hwpmc_x86.c hwpmc_uncore.c
 SRCS+=	hwpmc_arm.c
 .endif
 
+.if ${MACHINE_ARCH:Marmv[67]*} != ""
+SRCS+= hwpmc_armv7.c
+.endif
+
 .if ${MACHINE_CPUARCH} == "i386"
 SRCS+=	hwpmc_amd.c hwpmc_core.c hwpmc_intel.c
 SRCS+=	hwpmc_tsc.c hwpmc_x86.c hwpmc_uncore.c



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