aboutsummaryrefslogtreecommitdiff
path: root/sys/modules
diff options
context:
space:
mode:
authorAriff Abdullah <ariff@FreeBSD.org>2007-09-12 07:43:43 +0000
committerAriff Abdullah <ariff@FreeBSD.org>2007-09-12 07:43:43 +0000
commitb28624fde638caadd4a89f50c9b7e7da0f98c4d2 (patch)
treedd78d0fa1d7afdfdfb8eab47903493e8bec3c684 /sys/modules
parente61a9df52b49892676471f8ff40fe23e23f2c7e4 (diff)
Notes
Diffstat (limited to 'sys/modules')
-rw-r--r--sys/modules/sound/driver/emu10kx/Makefile13
1 files changed, 1 insertions, 12 deletions
diff --git a/sys/modules/sound/driver/emu10kx/Makefile b/sys/modules/sound/driver/emu10kx/Makefile
index ea26ddd3e93a..3037af765e66 100644
--- a/sys/modules/sound/driver/emu10kx/Makefile
+++ b/sys/modules/sound/driver/emu10kx/Makefile
@@ -2,10 +2,7 @@
.PATH: ${.CURDIR}/../../../../dev/sound/pci \
${.CURDIR}/../../../../gnu/dev/sound/pci
-WARNS?= 2 ## because sound is WARNS=2 only
-## WARNS=3 fails on _class.refs in -pcm.c
-## WARNS=4 fails on min/max in sound headers
-## otherwise it should be WARNS=6 clean
+WARNS?= 2
KMOD= snd_emu10kx
SRCS= device_if.h bus_if.h pci_if.h
@@ -40,12 +37,4 @@ CLEANFILES+= emu10k1-alsa%diked.h
CLEANFILES+= p16v-alsa%diked.h
CLEANFILES+= p17v-alsa%diked.h
-.if !defined(KERNBUILDDIR)
-opt_emu10kx.h:
- echo "#define SND_EMU10KX_MULTICHANNEL" > opt_emu10kx.h
- echo "#undef SND_EMU10KX_MCH_RECORDING" >> opt_emu10kx.h
- echo "#undef SND_EMU10KX_DEBUG_OUTPUTS" >> opt_emu10kx.h
- echo "#undef SND_EMU10KX_DEBUG" >> opt_emu10kx.h
-.endif
-
.include <bsd.kmod.mk>