summaryrefslogtreecommitdiff
path: root/sound/pci/emu10k1/Makefile
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2015-05-29 08:56:42 +0300
committerTakashi Iwai <tiwai@suse.de>2015-05-29 08:56:42 +0300
commit506e6ae2561fbee9a7c8f395178c46616e93bfda (patch)
treeb624cb5ab9b34c4a789212eacc2d942d40268613 /sound/pci/emu10k1/Makefile
parent95bb6258d6bd5d6608949e2fdafbd191705175d3 (diff)
downloadlinux-506e6ae2561fbee9a7c8f395178c46616e93bfda.tar.xz
ALSA: emu10k1: Fix/cleanup ifdef CONFIG_PROC_FS
Build emuproc.o conditionally and drop the unneeded ifdefs. Some are replaced with the new CONFIG_SND_PROC_FS. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/emu10k1/Makefile')
-rw-r--r--sound/pci/emu10k1/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/pci/emu10k1/Makefile b/sound/pci/emu10k1/Makefile
index fc5591e7777e..29b44ca27010 100644
--- a/sound/pci/emu10k1/Makefile
+++ b/sound/pci/emu10k1/Makefile
@@ -5,7 +5,8 @@
snd-emu10k1-objs := emu10k1.o emu10k1_main.o \
irq.o memory.o voice.o emumpu401.o emupcm.o io.o \
- emuproc.o emumixer.o emufx.o timer.o p16v.o
+ emumixer.o emufx.o timer.o p16v.o
+snd-emu10k1-$(CONFIG_SND_PROC_FS) += emuproc.o
snd-emu10k1-synth-objs := emu10k1_synth.o emu10k1_callback.o emu10k1_patch.o
snd-emu10k1x-objs := emu10k1x.o