Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Sep 2010 02:05:42 +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: r212523 - in head/sys/modules: scc sound/sound
Message-ID:  <201009130205.o8D25gaM047230@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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.



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