svn commit: r212523 - in head/sys/modules: scc sound/sound

Warner Losh imp at FreeBSD.org
Mon Sep 13 02:05:42 UTC 2010


Author: imp
Date: Mon Sep 13 02:05:42 2010
New Revision: 212523
URL: http://svn.freebsd.org/changeset/base/212523

Log:
  MFtbemd: use MACHINE_CPUARCH

Modified:
  head/sys/modules/scc/Makefile
  head/sys/modules/sound/sound/Makefile

Modified: head/sys/modules/scc/Makefile
==============================================================================
--- head/sys/modules/scc/Makefile	Mon Sep 13 02:04:02 2010	(r212522)
+++ head/sys/modules/scc/Makefile	Mon Sep 13 02:05:42 2010	(r212523)
@@ -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
 

Modified: head/sys/modules/sound/sound/Makefile
==============================================================================
--- head/sys/modules/sound/sound/Makefile	Mon Sep 13 02:04:02 2010	(r212522)
+++ head/sys/modules/sound/sound/Makefile	Mon Sep 13 02:05:42 2010	(r212523)
@@ -44,7 +44,7 @@ CLEANFILES+=	feeder_eq_gen.h feeder_rate
 
 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.


More information about the svn-src-all mailing list