aboutsummaryrefslogtreecommitdiff
path: root/sys/modules/sound
diff options
context:
space:
mode:
authorEd Maste <emaste@FreeBSD.org>2022-03-18 16:22:21 +0000
committerEd Maste <emaste@FreeBSD.org>2022-09-15 14:07:23 +0000
commit9054e296819f325da3b6a4da301eab853eee6757 (patch)
tree27ce963cca93da8a72b40d8ade1ed1df271b8b59 /sys/modules/sound
parentc387c23098d3b540ca6049b161ab08e1dd9794f7 (diff)
Diffstat (limited to 'sys/modules/sound')
-rw-r--r--sys/modules/sound/sound/Makefile20
1 files changed, 0 insertions, 20 deletions
diff --git a/sys/modules/sound/sound/Makefile b/sys/modules/sound/sound/Makefile
index adbc14a38020..647b9f324f9f 100644
--- a/sys/modules/sound/sound/Makefile
+++ b/sys/modules/sound/sound/Makefile
@@ -34,24 +34,4 @@ CLEANFILES+= feeder_eq_gen.h feeder_rate_gen.h snd_fxdiv_gen.h
EXPORT_SYMS= YES # XXX evaluate
-.if ${MACHINE_CPUARCH} != "i386" && ${MACHINE_CPUARCH} != "amd64"
-# 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.
-opt_isa.h:
- :> ${.TARGET}
-.else
-.if !defined(KERNBUILDDIR)
-SRCS+= sndbuf_dma.c
-
-opt_isa.h:
- echo "#define DEV_ISA 1" > ${.TARGET}
-.else
-DEV_ISA!= sed -n '/DEV_ISA/p' ${KERNBUILDDIR}/opt_isa.h
-.if !empty(DEV_ISA)
-SRCS+= sndbuf_dma.c
-.endif
-.endif
-.endif
-
.include <bsd.kmod.mk>