Makefile 2.0 KB

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