Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc-2.6
[linux-2.6.git] / sound / pci / hda / Makefile
1 snd-hda-intel-objs := hda_intel.o
2
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
6 snd-hda-codec-$(CONFIG_SND_HDA_ELD) += hda_eld.o
7 snd-hda-codec-$(CONFIG_SND_HDA_HWDEP) += hda_hwdep.o
8 snd-hda-codec-$(CONFIG_SND_HDA_INPUT_BEEP) += hda_beep.o
9
10 snd-hda-codec-realtek-objs :=   patch_realtek.o
11 snd-hda-codec-cmedia-objs :=    patch_cmedia.o
12 snd-hda-codec-analog-objs :=    patch_analog.o
13 snd-hda-codec-idt-objs :=       patch_sigmatel.o
14 snd-hda-codec-si3054-objs :=    patch_si3054.o
15 snd-hda-codec-atihdmi-objs :=   patch_atihdmi.o
16 snd-hda-codec-cirrus-objs :=    patch_cirrus.o
17 snd-hda-codec-ca0110-objs :=    patch_ca0110.o
18 snd-hda-codec-conexant-objs :=  patch_conexant.o
19 snd-hda-codec-via-objs :=       patch_via.o
20 snd-hda-codec-nvhdmi-objs :=    patch_nvhdmi.o
21 snd-hda-codec-intelhdmi-objs := patch_intelhdmi.o
22
23 # common driver
24 obj-$(CONFIG_SND_HDA_INTEL) := snd-hda-codec.o
25
26 # codec drivers (note: CONFIG_SND_HDA_CODEC_XXX are booleans)
27 ifdef CONFIG_SND_HDA_CODEC_REALTEK
28 obj-$(CONFIG_SND_HDA_INTEL) += snd-hda-codec-realtek.o
29 endif
30 ifdef CONFIG_SND_HDA_CODEC_CMEDIA
31 obj-$(CONFIG_SND_HDA_INTEL) += snd-hda-codec-cmedia.o
32 endif
33 ifdef CONFIG_SND_HDA_CODEC_ANALOG
34 obj-$(CONFIG_SND_HDA_INTEL) += snd-hda-codec-analog.o
35 endif
36 ifdef CONFIG_SND_HDA_CODEC_SIGMATEL
37 obj-$(CONFIG_SND_HDA_INTEL) += snd-hda-codec-idt.o
38 endif
39 ifdef CONFIG_SND_HDA_CODEC_SI3054
40 obj-$(CONFIG_SND_HDA_INTEL) += snd-hda-codec-si3054.o
41 endif
42 ifdef CONFIG_SND_HDA_CODEC_ATIHDMI
43 obj-$(CONFIG_SND_HDA_INTEL) += snd-hda-codec-atihdmi.o
44 endif
45 ifdef CONFIG_SND_HDA_CODEC_CIRRUS
46 obj-$(CONFIG_SND_HDA_INTEL) += snd-hda-codec-cirrus.o
47 endif
48 ifdef CONFIG_SND_HDA_CODEC_CA0110
49 obj-$(CONFIG_SND_HDA_INTEL) += snd-hda-codec-ca0110.o
50 endif
51 ifdef CONFIG_SND_HDA_CODEC_CONEXANT
52 obj-$(CONFIG_SND_HDA_INTEL) += snd-hda-codec-conexant.o
53 endif
54 ifdef CONFIG_SND_HDA_CODEC_VIA
55 obj-$(CONFIG_SND_HDA_INTEL) += snd-hda-codec-via.o
56 endif
57 ifdef CONFIG_SND_HDA_CODEC_NVHDMI
58 obj-$(CONFIG_SND_HDA_INTEL) += snd-hda-codec-nvhdmi.o
59 endif
60 ifdef CONFIG_SND_HDA_CODEC_INTELHDMI
61 obj-$(CONFIG_SND_HDA_INTEL) += snd-hda-codec-intelhdmi.o
62 endif
63
64 # this must be the last entry after codec drivers;
65 # otherwise the codec patches won't be hooked before the PCI probe
66 # when built in kernel
67 obj-$(CONFIG_SND_HDA_INTEL) += snd-hda-intel.o