blob: 24bc195b02daef99fa675601712f04cfc6eb73e8 [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 Iwaidd74b462010-03-04 16:05:24 +01006snd-hda-codec-$(CONFIG_SND_HDA_ELD) += hda_eld.o
Takashi Iwai1289e9e2008-11-27 15:47:11 +01007snd-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 Iwaie5f14242009-07-01 18:11:44 +020016snd-hda-codec-cirrus-objs := patch_cirrus.o
Takashi Iwai4e01f542009-04-16 08:53:34 +020017snd-hda-codec-ca0110-objs := patch_ca0110.o
Takashi Iwai1289e9e2008-11-27 15:47:11 +010018snd-hda-codec-conexant-objs := patch_conexant.o
19snd-hda-codec-via-objs := patch_via.o
Takashi Iwaidd74b462010-03-04 16:05:24 +010020snd-hda-codec-nvhdmi-objs := patch_nvhdmi.o
21snd-hda-codec-intelhdmi-objs := patch_intelhdmi.o
Takashi Iwai1289e9e2008-11-27 15:47:11 +010022
23# common driver
24obj-$(CONFIG_SND_HDA_INTEL) := snd-hda-codec.o
25
26# codec drivers (note: CONFIG_SND_HDA_CODEC_XXX are booleans)
27ifdef CONFIG_SND_HDA_CODEC_REALTEK
28obj-$(CONFIG_SND_HDA_INTEL) += snd-hda-codec-realtek.o
29endif
30ifdef CONFIG_SND_HDA_CODEC_CMEDIA
31obj-$(CONFIG_SND_HDA_INTEL) += snd-hda-codec-cmedia.o
32endif
33ifdef CONFIG_SND_HDA_CODEC_ANALOG
34obj-$(CONFIG_SND_HDA_INTEL) += snd-hda-codec-analog.o
35endif
36ifdef CONFIG_SND_HDA_CODEC_SIGMATEL
37obj-$(CONFIG_SND_HDA_INTEL) += snd-hda-codec-idt.o
38endif
39ifdef CONFIG_SND_HDA_CODEC_SI3054
40obj-$(CONFIG_SND_HDA_INTEL) += snd-hda-codec-si3054.o
41endif
42ifdef CONFIG_SND_HDA_CODEC_ATIHDMI
43obj-$(CONFIG_SND_HDA_INTEL) += snd-hda-codec-atihdmi.o
44endif
Takashi Iwaie5f14242009-07-01 18:11:44 +020045ifdef CONFIG_SND_HDA_CODEC_CIRRUS
46obj-$(CONFIG_SND_HDA_INTEL) += snd-hda-codec-cirrus.o
47endif
Takashi Iwai4e01f542009-04-16 08:53:34 +020048ifdef CONFIG_SND_HDA_CODEC_CA0110
49obj-$(CONFIG_SND_HDA_INTEL) += snd-hda-codec-ca0110.o
50endif
Takashi Iwai1289e9e2008-11-27 15:47:11 +010051ifdef CONFIG_SND_HDA_CODEC_CONEXANT
52obj-$(CONFIG_SND_HDA_INTEL) += snd-hda-codec-conexant.o
53endif
54ifdef CONFIG_SND_HDA_CODEC_VIA
55obj-$(CONFIG_SND_HDA_INTEL) += snd-hda-codec-via.o
56endif
57ifdef CONFIG_SND_HDA_CODEC_NVHDMI
58obj-$(CONFIG_SND_HDA_INTEL) += snd-hda-codec-nvhdmi.o
59endif
60ifdef CONFIG_SND_HDA_CODEC_INTELHDMI
61obj-$(CONFIG_SND_HDA_INTEL) += snd-hda-codec-intelhdmi.o
62endif
63
64# this must be the last entry after codec drivers;
65# otherwise the codec patches won't be hooked before the PCI probe
66# when built in kernel
Takashi Iwai756e2b02007-04-16 11:27:07 +020067obj-$(CONFIG_SND_HDA_INTEL) += snd-hda-intel.o