Takashi Iwai | 1289e9e | 2008-11-27 15:47:11 +0100 | [diff] [blame] | 1 | snd-hda-intel-objs := hda_intel.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2 | |
Takashi Iwai | 23d30f2 | 2012-05-07 17:17:32 +0200 | [diff] [blame] | 3 | snd-hda-codec-y := hda_codec.o hda_jack.o hda_auto_parser.o |
Takashi Iwai | 1289e9e | 2008-11-27 15:47:11 +0100 | [diff] [blame] | 4 | snd-hda-codec-$(CONFIG_SND_HDA_GENERIC) += hda_generic.o |
| 5 | snd-hda-codec-$(CONFIG_PROC_FS) += hda_proc.o |
Takashi Iwai | 1289e9e | 2008-11-27 15:47:11 +0100 | [diff] [blame] | 6 | snd-hda-codec-$(CONFIG_SND_HDA_HWDEP) += hda_hwdep.o |
| 7 | snd-hda-codec-$(CONFIG_SND_HDA_INPUT_BEEP) += hda_beep.o |
| 8 | |
Takashi Iwai | d66fee5 | 2011-08-02 15:39:31 +0200 | [diff] [blame] | 9 | # for trace-points |
| 10 | CFLAGS_hda_codec.o := -I$(src) |
| 11 | |
Takashi Iwai | 1289e9e | 2008-11-27 15:47:11 +0100 | [diff] [blame] | 12 | snd-hda-codec-realtek-objs := patch_realtek.o |
| 13 | snd-hda-codec-cmedia-objs := patch_cmedia.o |
| 14 | snd-hda-codec-analog-objs := patch_analog.o |
| 15 | snd-hda-codec-idt-objs := patch_sigmatel.o |
| 16 | snd-hda-codec-si3054-objs := patch_si3054.o |
Takashi Iwai | e5f1424 | 2009-07-01 18:11:44 +0200 | [diff] [blame] | 17 | snd-hda-codec-cirrus-objs := patch_cirrus.o |
Takashi Iwai | 4e01f54 | 2009-04-16 08:53:34 +0200 | [diff] [blame] | 18 | snd-hda-codec-ca0110-objs := patch_ca0110.o |
Ian Minett | 95c6e9c | 2011-06-15 15:35:17 -0700 | [diff] [blame] | 19 | snd-hda-codec-ca0132-objs := patch_ca0132.o |
Takashi Iwai | 1289e9e | 2008-11-27 15:47:11 +0100 | [diff] [blame] | 20 | snd-hda-codec-conexant-objs := patch_conexant.o |
| 21 | snd-hda-codec-via-objs := patch_via.o |
Takashi Iwai | 84eb01b | 2010-09-07 12:27:25 +0200 | [diff] [blame] | 22 | snd-hda-codec-hdmi-objs := patch_hdmi.o hda_eld.o |
Takashi Iwai | 1289e9e | 2008-11-27 15:47:11 +0100 | [diff] [blame] | 23 | |
| 24 | # common driver |
| 25 | obj-$(CONFIG_SND_HDA_INTEL) := snd-hda-codec.o |
| 26 | |
| 27 | # codec drivers (note: CONFIG_SND_HDA_CODEC_XXX are booleans) |
| 28 | ifdef CONFIG_SND_HDA_CODEC_REALTEK |
| 29 | obj-$(CONFIG_SND_HDA_INTEL) += snd-hda-codec-realtek.o |
| 30 | endif |
| 31 | ifdef CONFIG_SND_HDA_CODEC_CMEDIA |
| 32 | obj-$(CONFIG_SND_HDA_INTEL) += snd-hda-codec-cmedia.o |
| 33 | endif |
| 34 | ifdef CONFIG_SND_HDA_CODEC_ANALOG |
| 35 | obj-$(CONFIG_SND_HDA_INTEL) += snd-hda-codec-analog.o |
| 36 | endif |
| 37 | ifdef CONFIG_SND_HDA_CODEC_SIGMATEL |
| 38 | obj-$(CONFIG_SND_HDA_INTEL) += snd-hda-codec-idt.o |
| 39 | endif |
| 40 | ifdef CONFIG_SND_HDA_CODEC_SI3054 |
| 41 | obj-$(CONFIG_SND_HDA_INTEL) += snd-hda-codec-si3054.o |
| 42 | endif |
Takashi Iwai | e5f1424 | 2009-07-01 18:11:44 +0200 | [diff] [blame] | 43 | ifdef CONFIG_SND_HDA_CODEC_CIRRUS |
| 44 | obj-$(CONFIG_SND_HDA_INTEL) += snd-hda-codec-cirrus.o |
| 45 | endif |
Takashi Iwai | 4e01f54 | 2009-04-16 08:53:34 +0200 | [diff] [blame] | 46 | ifdef CONFIG_SND_HDA_CODEC_CA0110 |
| 47 | obj-$(CONFIG_SND_HDA_INTEL) += snd-hda-codec-ca0110.o |
| 48 | endif |
Ian Minett | 95c6e9c | 2011-06-15 15:35:17 -0700 | [diff] [blame] | 49 | ifdef CONFIG_SND_HDA_CODEC_CA0132 |
| 50 | obj-$(CONFIG_SND_HDA_INTEL) += snd-hda-codec-ca0132.o |
| 51 | endif |
Takashi Iwai | 1289e9e | 2008-11-27 15:47:11 +0100 | [diff] [blame] | 52 | ifdef CONFIG_SND_HDA_CODEC_CONEXANT |
| 53 | obj-$(CONFIG_SND_HDA_INTEL) += snd-hda-codec-conexant.o |
| 54 | endif |
| 55 | ifdef CONFIG_SND_HDA_CODEC_VIA |
| 56 | obj-$(CONFIG_SND_HDA_INTEL) += snd-hda-codec-via.o |
| 57 | endif |
Takashi Iwai | 84eb01b | 2010-09-07 12:27:25 +0200 | [diff] [blame] | 58 | ifdef CONFIG_SND_HDA_CODEC_HDMI |
| 59 | obj-$(CONFIG_SND_HDA_INTEL) += snd-hda-codec-hdmi.o |
Takashi Iwai | 1289e9e | 2008-11-27 15:47:11 +0100 | [diff] [blame] | 60 | endif |
| 61 | |
| 62 | # this must be the last entry after codec drivers; |
| 63 | # otherwise the codec patches won't be hooked before the PCI probe |
| 64 | # when built in kernel |
Takashi Iwai | 756e2b0 | 2007-04-16 11:27:07 +0200 | [diff] [blame] | 65 | obj-$(CONFIG_SND_HDA_INTEL) += snd-hda-intel.o |