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