blob: f928d663472322f00d0f7fdb835e6bf589bd65f7 [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
Takashi Iwaid66fee52011-08-02 15:39:31 +02009# for trace-points
10CFLAGS_hda_codec.o := -I$(src)
11
Takashi Iwai1289e9e2008-11-27 15:47:11 +010012snd-hda-codec-realtek-objs := patch_realtek.o
13snd-hda-codec-cmedia-objs := patch_cmedia.o
14snd-hda-codec-analog-objs := patch_analog.o
15snd-hda-codec-idt-objs := patch_sigmatel.o
16snd-hda-codec-si3054-objs := patch_si3054.o
Takashi Iwaie5f14242009-07-01 18:11:44 +020017snd-hda-codec-cirrus-objs := patch_cirrus.o
Takashi Iwai4e01f542009-04-16 08:53:34 +020018snd-hda-codec-ca0110-objs := patch_ca0110.o
Ian Minett95c6e9c2011-06-15 15:35:17 -070019snd-hda-codec-ca0132-objs := patch_ca0132.o
Takashi Iwai1289e9e2008-11-27 15:47:11 +010020snd-hda-codec-conexant-objs := patch_conexant.o
21snd-hda-codec-via-objs := patch_via.o
Takashi Iwai84eb01b2010-09-07 12:27:25 +020022snd-hda-codec-hdmi-objs := patch_hdmi.o hda_eld.o
Takashi Iwai1289e9e2008-11-27 15:47:11 +010023
24# common driver
25obj-$(CONFIG_SND_HDA_INTEL) := snd-hda-codec.o
26
27# codec drivers (note: CONFIG_SND_HDA_CODEC_XXX are booleans)
28ifdef CONFIG_SND_HDA_CODEC_REALTEK
29obj-$(CONFIG_SND_HDA_INTEL) += snd-hda-codec-realtek.o
30endif
31ifdef CONFIG_SND_HDA_CODEC_CMEDIA
32obj-$(CONFIG_SND_HDA_INTEL) += snd-hda-codec-cmedia.o
33endif
34ifdef CONFIG_SND_HDA_CODEC_ANALOG
35obj-$(CONFIG_SND_HDA_INTEL) += snd-hda-codec-analog.o
36endif
37ifdef CONFIG_SND_HDA_CODEC_SIGMATEL
38obj-$(CONFIG_SND_HDA_INTEL) += snd-hda-codec-idt.o
39endif
40ifdef CONFIG_SND_HDA_CODEC_SI3054
41obj-$(CONFIG_SND_HDA_INTEL) += snd-hda-codec-si3054.o
42endif
Takashi Iwaie5f14242009-07-01 18:11:44 +020043ifdef CONFIG_SND_HDA_CODEC_CIRRUS
44obj-$(CONFIG_SND_HDA_INTEL) += snd-hda-codec-cirrus.o
45endif
Takashi Iwai4e01f542009-04-16 08:53:34 +020046ifdef CONFIG_SND_HDA_CODEC_CA0110
47obj-$(CONFIG_SND_HDA_INTEL) += snd-hda-codec-ca0110.o
48endif
Ian Minett95c6e9c2011-06-15 15:35:17 -070049ifdef CONFIG_SND_HDA_CODEC_CA0132
50obj-$(CONFIG_SND_HDA_INTEL) += snd-hda-codec-ca0132.o
51endif
Takashi Iwai1289e9e2008-11-27 15:47:11 +010052ifdef CONFIG_SND_HDA_CODEC_CONEXANT
53obj-$(CONFIG_SND_HDA_INTEL) += snd-hda-codec-conexant.o
54endif
55ifdef CONFIG_SND_HDA_CODEC_VIA
56obj-$(CONFIG_SND_HDA_INTEL) += snd-hda-codec-via.o
57endif
Takashi Iwai84eb01b2010-09-07 12:27:25 +020058ifdef CONFIG_SND_HDA_CODEC_HDMI
59obj-$(CONFIG_SND_HDA_INTEL) += snd-hda-codec-hdmi.o
Takashi Iwai1289e9e2008-11-27 15:47:11 +010060endif
61
62# this must be the last entry after codec drivers;
63# otherwise the codec patches won't be hooked before the PCI probe
64# when built in kernel
Takashi Iwai756e2b02007-04-16 11:27:07 +020065obj-$(CONFIG_SND_HDA_INTEL) += snd-hda-intel.o