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