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