Makefile 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. ccflags-y := -Iinclude/drm -Idrivers/gpu/drm/msm
  2. ccflags-$(CONFIG_DRM_MSM_DSI) += -Idrivers/gpu/drm/msm/dsi
  3. msm-y := \
  4. adreno/adreno_device.o \
  5. adreno/adreno_gpu.o \
  6. adreno/a3xx_gpu.o \
  7. adreno/a4xx_gpu.o \
  8. hdmi/hdmi.o \
  9. hdmi/hdmi_audio.o \
  10. hdmi/hdmi_bridge.o \
  11. hdmi/hdmi_connector.o \
  12. hdmi/hdmi_hdcp.o \
  13. hdmi/hdmi_i2c.o \
  14. hdmi/hdmi_phy_8960.o \
  15. hdmi/hdmi_phy_8x60.o \
  16. hdmi/hdmi_phy_8x74.o \
  17. edp/edp.o \
  18. edp/edp_aux.o \
  19. edp/edp_bridge.o \
  20. edp/edp_connector.o \
  21. edp/edp_ctrl.o \
  22. edp/edp_phy.o \
  23. mdp/mdp_format.o \
  24. mdp/mdp_kms.o \
  25. mdp/mdp4/mdp4_crtc.o \
  26. mdp/mdp4/mdp4_dtv_encoder.o \
  27. mdp/mdp4/mdp4_lcdc_encoder.o \
  28. mdp/mdp4/mdp4_lvds_connector.o \
  29. mdp/mdp4/mdp4_irq.o \
  30. mdp/mdp4/mdp4_kms.o \
  31. mdp/mdp4/mdp4_plane.o \
  32. mdp/mdp5/mdp5_cfg.o \
  33. mdp/mdp5/mdp5_ctl.o \
  34. mdp/mdp5/mdp5_crtc.o \
  35. mdp/mdp5/mdp5_encoder.o \
  36. mdp/mdp5/mdp5_irq.o \
  37. mdp/mdp5/mdp5_kms.o \
  38. mdp/mdp5/mdp5_plane.o \
  39. mdp/mdp5/mdp5_smp.o \
  40. msm_atomic.o \
  41. msm_drv.o \
  42. msm_fb.o \
  43. msm_gem.o \
  44. msm_gem_prime.o \
  45. msm_gem_submit.o \
  46. msm_gpu.o \
  47. msm_iommu.o \
  48. msm_perf.o \
  49. msm_rd.o \
  50. msm_ringbuffer.o
  51. msm-$(CONFIG_DRM_FBDEV_EMULATION) += msm_fbdev.o
  52. msm-$(CONFIG_COMMON_CLK) += mdp/mdp4/mdp4_lvds_pll.o
  53. msm-$(CONFIG_DRM_MSM_DSI) += dsi/dsi.o \
  54. dsi/dsi_cfg.o \
  55. dsi/dsi_host.o \
  56. dsi/dsi_manager.o \
  57. dsi/phy/dsi_phy.o \
  58. mdp/mdp5/mdp5_cmd_encoder.o
  59. msm-$(CONFIG_DRM_MSM_DSI_28NM_PHY) += dsi/phy/dsi_phy_28nm.o
  60. msm-$(CONFIG_DRM_MSM_DSI_20NM_PHY) += dsi/phy/dsi_phy_20nm.o
  61. ifeq ($(CONFIG_DRM_MSM_DSI_PLL),y)
  62. msm-y += dsi/pll/dsi_pll.o
  63. msm-$(CONFIG_DRM_MSM_DSI_28NM_PHY) += dsi/pll/dsi_pll_28nm.o
  64. endif
  65. obj-$(CONFIG_DRM_MSM) += msm.o