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.ys...@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
_______________________________________________
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