Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Dec 2019 00:14:01 +0000 (UTC)
From:      Ed Maste <emaste@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r355635 - in head: . lib/libpmc
Message-ID:  <201912120014.xBC0E1Mc015485@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: emaste
Date: Thu Dec 12 00:14:01 2019
New Revision: 355635
URL: https://svnweb.freebsd.org/changeset/base/355635

Log:
  libpmc: build json event support also on arm64

Modified:
  head/Makefile.inc1
  head/lib/libpmc/Makefile

Modified: head/Makefile.inc1
==============================================================================
--- head/Makefile.inc1	Wed Dec 11 23:41:39 2019	(r355634)
+++ head/Makefile.inc1	Thu Dec 12 00:14:01 2019	(r355635)
@@ -2446,7 +2446,8 @@ _libmagic=lib/libmagic
 .endif
 
 .if ${MK_PMC} != "no" && \
-    (${TARGET_ARCH} == "amd64" || ${TARGET_ARCH} == "i386")
+    (${TARGET_ARCH} == "aarch64" || ${TARGET_ARCH} == "amd64" || \
+    ${TARGET_ARCH} == "i386")
 _jevents=lib/libpmc/pmu-events
 .endif
 

Modified: head/lib/libpmc/Makefile
==============================================================================
--- head/lib/libpmc/Makefile	Wed Dec 11 23:41:39 2019	(r355634)
+++ head/lib/libpmc/Makefile	Thu Dec 12 00:14:01 2019	(r355635)
@@ -7,7 +7,8 @@ INCS=	pmc.h pmclog.h pmcformat.h
 
 ALLOW_MIPS_SHARED_TEXTREL=
 
-.if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "i386"
+.if ${MACHINE_ARCH} == "aarch64" || ${MACHINE_ARCH} == "amd64" || \
+    ${MACHINE_ARCH} == "i386"
 
 .if ${MACHINE_ARCH} == "aarch64"
 EVENT_ARCH="arm64"



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