From 07bff8843eee2c79cfcf30977a767f3319cbb4ad Mon Sep 17 00:00:00 2001 From: nwhitehorn Date: Tue, 13 Jul 2010 12:47:31 +0000 Subject: Make kernel modules build correctly on 64-bit PowerPC. --- sys/modules/hwpmc/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/modules/hwpmc') diff --git a/sys/modules/hwpmc/Makefile b/sys/modules/hwpmc/Makefile index 1febf54..b295a67 100644 --- a/sys/modules/hwpmc/Makefile +++ b/sys/modules/hwpmc/Makefile @@ -28,7 +28,7 @@ SRCS+= device_if.h bus_if.h SRCS+= hwpmc_ia64.c .endif -.if ${MACHINE_ARCH} == "powerpc" +.if ${MACHINE_CPUARCH} == "powerpc" SRCS+= hwpmc_powerpc.c .endif -- cgit v1.1