summaryrefslogtreecommitdiffstats
path: root/sys/modules/sound/driver
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2010-08-23 06:13:29 +0000
committerimp <imp@FreeBSD.org>2010-08-23 06:13:29 +0000
commitc6e071ef3a85d3ced4148a303f1210bb9efcd5e5 (patch)
treedd466dcfdfc46ee58c9cffd158a8267cf4f0db43 /sys/modules/sound/driver
parent89b2d8bbb41d5ec5413bd240bfb6033899482af5 (diff)
downloadFreeBSD-src-c6e071ef3a85d3ced4148a303f1210bb9efcd5e5.zip
FreeBSD-src-c6e071ef3a85d3ced4148a303f1210bb9efcd5e5.tar.gz
MFtbemd:
Use MACHINE_CPUARCH in preference to MACHINE_ARCH. The former is the source code location of the machine, the latter the binary output. In general, we want to use MACHINE_CPUARCH instead of MACHINE_ARCH unless we're tesitng for a specific target. The isn't even moot for i386/amd64 where there's momemntum towards a MACHINE_CPUARCH == x86, although a specific cleanup for that likely would be needed...
Diffstat (limited to 'sys/modules/sound/driver')
-rw-r--r--sys/modules/sound/driver/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/modules/sound/driver/Makefile b/sys/modules/sound/driver/Makefile
index c07a1c5..ef018b2 100644
--- a/sys/modules/sound/driver/Makefile
+++ b/sys/modules/sound/driver/Makefile
@@ -5,11 +5,11 @@ SUBDIR+= envy24 envy24ht es137x ess fm801 hda ich maestro maestro3
SUBDIR+= neomagic sb16 sb8 sbc solo spicds t4dwave via8233
SUBDIR+= via82c686 vibes driver uaudio
-.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "amd64"
+.if ${MACHINE_CPUARCH} == "i386" || ${MACHINE_CPUARCH} == "amd64"
SUBDIR+= cmi mss
.endif
-.if ${MACHINE_ARCH} == "sparc64"
+.if ${MACHINE_CPUARCH} == "sparc64"
.if ${MACHINE} == "sparc64"
SUBDIR+= audiocs
.endif
OpenPOWER on IntegriCloud