From 146fce53d858e49e5945a66a039b6b8f50ffb399 Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Mon, 13 Sep 2010 02:05:42 +0000 Subject: [PATCH] MFtbemd: use MACHINE_CPUARCH --- sys/modules/scc/Makefile | 2 +- sys/modules/sound/sound/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/modules/scc/Makefile b/sys/modules/scc/Makefile index c1678b76f72f..8a40e0b0007e 100644 --- a/sys/modules/scc/Makefile +++ b/sys/modules/scc/Makefile @@ -5,7 +5,7 @@ .if ${MACHINE} == "sparc64" scc_bfe= scc_bfe_ebus.c scc_bfe_sbus.c .endif -.if ${MACHINE_ARCH} == "powerpc" +.if ${MACHINE_CPUARCH} == "powerpc" scc_bfe= scc_bfe_macio.c scc_bfe_quicc.c .endif diff --git a/sys/modules/sound/sound/Makefile b/sys/modules/sound/sound/Makefile index 78f91d445530..42cfc24f011d 100644 --- a/sys/modules/sound/sound/Makefile +++ b/sys/modules/sound/sound/Makefile @@ -44,7 +44,7 @@ CLEANFILES+= feeder_eq_gen.h feeder_rate_gen.h snd_fxdiv_gen.h EXPORT_SYMS= YES # XXX evaluate -.if ${MACHINE_ARCH} == "sparc64" || ${MACHINE_ARCH} == "powerpc" +.if ${MACHINE_CPUARCH} == "sparc64" || ${MACHINE_CPUARCH} == "powerpc" # Create an empty opt_isa.h in order to keep kmod.mk from linking in an # existing one from KERNBUILDDIR which possibly has DEV_ISA defined so # sound.ko is always built without isadma support.