blob: 17ef3658f34b72d42d1deede9bc5f4efb1054a27 [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
Takashi Iwai1289e9e2008-11-27 15:47:11 +01006snd-hda-codec-$(CONFIG_SND_HDA_HWDEP) += hda_hwdep.o
7snd-hda-codec-$(CONFIG_SND_HDA_INPUT_BEEP) += hda_beep.o
8
9snd-hda-codec-realtek-objs := patch_realtek.o
10snd-hda-codec-cmedia-objs := patch_cmedia.o
11snd-hda-codec-analog-objs := patch_analog.o
12snd-hda-codec-idt-objs := patch_sigmatel.o
13snd-hda-codec-si3054-objs := patch_si3054.o
Takashi Iwaie5f14242009-07-01 18:11:44 +020014snd-hda-codec-cirrus-objs := patch_cirrus.o
Takashi Iwai4e01f542009-04-16 08:53:34 +020015snd-hda-codec-ca0110-objs := patch_ca0110.o
Takashi Iwai1289e9e2008-11-27 15:47:11 +010016snd-hda-codec-conexant-objs := patch_conexant.o
17snd-hda-codec-via-objs := patch_via.o
Takashi Iwai84eb01b2010-09-07 12:27:25 +020018snd-hda-codec-hdmi-objs := patch_hdmi.o hda_eld.o
Takashi Iwai1289e9e2008-11-27 15:47:11 +010019
20# common driver
21obj-$(CONFIG_SND_HDA_INTEL) := snd-hda-codec.o
22
23# codec drivers (note: CONFIG_SND_HDA_CODEC_XXX are booleans)
24ifdef CONFIG_SND_HDA_CODEC_REALTEK
25obj-$(CONFIG_SND_HDA_INTEL) += snd-hda-codec-realtek.o
26endif
27ifdef CONFIG_SND_HDA_CODEC_CMEDIA
28obj-$(CONFIG_SND_HDA_INTEL) += snd-hda-codec-cmedia.o
29endif
30ifdef CONFIG_SND_HDA_CODEC_ANALOG
31obj-$(CONFIG_SND_HDA_INTEL) += snd-hda-codec-analog.o
32endif
33ifdef CONFIG_SND_HDA_CODEC_SIGMATEL
34obj-$(CONFIG_SND_HDA_INTEL) += snd-hda-codec-idt.o
35endif
36ifdef CONFIG_SND_HDA_CODEC_SI3054
37obj-$(CONFIG_SND_HDA_INTEL) += snd-hda-codec-si3054.o
38endif
Takashi Iwaie5f14242009-07-01 18:11:44 +020039ifdef CONFIG_SND_HDA_CODEC_CIRRUS
40obj-$(CONFIG_SND_HDA_INTEL) += snd-hda-codec-cirrus.o
41endif
Takashi Iwai4e01f542009-04-16 08:53:34 +020042ifdef CONFIG_SND_HDA_CODEC_CA0110
43obj-$(CONFIG_SND_HDA_INTEL) += snd-hda-codec-ca0110.o
44endif
Takashi Iwai1289e9e2008-11-27 15:47:11 +010045ifdef CONFIG_SND_HDA_CODEC_CONEXANT
46obj-$(CONFIG_SND_HDA_INTEL) += snd-hda-codec-conexant.o
47endif
48ifdef CONFIG_SND_HDA_CODEC_VIA
49obj-$(CONFIG_SND_HDA_INTEL) += snd-hda-codec-via.o
50endif
Takashi Iwai84eb01b2010-09-07 12:27:25 +020051ifdef CONFIG_SND_HDA_CODEC_HDMI
52obj-$(CONFIG_SND_HDA_INTEL) += snd-hda-codec-hdmi.o
Takashi Iwai1289e9e2008-11-27 15:47:11 +010053endif
54
55# this must be the last entry after codec drivers;
56# otherwise the codec patches won't be hooked before the PCI probe
57# when built in kernel
Takashi Iwai756e2b02007-04-16 11:27:07 +020058obj-$(CONFIG_SND_HDA_INTEL) += snd-hda-intel.o