blob: b8fa682ce66a65c0b2d9e5bd04623f8377bc8b77 [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
Lucas Tanure9e7647b2021-08-11 19:56:29 +010023snd-hda-codec-cs8409-objs := patch_cs8409.o patch_cs8409-tables.o
Takashi Iwai4e01f542009-04-16 08:53:34 +020024snd-hda-codec-ca0110-objs := patch_ca0110.o
Ian Minett95c6e9c2011-06-15 15:35:17 -070025snd-hda-codec-ca0132-objs := patch_ca0132.o
Takashi Iwai1289e9e2008-11-27 15:47:11 +010026snd-hda-codec-conexant-objs := patch_conexant.o
27snd-hda-codec-via-objs := patch_via.o
Takashi Iwai84eb01b2010-09-07 12:27:25 +020028snd-hda-codec-hdmi-objs := patch_hdmi.o hda_eld.o
Takashi Iwai1289e9e2008-11-27 15:47:11 +010029
30# common driver
Dylan Reid78e34f32014-02-28 15:41:32 -080031obj-$(CONFIG_SND_HDA) := snd-hda-codec.o
Takashi Iwai1289e9e2008-11-27 15:47:11 +010032
Takashi Iwai595fe1b2013-12-18 07:35:11 +010033# codec drivers
34obj-$(CONFIG_SND_HDA_GENERIC) += snd-hda-codec-generic.o
35obj-$(CONFIG_SND_HDA_CODEC_REALTEK) += snd-hda-codec-realtek.o
36obj-$(CONFIG_SND_HDA_CODEC_CMEDIA) += snd-hda-codec-cmedia.o
37obj-$(CONFIG_SND_HDA_CODEC_ANALOG) += snd-hda-codec-analog.o
38obj-$(CONFIG_SND_HDA_CODEC_SIGMATEL) += snd-hda-codec-idt.o
39obj-$(CONFIG_SND_HDA_CODEC_SI3054) += snd-hda-codec-si3054.o
40obj-$(CONFIG_SND_HDA_CODEC_CIRRUS) += snd-hda-codec-cirrus.o
Lucas Tanure8c704612021-08-11 19:56:28 +010041obj-$(CONFIG_SND_HDA_CODEC_CS8409) += snd-hda-codec-cs8409.o
Takashi Iwai595fe1b2013-12-18 07:35:11 +010042obj-$(CONFIG_SND_HDA_CODEC_CA0110) += snd-hda-codec-ca0110.o
43obj-$(CONFIG_SND_HDA_CODEC_CA0132) += snd-hda-codec-ca0132.o
44obj-$(CONFIG_SND_HDA_CODEC_CONEXANT) += snd-hda-codec-conexant.o
45obj-$(CONFIG_SND_HDA_CODEC_VIA) += snd-hda-codec-via.o
46obj-$(CONFIG_SND_HDA_CODEC_HDMI) += snd-hda-codec-hdmi.o
Takashi Iwai1289e9e2008-11-27 15:47:11 +010047
48# this must be the last entry after codec drivers;
49# otherwise the codec patches won't be hooked before the PCI probe
50# when built in kernel
Takashi Iwai756e2b02007-04-16 11:27:07 +020051obj-$(CONFIG_SND_HDA_INTEL) += snd-hda-intel.o
Dylan Reid3c320f32014-05-19 19:18:27 -070052obj-$(CONFIG_SND_HDA_TEGRA) += snd-hda-tegra.o