blob: b57432f000568eb1b40f5131464218ba1f07bcff [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001# SPDX-License-Identifier: GPL-2.0
Dylan Reid78e34f32014-02-28 15:41:32 -08002snd-hda-intel-objs := hda_intel.o
Dylan Reid3c320f32014-05-19 19:18:27 -07003snd-hda-tegra-objs := hda_tegra.o
Linus Torvalds1da177e2005-04-16 15:20:36 -07004
Takashi Iwaid8a766a2015-02-17 15:25:37 +01005snd-hda-codec-y := hda_bind.o hda_codec.o hda_jack.o hda_auto_parser.o hda_sysfs.o
Takashi Iwaifb3b07c2015-04-14 16:47:19 +02006snd-hda-codec-y += hda_controller.o
Jie Yangcd6a6502015-05-27 19:45:45 +08007snd-hda-codec-$(CONFIG_SND_PROC_FS) += hda_proc.o
8
Takashi Iwai1289e9e2008-11-27 15:47:11 +01009snd-hda-codec-$(CONFIG_SND_HDA_HWDEP) += hda_hwdep.o
10snd-hda-codec-$(CONFIG_SND_HDA_INPUT_BEEP) += hda_beep.o
11
Takashi Iwaid66fee52011-08-02 15:39:31 +020012# for trace-points
Dylan Reid05e84872014-02-28 15:41:22 -080013CFLAGS_hda_controller.o := -I$(src)
Libin Yang785d8c42015-05-12 09:43:22 +080014CFLAGS_hda_intel.o := -I$(src)
Takashi Iwaid66fee52011-08-02 15:39:31 +020015
Takashi Iwaib21bdd02013-11-18 12:03:56 +010016snd-hda-codec-generic-objs := hda_generic.o
Takashi Iwai1289e9e2008-11-27 15:47:11 +010017snd-hda-codec-realtek-objs := patch_realtek.o
18snd-hda-codec-cmedia-objs := patch_cmedia.o
19snd-hda-codec-analog-objs := patch_analog.o
20snd-hda-codec-idt-objs := patch_sigmatel.o
21snd-hda-codec-si3054-objs := patch_si3054.o
Takashi Iwaie5f14242009-07-01 18:11:44 +020022snd-hda-codec-cirrus-objs := patch_cirrus.o
Takashi Iwai4e01f542009-04-16 08:53:34 +020023snd-hda-codec-ca0110-objs := patch_ca0110.o
Ian Minett95c6e9c2011-06-15 15:35:17 -070024snd-hda-codec-ca0132-objs := patch_ca0132.o
Takashi Iwai1289e9e2008-11-27 15:47:11 +010025snd-hda-codec-conexant-objs := patch_conexant.o
26snd-hda-codec-via-objs := patch_via.o
Takashi Iwai84eb01b2010-09-07 12:27:25 +020027snd-hda-codec-hdmi-objs := patch_hdmi.o hda_eld.o
Takashi Iwai1289e9e2008-11-27 15:47:11 +010028
29# common driver
Dylan Reid78e34f32014-02-28 15:41:32 -080030obj-$(CONFIG_SND_HDA) := snd-hda-codec.o
Takashi Iwai1289e9e2008-11-27 15:47:11 +010031
Takashi Iwai595fe1b2013-12-18 07:35:11 +010032# codec drivers
33obj-$(CONFIG_SND_HDA_GENERIC) += snd-hda-codec-generic.o
34obj-$(CONFIG_SND_HDA_CODEC_REALTEK) += snd-hda-codec-realtek.o
35obj-$(CONFIG_SND_HDA_CODEC_CMEDIA) += snd-hda-codec-cmedia.o
36obj-$(CONFIG_SND_HDA_CODEC_ANALOG) += snd-hda-codec-analog.o
37obj-$(CONFIG_SND_HDA_CODEC_SIGMATEL) += snd-hda-codec-idt.o
38obj-$(CONFIG_SND_HDA_CODEC_SI3054) += snd-hda-codec-si3054.o
39obj-$(CONFIG_SND_HDA_CODEC_CIRRUS) += snd-hda-codec-cirrus.o
40obj-$(CONFIG_SND_HDA_CODEC_CA0110) += snd-hda-codec-ca0110.o
41obj-$(CONFIG_SND_HDA_CODEC_CA0132) += snd-hda-codec-ca0132.o
42obj-$(CONFIG_SND_HDA_CODEC_CONEXANT) += snd-hda-codec-conexant.o
43obj-$(CONFIG_SND_HDA_CODEC_VIA) += snd-hda-codec-via.o
44obj-$(CONFIG_SND_HDA_CODEC_HDMI) += snd-hda-codec-hdmi.o
Takashi Iwai1289e9e2008-11-27 15:47:11 +010045
46# this must be the last entry after codec drivers;
47# otherwise the codec patches won't be hooked before the PCI probe
48# when built in kernel
Takashi Iwai756e2b02007-04-16 11:27:07 +020049obj-$(CONFIG_SND_HDA_INTEL) += snd-hda-intel.o
Dylan Reid3c320f32014-05-19 19:18:27 -070050obj-$(CONFIG_SND_HDA_TEGRA) += snd-hda-tegra.o