summaryrefslogtreecommitdiffstats
path: root/sys/modules
diff options
context:
space:
mode:
authorhselasky <hselasky@FreeBSD.org>2014-05-23 06:28:31 +0000
committerhselasky <hselasky@FreeBSD.org>2014-05-23 06:28:31 +0000
commit6e5f8e9e85ccbab27d015a1fb1c14313bada3b6a (patch)
tree3cf997846e94b7719aa2a2408f6272f4f2c626e6 /sys/modules
parentdb2ff6972d2757c22fbe505613d6b187d0f4822a (diff)
downloadFreeBSD-src-6e5f8e9e85ccbab27d015a1fb1c14313bada3b6a.zip
FreeBSD-src-6e5f8e9e85ccbab27d015a1fb1c14313bada3b6a.tar.gz
MFC r265359 and r265780:
Remove ISA load dependency for the kernel sound driver module for ARM and MIPS.
Diffstat (limited to 'sys/modules')
-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..0db294b 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} != "i386" && ${MACHINE_CPUARCH} != "amd64" && \
+ ${MACHINE_CPUARCH} != "ia64" && ${MACHINE_CPUARCH} != "pc98"
# 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