summaryrefslogtreecommitdiffstats
path: root/sys/modules/sound
diff options
context:
space:
mode:
authorhselasky <hselasky@FreeBSD.org>2014-05-05 14:31:34 +0000
committerhselasky <hselasky@FreeBSD.org>2014-05-05 14:31:34 +0000
commit399224ae2936218713c5ab2a829732068eea6f84 (patch)
tree19288c16aee45bd38ad50adaea5800a7c0147907 /sys/modules/sound
parent70263b99a8b304f1846a3726265e261849146533 (diff)
downloadFreeBSD-src-399224ae2936218713c5ab2a829732068eea6f84.zip
FreeBSD-src-399224ae2936218713c5ab2a829732068eea6f84.tar.gz
Build the kernel sound module without ISA DMA support for ARM and MIPS
platforms, because these platforms do not implement the ISA DMA API. Else the sound modules cannot be loaded when running these platforms. MFC after: 2 weeks
Diffstat (limited to 'sys/modules/sound')
-rw-r--r--sys/modules/sound/sound/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/modules/sound/sound/Makefile b/sys/modules/sound/sound/Makefile
index 42cfc24..cf0b530 100644
--- a/sys/modules/sound/sound/Makefile
+++ b/sys/modules/sound/sound/Makefile
@@ -44,7 +44,8 @@ CLEANFILES+= feeder_eq_gen.h feeder_rate_gen.h snd_fxdiv_gen.h
EXPORT_SYMS= YES # XXX evaluate
-.if ${MACHINE_CPUARCH} == "sparc64" || ${MACHINE_CPUARCH} == "powerpc"
+.if ${MACHINE_CPUARCH} == "sparc64" || ${MACHINE_CPUARCH} == "powerpc" || \
+ ${MACHINE_CPUARCH} == "arm" || ${MACHINE_CPUARCH} == "mips"
# 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.
OpenPOWER on IntegriCloud