blob: 3e7bc608d45f27cb8ab4d21bfe446c1ac4219931 [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
Lucas Tanure7b2f3eb2021-12-17 11:57:05 +000030# side codecs
31snd-hda-scodec-cs35l41-objs := cs35l41_hda.o
32snd-hda-scodec-cs35l41-i2c-objs := cs35l41_hda_i2c.o
33snd-hda-scodec-cs35l41-spi-objs := cs35l41_hda_spi.o
34
Takashi Iwai1289e9e2008-11-27 15:47:11 +010035# common driver
Dylan Reid78e34f32014-02-28 15:41:32 -080036obj-$(CONFIG_SND_HDA) := snd-hda-codec.o
Takashi Iwai1289e9e2008-11-27 15:47:11 +010037
Takashi Iwai595fe1b2013-12-18 07:35:11 +010038# codec drivers
39obj-$(CONFIG_SND_HDA_GENERIC) += snd-hda-codec-generic.o
40obj-$(CONFIG_SND_HDA_CODEC_REALTEK) += snd-hda-codec-realtek.o
41obj-$(CONFIG_SND_HDA_CODEC_CMEDIA) += snd-hda-codec-cmedia.o
42obj-$(CONFIG_SND_HDA_CODEC_ANALOG) += snd-hda-codec-analog.o
43obj-$(CONFIG_SND_HDA_CODEC_SIGMATEL) += snd-hda-codec-idt.o
44obj-$(CONFIG_SND_HDA_CODEC_SI3054) += snd-hda-codec-si3054.o
45obj-$(CONFIG_SND_HDA_CODEC_CIRRUS) += snd-hda-codec-cirrus.o
Lucas Tanure8c704612021-08-11 19:56:28 +010046obj-$(CONFIG_SND_HDA_CODEC_CS8409) += snd-hda-codec-cs8409.o
Takashi Iwai595fe1b2013-12-18 07:35:11 +010047obj-$(CONFIG_SND_HDA_CODEC_CA0110) += snd-hda-codec-ca0110.o
48obj-$(CONFIG_SND_HDA_CODEC_CA0132) += snd-hda-codec-ca0132.o
49obj-$(CONFIG_SND_HDA_CODEC_CONEXANT) += snd-hda-codec-conexant.o
50obj-$(CONFIG_SND_HDA_CODEC_VIA) += snd-hda-codec-via.o
51obj-$(CONFIG_SND_HDA_CODEC_HDMI) += snd-hda-codec-hdmi.o
Takashi Iwai1289e9e2008-11-27 15:47:11 +010052
Lucas Tanure7b2f3eb2021-12-17 11:57:05 +000053# side codecs
54obj-$(CONFIG_SND_HDA_SCODEC_CS35L41) += snd-hda-scodec-cs35l41.o
55obj-$(CONFIG_SND_HDA_SCODEC_CS35L41_I2C) += snd-hda-scodec-cs35l41-i2c.o
56obj-$(CONFIG_SND_HDA_SCODEC_CS35L41_SPI) += snd-hda-scodec-cs35l41-spi.o
57
Takashi Iwai1289e9e2008-11-27 15:47:11 +010058# this must be the last entry after codec drivers;
59# otherwise the codec patches won't be hooked before the PCI probe
60# when built in kernel
Takashi Iwai756e2b02007-04-16 11:27:07 +020061obj-$(CONFIG_SND_HDA_INTEL) += snd-hda-intel.o
Dylan Reid3c320f32014-05-19 19:18:27 -070062obj-$(CONFIG_SND_HDA_TEGRA) += snd-hda-tegra.o