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