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