1snd-hda-intel-objs := hda_intel.o
2
3snd-hda-codec-y := hda_codec.o hda_jack.o
4snd-hda-codec-$(CONFIG_SND_HDA_GENERIC) += hda_generic.o
5snd-hda-codec-$(CONFIG_PROC_FS) += hda_proc.o
6snd-hda-codec-$(CONFIG_SND_HDA_HWDEP) += hda_hwdep.o
7snd-hda-codec-$(CONFIG_SND_HDA_INPUT_BEEP) += hda_beep.o
8
9# for trace-points
10CFLAGS_hda_codec.o := -I$(src)
11
12snd-hda-codec-realtek-objs :=	patch_realtek.o
13snd-hda-codec-cmedia-objs :=	patch_cmedia.o
14snd-hda-codec-analog-objs :=	patch_analog.o
15snd-hda-codec-idt-objs :=	patch_sigmatel.o
16snd-hda-codec-si3054-objs :=	patch_si3054.o
17snd-hda-codec-cirrus-objs :=	patch_cirrus.o
18snd-hda-codec-ca0110-objs :=	patch_ca0110.o
19snd-hda-codec-ca0132-objs :=	patch_ca0132.o
20snd-hda-codec-conexant-objs :=	patch_conexant.o
21snd-hda-codec-via-objs :=	patch_via.o
22snd-hda-codec-hdmi-objs :=	patch_hdmi.o hda_eld.o
23
24# common driver
25obj-$(CONFIG_SND_HDA_INTEL) := snd-hda-codec.o
26
27# codec drivers (note: CONFIG_SND_HDA_CODEC_XXX are booleans)
28ifdef CONFIG_SND_HDA_CODEC_REALTEK
29obj-$(CONFIG_SND_HDA_INTEL) += snd-hda-codec-realtek.o
30endif
31ifdef CONFIG_SND_HDA_CODEC_CMEDIA
32obj-$(CONFIG_SND_HDA_INTEL) += snd-hda-codec-cmedia.o
33endif
34ifdef CONFIG_SND_HDA_CODEC_ANALOG
35obj-$(CONFIG_SND_HDA_INTEL) += snd-hda-codec-analog.o
36endif
37ifdef CONFIG_SND_HDA_CODEC_SIGMATEL
38obj-$(CONFIG_SND_HDA_INTEL) += snd-hda-codec-idt.o
39endif
40ifdef CONFIG_SND_HDA_CODEC_SI3054
41obj-$(CONFIG_SND_HDA_INTEL) += snd-hda-codec-si3054.o
42endif
43ifdef CONFIG_SND_HDA_CODEC_CIRRUS
44obj-$(CONFIG_SND_HDA_INTEL) += snd-hda-codec-cirrus.o
45endif
46ifdef CONFIG_SND_HDA_CODEC_CA0110
47obj-$(CONFIG_SND_HDA_INTEL) += snd-hda-codec-ca0110.o
48endif
49ifdef CONFIG_SND_HDA_CODEC_CA0132
50obj-$(CONFIG_SND_HDA_INTEL) += snd-hda-codec-ca0132.o
51endif
52ifdef CONFIG_SND_HDA_CODEC_CONEXANT
53obj-$(CONFIG_SND_HDA_INTEL) += snd-hda-codec-conexant.o
54endif
55ifdef CONFIG_SND_HDA_CODEC_VIA
56obj-$(CONFIG_SND_HDA_INTEL) += snd-hda-codec-via.o
57endif
58ifdef CONFIG_SND_HDA_CODEC_HDMI
59obj-$(CONFIG_SND_HDA_INTEL) += snd-hda-codec-hdmi.o
60endif
61
62# this must be the last entry after codec drivers;
63# otherwise the codec patches won't be hooked before the PCI probe
64# when built in kernel
65obj-$(CONFIG_SND_HDA_INTEL) += snd-hda-intel.o
66