Makefile 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. # SPDX-License-Identifier: GPL-2.0
  2. snd-hda-intel-objs := hda_intel.o
  3. snd-hda-tegra-objs := hda_tegra.o
  4. snd-hda-codec-y := hda_bind.o hda_codec.o hda_jack.o hda_auto_parser.o hda_sysfs.o
  5. snd-hda-codec-y += hda_controller.o
  6. snd-hda-codec-$(CONFIG_SND_PROC_FS) += hda_proc.o
  7. snd-hda-codec-$(CONFIG_SND_HDA_HWDEP) += hda_hwdep.o
  8. snd-hda-codec-$(CONFIG_SND_HDA_INPUT_BEEP) += hda_beep.o
  9. # for trace-points
  10. CFLAGS_hda_controller.o := -I$(src)
  11. CFLAGS_hda_intel.o := -I$(src)
  12. snd-hda-codec-generic-objs := hda_generic.o
  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
  24. # common driver
  25. obj-$(CONFIG_SND_HDA) := snd-hda-codec.o
  26. # codec drivers
  27. obj-$(CONFIG_SND_HDA_GENERIC) += snd-hda-codec-generic.o
  28. obj-$(CONFIG_SND_HDA_CODEC_REALTEK) += snd-hda-codec-realtek.o
  29. obj-$(CONFIG_SND_HDA_CODEC_CMEDIA) += snd-hda-codec-cmedia.o
  30. obj-$(CONFIG_SND_HDA_CODEC_ANALOG) += snd-hda-codec-analog.o
  31. obj-$(CONFIG_SND_HDA_CODEC_SIGMATEL) += snd-hda-codec-idt.o
  32. obj-$(CONFIG_SND_HDA_CODEC_SI3054) += snd-hda-codec-si3054.o
  33. obj-$(CONFIG_SND_HDA_CODEC_CIRRUS) += snd-hda-codec-cirrus.o
  34. obj-$(CONFIG_SND_HDA_CODEC_CA0110) += snd-hda-codec-ca0110.o
  35. obj-$(CONFIG_SND_HDA_CODEC_CA0132) += snd-hda-codec-ca0132.o
  36. obj-$(CONFIG_SND_HDA_CODEC_CONEXANT) += snd-hda-codec-conexant.o
  37. obj-$(CONFIG_SND_HDA_CODEC_VIA) += snd-hda-codec-via.o
  38. obj-$(CONFIG_SND_HDA_CODEC_HDMI) += snd-hda-codec-hdmi.o
  39. # this must be the last entry after codec drivers;
  40. # otherwise the codec patches won't be hooked before the PCI probe
  41. # when built in kernel
  42. obj-$(CONFIG_SND_HDA_INTEL) += snd-hda-intel.o
  43. obj-$(CONFIG_SND_HDA_TEGRA) += snd-hda-tegra.o