blob: e3081d4586cc4b7779056d654b9f126fb987fc2e [file] [log] [blame]
Takashi Iwai1289e9e2008-11-27 15:47:11 +01001snd-hda-intel-objs := hda_intel.o
Linus Torvalds1da177e2005-04-16 15:20:36 -07002
Takashi Iwai1289e9e2008-11-27 15:47:11 +01003snd-hda-codec-y := hda_codec.o
4snd-hda-codec-$(CONFIG_SND_HDA_GENERIC) += hda_generic.o
5snd-hda-codec-$(CONFIG_PROC_FS) += hda_proc.o
6# snd-hda-codec-$(CONFIG_SND_HDA_ELD) += hda_eld.o
7snd-hda-codec-$(CONFIG_SND_HDA_HWDEP) += hda_hwdep.o
8snd-hda-codec-$(CONFIG_SND_HDA_INPUT_BEEP) += hda_beep.o
9
10snd-hda-codec-realtek-objs := patch_realtek.o
11snd-hda-codec-cmedia-objs := patch_cmedia.o
12snd-hda-codec-analog-objs := patch_analog.o
13snd-hda-codec-idt-objs := patch_sigmatel.o
14snd-hda-codec-si3054-objs := patch_si3054.o
15snd-hda-codec-atihdmi-objs := patch_atihdmi.o
Takashi Iwai4e01f542009-04-16 08:53:34 +020016snd-hda-codec-ca0110-objs := patch_ca0110.o
Takashi Iwai1289e9e2008-11-27 15:47:11 +010017snd-hda-codec-conexant-objs := patch_conexant.o
18snd-hda-codec-via-objs := patch_via.o
19snd-hda-codec-nvhdmi-objs := patch_nvhdmi.o
20snd-hda-codec-intelhdmi-objs := patch_intelhdmi.o hda_eld.o
21
22# common driver
23obj-$(CONFIG_SND_HDA_INTEL) := snd-hda-codec.o
24
25# codec drivers (note: CONFIG_SND_HDA_CODEC_XXX are booleans)
26ifdef CONFIG_SND_HDA_CODEC_REALTEK
27obj-$(CONFIG_SND_HDA_INTEL) += snd-hda-codec-realtek.o
28endif
29ifdef CONFIG_SND_HDA_CODEC_CMEDIA
30obj-$(CONFIG_SND_HDA_INTEL) += snd-hda-codec-cmedia.o
31endif
32ifdef CONFIG_SND_HDA_CODEC_ANALOG
33obj-$(CONFIG_SND_HDA_INTEL) += snd-hda-codec-analog.o
34endif
35ifdef CONFIG_SND_HDA_CODEC_SIGMATEL
36obj-$(CONFIG_SND_HDA_INTEL) += snd-hda-codec-idt.o
37endif
38ifdef CONFIG_SND_HDA_CODEC_SI3054
39obj-$(CONFIG_SND_HDA_INTEL) += snd-hda-codec-si3054.o
40endif
41ifdef CONFIG_SND_HDA_CODEC_ATIHDMI
42obj-$(CONFIG_SND_HDA_INTEL) += snd-hda-codec-atihdmi.o
43endif
Takashi Iwai4e01f542009-04-16 08:53:34 +020044ifdef CONFIG_SND_HDA_CODEC_CA0110
45obj-$(CONFIG_SND_HDA_INTEL) += snd-hda-codec-ca0110.o
46endif
Takashi Iwai1289e9e2008-11-27 15:47:11 +010047ifdef CONFIG_SND_HDA_CODEC_CONEXANT
48obj-$(CONFIG_SND_HDA_INTEL) += snd-hda-codec-conexant.o
49endif
50ifdef CONFIG_SND_HDA_CODEC_VIA
51obj-$(CONFIG_SND_HDA_INTEL) += snd-hda-codec-via.o
52endif
53ifdef CONFIG_SND_HDA_CODEC_NVHDMI
54obj-$(CONFIG_SND_HDA_INTEL) += snd-hda-codec-nvhdmi.o
55endif
56ifdef CONFIG_SND_HDA_CODEC_INTELHDMI
57obj-$(CONFIG_SND_HDA_INTEL) += snd-hda-codec-intelhdmi.o
58endif
59
60# this must be the last entry after codec drivers;
61# otherwise the codec patches won't be hooked before the PCI probe
62# when built in kernel
Takashi Iwai756e2b02007-04-16 11:27:07 +020063obj-$(CONFIG_SND_HDA_INTEL) += snd-hda-intel.o