2008-11-27 21:47:11 +07:00
|
|
|
snd-hda-intel-objs := hda_intel.o
|
2005-04-17 05:20:36 +07:00
|
|
|
|
2011-10-28 03:12:46 +07:00
|
|
|
snd-hda-codec-y := hda_codec.o hda_jack.o
|
2008-11-27 21:47:11 +07:00
|
|
|
snd-hda-codec-$(CONFIG_SND_HDA_GENERIC) += hda_generic.o
|
|
|
|
snd-hda-codec-$(CONFIG_PROC_FS) += hda_proc.o
|
|
|
|
snd-hda-codec-$(CONFIG_SND_HDA_HWDEP) += hda_hwdep.o
|
|
|
|
snd-hda-codec-$(CONFIG_SND_HDA_INPUT_BEEP) += hda_beep.o
|
|
|
|
|
2011-08-02 20:39:31 +07:00
|
|
|
# for trace-points
|
|
|
|
CFLAGS_hda_codec.o := -I$(src)
|
|
|
|
|
2008-11-27 21:47:11 +07:00
|
|
|
snd-hda-codec-realtek-objs := patch_realtek.o
|
|
|
|
snd-hda-codec-cmedia-objs := patch_cmedia.o
|
|
|
|
snd-hda-codec-analog-objs := patch_analog.o
|
|
|
|
snd-hda-codec-idt-objs := patch_sigmatel.o
|
|
|
|
snd-hda-codec-si3054-objs := patch_si3054.o
|
2009-07-01 23:11:44 +07:00
|
|
|
snd-hda-codec-cirrus-objs := patch_cirrus.o
|
2009-04-16 13:53:34 +07:00
|
|
|
snd-hda-codec-ca0110-objs := patch_ca0110.o
|
2011-06-16 05:35:17 +07:00
|
|
|
snd-hda-codec-ca0132-objs := patch_ca0132.o
|
2008-11-27 21:47:11 +07:00
|
|
|
snd-hda-codec-conexant-objs := patch_conexant.o
|
|
|
|
snd-hda-codec-via-objs := patch_via.o
|
2010-09-07 17:27:25 +07:00
|
|
|
snd-hda-codec-hdmi-objs := patch_hdmi.o hda_eld.o
|
2008-11-27 21:47:11 +07:00
|
|
|
|
|
|
|
# common driver
|
|
|
|
obj-$(CONFIG_SND_HDA_INTEL) := snd-hda-codec.o
|
|
|
|
|
|
|
|
# codec drivers (note: CONFIG_SND_HDA_CODEC_XXX are booleans)
|
|
|
|
ifdef CONFIG_SND_HDA_CODEC_REALTEK
|
|
|
|
obj-$(CONFIG_SND_HDA_INTEL) += snd-hda-codec-realtek.o
|
|
|
|
endif
|
|
|
|
ifdef CONFIG_SND_HDA_CODEC_CMEDIA
|
|
|
|
obj-$(CONFIG_SND_HDA_INTEL) += snd-hda-codec-cmedia.o
|
|
|
|
endif
|
|
|
|
ifdef CONFIG_SND_HDA_CODEC_ANALOG
|
|
|
|
obj-$(CONFIG_SND_HDA_INTEL) += snd-hda-codec-analog.o
|
|
|
|
endif
|
|
|
|
ifdef CONFIG_SND_HDA_CODEC_SIGMATEL
|
|
|
|
obj-$(CONFIG_SND_HDA_INTEL) += snd-hda-codec-idt.o
|
|
|
|
endif
|
|
|
|
ifdef CONFIG_SND_HDA_CODEC_SI3054
|
|
|
|
obj-$(CONFIG_SND_HDA_INTEL) += snd-hda-codec-si3054.o
|
|
|
|
endif
|
2009-07-01 23:11:44 +07:00
|
|
|
ifdef CONFIG_SND_HDA_CODEC_CIRRUS
|
|
|
|
obj-$(CONFIG_SND_HDA_INTEL) += snd-hda-codec-cirrus.o
|
|
|
|
endif
|
2009-04-16 13:53:34 +07:00
|
|
|
ifdef CONFIG_SND_HDA_CODEC_CA0110
|
|
|
|
obj-$(CONFIG_SND_HDA_INTEL) += snd-hda-codec-ca0110.o
|
|
|
|
endif
|
2011-06-16 05:35:17 +07:00
|
|
|
ifdef CONFIG_SND_HDA_CODEC_CA0132
|
|
|
|
obj-$(CONFIG_SND_HDA_INTEL) += snd-hda-codec-ca0132.o
|
|
|
|
endif
|
2008-11-27 21:47:11 +07:00
|
|
|
ifdef CONFIG_SND_HDA_CODEC_CONEXANT
|
|
|
|
obj-$(CONFIG_SND_HDA_INTEL) += snd-hda-codec-conexant.o
|
|
|
|
endif
|
|
|
|
ifdef CONFIG_SND_HDA_CODEC_VIA
|
|
|
|
obj-$(CONFIG_SND_HDA_INTEL) += snd-hda-codec-via.o
|
|
|
|
endif
|
2010-09-07 17:27:25 +07:00
|
|
|
ifdef CONFIG_SND_HDA_CODEC_HDMI
|
|
|
|
obj-$(CONFIG_SND_HDA_INTEL) += snd-hda-codec-hdmi.o
|
2008-11-27 21:47:11 +07:00
|
|
|
endif
|
|
|
|
|
|
|
|
# this must be the last entry after codec drivers;
|
|
|
|
# otherwise the codec patches won't be hooked before the PCI probe
|
|
|
|
# when built in kernel
|
2007-04-16 16:27:07 +07:00
|
|
|
obj-$(CONFIG_SND_HDA_INTEL) += snd-hda-intel.o
|