Linux 3.8-rc7
[cris-mirror.git] / sound / pci / hda / Makefile
blob24a251497a1f8ae537aa65de4731fcf1371e8af6
1 snd-hda-intel-objs := hda_intel.o
3 snd-hda-codec-y := hda_codec.o hda_jack.o hda_auto_parser.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_HWDEP) += hda_hwdep.o
7 snd-hda-codec-$(CONFIG_SND_HDA_INPUT_BEEP) += hda_beep.o
9 # for trace-points
10 CFLAGS_hda_codec.o := -I$(src)
11 CFLAGS_hda_intel.o := -I$(src)
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
18 snd-hda-codec-cirrus-objs := patch_cirrus.o
19 snd-hda-codec-ca0110-objs := patch_ca0110.o
20 snd-hda-codec-ca0132-objs := patch_ca0132.o
21 snd-hda-codec-conexant-objs := patch_conexant.o
22 snd-hda-codec-via-objs := patch_via.o
23 snd-hda-codec-hdmi-objs := patch_hdmi.o hda_eld.o
25 # common driver
26 obj-$(CONFIG_SND_HDA_INTEL) := snd-hda-codec.o
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
44 ifdef CONFIG_SND_HDA_CODEC_CIRRUS
45 obj-$(CONFIG_SND_HDA_INTEL) += snd-hda-codec-cirrus.o
46 endif
47 ifdef CONFIG_SND_HDA_CODEC_CA0110
48 obj-$(CONFIG_SND_HDA_INTEL) += snd-hda-codec-ca0110.o
49 endif
50 ifdef CONFIG_SND_HDA_CODEC_CA0132
51 obj-$(CONFIG_SND_HDA_INTEL) += snd-hda-codec-ca0132.o
52 endif
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
59 ifdef CONFIG_SND_HDA_CODEC_HDMI
60 obj-$(CONFIG_SND_HDA_INTEL) += snd-hda-codec-hdmi.o
61 endif
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
66 obj-$(CONFIG_SND_HDA_INTEL) += snd-hda-intel.o