Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0 |
Dylan Reid | 78e34f3 | 2014-02-28 15:41:32 -0800 | [diff] [blame] | 2 | snd-hda-intel-objs := hda_intel.o |
Dylan Reid | 3c320f3 | 2014-05-19 19:18:27 -0700 | [diff] [blame] | 3 | snd-hda-tegra-objs := hda_tegra.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 4 | |
Takashi Iwai | d8a766a | 2015-02-17 15:25:37 +0100 | [diff] [blame] | 5 | snd-hda-codec-y := hda_bind.o hda_codec.o hda_jack.o hda_auto_parser.o hda_sysfs.o |
Takashi Iwai | fb3b07c | 2015-04-14 16:47:19 +0200 | [diff] [blame] | 6 | snd-hda-codec-y += hda_controller.o |
Jie Yang | cd6a650 | 2015-05-27 19:45:45 +0800 | [diff] [blame] | 7 | snd-hda-codec-$(CONFIG_SND_PROC_FS) += hda_proc.o |
| 8 | |
Takashi Iwai | 1289e9e | 2008-11-27 15:47:11 +0100 | [diff] [blame] | 9 | snd-hda-codec-$(CONFIG_SND_HDA_HWDEP) += hda_hwdep.o |
| 10 | snd-hda-codec-$(CONFIG_SND_HDA_INPUT_BEEP) += hda_beep.o |
| 11 | |
Takashi Iwai | d66fee5 | 2011-08-02 15:39:31 +0200 | [diff] [blame] | 12 | # for trace-points |
Dylan Reid | 05e8487 | 2014-02-28 15:41:22 -0800 | [diff] [blame] | 13 | CFLAGS_hda_controller.o := -I$(src) |
Libin Yang | 785d8c4 | 2015-05-12 09:43:22 +0800 | [diff] [blame] | 14 | CFLAGS_hda_intel.o := -I$(src) |
Takashi Iwai | d66fee5 | 2011-08-02 15:39:31 +0200 | [diff] [blame] | 15 | |
Takashi Iwai | b21bdd0 | 2013-11-18 12:03:56 +0100 | [diff] [blame] | 16 | snd-hda-codec-generic-objs := hda_generic.o |
Takashi Iwai | 1289e9e | 2008-11-27 15:47:11 +0100 | [diff] [blame] | 17 | snd-hda-codec-realtek-objs := patch_realtek.o |
| 18 | snd-hda-codec-cmedia-objs := patch_cmedia.o |
| 19 | snd-hda-codec-analog-objs := patch_analog.o |
| 20 | snd-hda-codec-idt-objs := patch_sigmatel.o |
| 21 | snd-hda-codec-si3054-objs := patch_si3054.o |
Takashi Iwai | e5f1424 | 2009-07-01 18:11:44 +0200 | [diff] [blame] | 22 | snd-hda-codec-cirrus-objs := patch_cirrus.o |
Takashi Iwai | 4e01f54 | 2009-04-16 08:53:34 +0200 | [diff] [blame] | 23 | snd-hda-codec-ca0110-objs := patch_ca0110.o |
Ian Minett | 95c6e9c | 2011-06-15 15:35:17 -0700 | [diff] [blame] | 24 | snd-hda-codec-ca0132-objs := patch_ca0132.o |
Takashi Iwai | 1289e9e | 2008-11-27 15:47:11 +0100 | [diff] [blame] | 25 | snd-hda-codec-conexant-objs := patch_conexant.o |
| 26 | snd-hda-codec-via-objs := patch_via.o |
Takashi Iwai | 84eb01b | 2010-09-07 12:27:25 +0200 | [diff] [blame] | 27 | snd-hda-codec-hdmi-objs := patch_hdmi.o hda_eld.o |
Takashi Iwai | 1289e9e | 2008-11-27 15:47:11 +0100 | [diff] [blame] | 28 | |
| 29 | # common driver |
Dylan Reid | 78e34f3 | 2014-02-28 15:41:32 -0800 | [diff] [blame] | 30 | obj-$(CONFIG_SND_HDA) := snd-hda-codec.o |
Takashi Iwai | 1289e9e | 2008-11-27 15:47:11 +0100 | [diff] [blame] | 31 | |
Takashi Iwai | 595fe1b | 2013-12-18 07:35:11 +0100 | [diff] [blame] | 32 | # codec drivers |
| 33 | obj-$(CONFIG_SND_HDA_GENERIC) += snd-hda-codec-generic.o |
| 34 | obj-$(CONFIG_SND_HDA_CODEC_REALTEK) += snd-hda-codec-realtek.o |
| 35 | obj-$(CONFIG_SND_HDA_CODEC_CMEDIA) += snd-hda-codec-cmedia.o |
| 36 | obj-$(CONFIG_SND_HDA_CODEC_ANALOG) += snd-hda-codec-analog.o |
| 37 | obj-$(CONFIG_SND_HDA_CODEC_SIGMATEL) += snd-hda-codec-idt.o |
| 38 | obj-$(CONFIG_SND_HDA_CODEC_SI3054) += snd-hda-codec-si3054.o |
| 39 | obj-$(CONFIG_SND_HDA_CODEC_CIRRUS) += snd-hda-codec-cirrus.o |
| 40 | obj-$(CONFIG_SND_HDA_CODEC_CA0110) += snd-hda-codec-ca0110.o |
| 41 | obj-$(CONFIG_SND_HDA_CODEC_CA0132) += snd-hda-codec-ca0132.o |
| 42 | obj-$(CONFIG_SND_HDA_CODEC_CONEXANT) += snd-hda-codec-conexant.o |
| 43 | obj-$(CONFIG_SND_HDA_CODEC_VIA) += snd-hda-codec-via.o |
| 44 | obj-$(CONFIG_SND_HDA_CODEC_HDMI) += snd-hda-codec-hdmi.o |
Takashi Iwai | 1289e9e | 2008-11-27 15:47:11 +0100 | [diff] [blame] | 45 | |
| 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 Iwai | 756e2b0 | 2007-04-16 11:27:07 +0200 | [diff] [blame] | 49 | obj-$(CONFIG_SND_HDA_INTEL) += snd-hda-intel.o |
Dylan Reid | 3c320f3 | 2014-05-19 19:18:27 -0700 | [diff] [blame] | 50 | obj-$(CONFIG_SND_HDA_TEGRA) += snd-hda-tegra.o |