xref: /linux/sound/pci/hda/Makefile (revision ca55b2fef3a9373fcfc30f82fd26bc7fccbda732)
1snd-hda-intel-objs := hda_intel.o
2snd-hda-tegra-objs := hda_tegra.o
3
4snd-hda-codec-y := hda_bind.o hda_codec.o hda_jack.o hda_auto_parser.o hda_sysfs.o
5snd-hda-codec-y += hda_controller.o
6snd-hda-codec-$(CONFIG_SND_PROC_FS) += hda_proc.o
7
8snd-hda-codec-$(CONFIG_SND_HDA_HWDEP) += hda_hwdep.o
9snd-hda-codec-$(CONFIG_SND_HDA_INPUT_BEEP) += hda_beep.o
10
11# for trace-points
12CFLAGS_hda_controller.o := -I$(src)
13CFLAGS_hda_intel.o := -I$(src)
14
15snd-hda-codec-generic-objs :=	hda_generic.o
16snd-hda-codec-realtek-objs :=	patch_realtek.o
17snd-hda-codec-cmedia-objs :=	patch_cmedia.o
18snd-hda-codec-analog-objs :=	patch_analog.o
19snd-hda-codec-idt-objs :=	patch_sigmatel.o
20snd-hda-codec-si3054-objs :=	patch_si3054.o
21snd-hda-codec-cirrus-objs :=	patch_cirrus.o
22snd-hda-codec-ca0110-objs :=	patch_ca0110.o
23snd-hda-codec-ca0132-objs :=	patch_ca0132.o
24snd-hda-codec-conexant-objs :=	patch_conexant.o
25snd-hda-codec-via-objs :=	patch_via.o
26snd-hda-codec-hdmi-objs :=	patch_hdmi.o hda_eld.o
27
28# common driver
29obj-$(CONFIG_SND_HDA) := snd-hda-codec.o
30
31# codec drivers
32obj-$(CONFIG_SND_HDA_GENERIC) += snd-hda-codec-generic.o
33obj-$(CONFIG_SND_HDA_CODEC_REALTEK) += snd-hda-codec-realtek.o
34obj-$(CONFIG_SND_HDA_CODEC_CMEDIA) += snd-hda-codec-cmedia.o
35obj-$(CONFIG_SND_HDA_CODEC_ANALOG) += snd-hda-codec-analog.o
36obj-$(CONFIG_SND_HDA_CODEC_SIGMATEL) += snd-hda-codec-idt.o
37obj-$(CONFIG_SND_HDA_CODEC_SI3054) += snd-hda-codec-si3054.o
38obj-$(CONFIG_SND_HDA_CODEC_CIRRUS) += snd-hda-codec-cirrus.o
39obj-$(CONFIG_SND_HDA_CODEC_CA0110) += snd-hda-codec-ca0110.o
40obj-$(CONFIG_SND_HDA_CODEC_CA0132) += snd-hda-codec-ca0132.o
41obj-$(CONFIG_SND_HDA_CODEC_CONEXANT) += snd-hda-codec-conexant.o
42obj-$(CONFIG_SND_HDA_CODEC_VIA) += snd-hda-codec-via.o
43obj-$(CONFIG_SND_HDA_CODEC_HDMI) += snd-hda-codec-hdmi.o
44
45# this must be the last entry after codec drivers;
46# otherwise the codec patches won't be hooked before the PCI probe
47# when built in kernel
48obj-$(CONFIG_SND_HDA_INTEL) += snd-hda-intel.o
49obj-$(CONFIG_SND_HDA_TEGRA) += snd-hda-tegra.o
50