blob: c091438286a39c3fc5d6fdf1c79fb653ea2cdf31 [file] [log] [blame]
Takashi Iwai1289e9e2008-11-27 15:47:11 +01001snd-hda-intel-objs := hda_intel.o
Wang Xingchao99a20082013-05-30 22:07:10 +08002# for haswell power well
3snd-hda-intel-$(CONFIG_SND_HDA_I915) += hda_i915.o
Linus Torvalds1da177e2005-04-16 15:20:36 -07004
Takashi Iwai23d30f22012-05-07 17:17:32 +02005snd-hda-codec-y := hda_codec.o hda_jack.o hda_auto_parser.o
Takashi Iwai1289e9e2008-11-27 15:47:11 +01006snd-hda-codec-$(CONFIG_SND_HDA_GENERIC) += hda_generic.o
7snd-hda-codec-$(CONFIG_PROC_FS) += hda_proc.o
Takashi Iwai1289e9e2008-11-27 15:47:11 +01008snd-hda-codec-$(CONFIG_SND_HDA_HWDEP) += hda_hwdep.o
9snd-hda-codec-$(CONFIG_SND_HDA_INPUT_BEEP) += hda_beep.o
10
Takashi Iwaid66fee52011-08-02 15:39:31 +020011# for trace-points
12CFLAGS_hda_codec.o := -I$(src)
Takashi Iwai1a8506d2012-10-16 15:10:08 +020013CFLAGS_hda_intel.o := -I$(src)
Takashi Iwaid66fee52011-08-02 15:39:31 +020014
Takashi Iwai1289e9e2008-11-27 15:47:11 +010015snd-hda-codec-realtek-objs := patch_realtek.o
16snd-hda-codec-cmedia-objs := patch_cmedia.o
17snd-hda-codec-analog-objs := patch_analog.o
18snd-hda-codec-idt-objs := patch_sigmatel.o
19snd-hda-codec-si3054-objs := patch_si3054.o
Takashi Iwaie5f14242009-07-01 18:11:44 +020020snd-hda-codec-cirrus-objs := patch_cirrus.o
Takashi Iwai4e01f542009-04-16 08:53:34 +020021snd-hda-codec-ca0110-objs := patch_ca0110.o
Ian Minett95c6e9c2011-06-15 15:35:17 -070022snd-hda-codec-ca0132-objs := patch_ca0132.o
Takashi Iwai1289e9e2008-11-27 15:47:11 +010023snd-hda-codec-conexant-objs := patch_conexant.o
24snd-hda-codec-via-objs := patch_via.o
Takashi Iwai84eb01b2010-09-07 12:27:25 +020025snd-hda-codec-hdmi-objs := patch_hdmi.o hda_eld.o
Takashi Iwai1289e9e2008-11-27 15:47:11 +010026
27# common driver
28obj-$(CONFIG_SND_HDA_INTEL) := snd-hda-codec.o
29
30# codec drivers (note: CONFIG_SND_HDA_CODEC_XXX are booleans)
31ifdef CONFIG_SND_HDA_CODEC_REALTEK
32obj-$(CONFIG_SND_HDA_INTEL) += snd-hda-codec-realtek.o
33endif
34ifdef CONFIG_SND_HDA_CODEC_CMEDIA
35obj-$(CONFIG_SND_HDA_INTEL) += snd-hda-codec-cmedia.o
36endif
37ifdef CONFIG_SND_HDA_CODEC_ANALOG
38obj-$(CONFIG_SND_HDA_INTEL) += snd-hda-codec-analog.o
39endif
40ifdef CONFIG_SND_HDA_CODEC_SIGMATEL
41obj-$(CONFIG_SND_HDA_INTEL) += snd-hda-codec-idt.o
42endif
43ifdef CONFIG_SND_HDA_CODEC_SI3054
44obj-$(CONFIG_SND_HDA_INTEL) += snd-hda-codec-si3054.o
45endif
Takashi Iwaie5f14242009-07-01 18:11:44 +020046ifdef CONFIG_SND_HDA_CODEC_CIRRUS
47obj-$(CONFIG_SND_HDA_INTEL) += snd-hda-codec-cirrus.o
48endif
Takashi Iwai4e01f542009-04-16 08:53:34 +020049ifdef CONFIG_SND_HDA_CODEC_CA0110
50obj-$(CONFIG_SND_HDA_INTEL) += snd-hda-codec-ca0110.o
51endif
Ian Minett95c6e9c2011-06-15 15:35:17 -070052ifdef CONFIG_SND_HDA_CODEC_CA0132
53obj-$(CONFIG_SND_HDA_INTEL) += snd-hda-codec-ca0132.o
54endif
Takashi Iwai1289e9e2008-11-27 15:47:11 +010055ifdef CONFIG_SND_HDA_CODEC_CONEXANT
56obj-$(CONFIG_SND_HDA_INTEL) += snd-hda-codec-conexant.o
57endif
58ifdef CONFIG_SND_HDA_CODEC_VIA
59obj-$(CONFIG_SND_HDA_INTEL) += snd-hda-codec-via.o
60endif
Takashi Iwai84eb01b2010-09-07 12:27:25 +020061ifdef CONFIG_SND_HDA_CODEC_HDMI
62obj-$(CONFIG_SND_HDA_INTEL) += snd-hda-codec-hdmi.o
Takashi Iwai1289e9e2008-11-27 15:47:11 +010063endif
64
65# this must be the last entry after codec drivers;
66# otherwise the codec patches won't be hooked before the PCI probe
67# when built in kernel
Takashi Iwai756e2b02007-04-16 11:27:07 +020068obj-$(CONFIG_SND_HDA_INTEL) += snd-hda-intel.o