blob: 87365d5ea2a9e6cb561667a453232917157ef97a [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
Ian Minett95c6e9c2011-06-15 15:35:17 -070016snd-hda-codec-ca0132-objs := patch_ca0132.o
Takashi Iwai1289e9e2008-11-27 15:47:11 +010017snd-hda-codec-conexant-objs := patch_conexant.o
18snd-hda-codec-via-objs := patch_via.o
Takashi Iwai84eb01b2010-09-07 12:27:25 +020019snd-hda-codec-hdmi-objs := patch_hdmi.o hda_eld.o
Takashi Iwai1289e9e2008-11-27 15:47:11 +010020
21# common driver
22obj-$(CONFIG_SND_HDA_INTEL) := snd-hda-codec.o
23
24# codec drivers (note: CONFIG_SND_HDA_CODEC_XXX are booleans)
25ifdef CONFIG_SND_HDA_CODEC_REALTEK
26obj-$(CONFIG_SND_HDA_INTEL) += snd-hda-codec-realtek.o
27endif
28ifdef CONFIG_SND_HDA_CODEC_CMEDIA
29obj-$(CONFIG_SND_HDA_INTEL) += snd-hda-codec-cmedia.o
30endif
31ifdef CONFIG_SND_HDA_CODEC_ANALOG
32obj-$(CONFIG_SND_HDA_INTEL) += snd-hda-codec-analog.o
33endif
34ifdef CONFIG_SND_HDA_CODEC_SIGMATEL
35obj-$(CONFIG_SND_HDA_INTEL) += snd-hda-codec-idt.o
36endif
37ifdef CONFIG_SND_HDA_CODEC_SI3054
38obj-$(CONFIG_SND_HDA_INTEL) += snd-hda-codec-si3054.o
39endif
Takashi Iwaie5f14242009-07-01 18:11:44 +020040ifdef CONFIG_SND_HDA_CODEC_CIRRUS
41obj-$(CONFIG_SND_HDA_INTEL) += snd-hda-codec-cirrus.o
42endif
Takashi Iwai4e01f542009-04-16 08:53:34 +020043ifdef CONFIG_SND_HDA_CODEC_CA0110
44obj-$(CONFIG_SND_HDA_INTEL) += snd-hda-codec-ca0110.o
45endif
Ian Minett95c6e9c2011-06-15 15:35:17 -070046ifdef CONFIG_SND_HDA_CODEC_CA0132
47obj-$(CONFIG_SND_HDA_INTEL) += snd-hda-codec-ca0132.o
48endif
Takashi Iwai1289e9e2008-11-27 15:47:11 +010049ifdef CONFIG_SND_HDA_CODEC_CONEXANT
50obj-$(CONFIG_SND_HDA_INTEL) += snd-hda-codec-conexant.o
51endif
52ifdef CONFIG_SND_HDA_CODEC_VIA
53obj-$(CONFIG_SND_HDA_INTEL) += snd-hda-codec-via.o
54endif
Takashi Iwai84eb01b2010-09-07 12:27:25 +020055ifdef CONFIG_SND_HDA_CODEC_HDMI
56obj-$(CONFIG_SND_HDA_INTEL) += snd-hda-codec-hdmi.o
Takashi Iwai1289e9e2008-11-27 15:47:11 +010057endif
58
59# this must be the last entry after codec drivers;
60# otherwise the codec patches won't be hooked before the PCI probe
61# when built in kernel
Takashi Iwai756e2b02007-04-16 11:27:07 +020062obj-$(CONFIG_SND_HDA_INTEL) += snd-hda-intel.o