Merge branch 'acpica' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux...
[linux-2.6] / 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-ca0110-objs :=    patch_ca0110.o
17 snd-hda-codec-conexant-objs :=  patch_conexant.o
18 snd-hda-codec-via-objs :=       patch_via.o
19 snd-hda-codec-nvhdmi-objs :=    patch_nvhdmi.o
20 snd-hda-codec-intelhdmi-objs := patch_intelhdmi.o hda_eld.o
21
22 # common driver
23 obj-$(CONFIG_SND_HDA_INTEL) := snd-hda-codec.o
24
25 # codec drivers (note: CONFIG_SND_HDA_CODEC_XXX are booleans)
26 ifdef CONFIG_SND_HDA_CODEC_REALTEK
27 obj-$(CONFIG_SND_HDA_INTEL) += snd-hda-codec-realtek.o
28 endif
29 ifdef CONFIG_SND_HDA_CODEC_CMEDIA
30 obj-$(CONFIG_SND_HDA_INTEL) += snd-hda-codec-cmedia.o
31 endif
32 ifdef CONFIG_SND_HDA_CODEC_ANALOG
33 obj-$(CONFIG_SND_HDA_INTEL) += snd-hda-codec-analog.o
34 endif
35 ifdef CONFIG_SND_HDA_CODEC_SIGMATEL
36 obj-$(CONFIG_SND_HDA_INTEL) += snd-hda-codec-idt.o
37 endif
38 ifdef CONFIG_SND_HDA_CODEC_SI3054
39 obj-$(CONFIG_SND_HDA_INTEL) += snd-hda-codec-si3054.o
40 endif
41 ifdef CONFIG_SND_HDA_CODEC_ATIHDMI
42 obj-$(CONFIG_SND_HDA_INTEL) += snd-hda-codec-atihdmi.o
43 endif
44 ifdef CONFIG_SND_HDA_CODEC_CA0110
45 obj-$(CONFIG_SND_HDA_INTEL) += snd-hda-codec-ca0110.o
46 endif
47 ifdef CONFIG_SND_HDA_CODEC_CONEXANT
48 obj-$(CONFIG_SND_HDA_INTEL) += snd-hda-codec-conexant.o
49 endif
50 ifdef CONFIG_SND_HDA_CODEC_VIA
51 obj-$(CONFIG_SND_HDA_INTEL) += snd-hda-codec-via.o
52 endif
53 ifdef CONFIG_SND_HDA_CODEC_NVHDMI
54 obj-$(CONFIG_SND_HDA_INTEL) += snd-hda-codec-nvhdmi.o
55 endif
56 ifdef CONFIG_SND_HDA_CODEC_INTELHDMI
57 obj-$(CONFIG_SND_HDA_INTEL) += snd-hda-codec-intelhdmi.o
58 endif
59
60 # this must be the last entry after codec drivers;
61 # otherwise the codec patches won't be hooked before the PCI probe
62 # when built in kernel
63 obj-$(CONFIG_SND_HDA_INTEL) += snd-hda-intel.o