Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Feb 2011 02:24:04 +0000 (UTC)
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r218531 - head/lib/libpmc
Message-ID:  <201102110224.p1B2O4eF042075@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: imp
Date: Fri Feb 11 02:24:04 2011
New Revision: 218531
URL: http://svn.freebsd.org/changeset/base/218531

Log:
  Don't require CPUTYPE to be defined for ARM, but use it if it is.

Modified:
  head/lib/libpmc/Makefile

Modified: head/lib/libpmc/Makefile
==============================================================================
--- head/lib/libpmc/Makefile	Fri Feb 11 01:00:26 2011	(r218530)
+++ head/lib/libpmc/Makefile	Fri Feb 11 02:24:04 2011	(r218531)
@@ -38,7 +38,7 @@ MAN+=	pmc.corei7uc.3
 MAN+=	pmc.westmere.3
 MAN+=	pmc.westmereuc.3
 MAN+=	pmc.tsc.3
-.elif ${MACHINE_CPUARCH} == "arm" && ${CPUTYPE} == "xscale"
+.elif ${MACHINE_CPUARCH} == "arm" && defined(CPUTYPE) && ${CPUTYPE} == "xscale"
 MAN+=	pmc.xscale.3
 .endif
 



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