Makefile 1.0 KB
Newer Older
1 2 3 4 5 6
ccflags-y := -Iinclude/drm -Idrivers/gpu/drm/msm
ifeq (, $(findstring -W,$(EXTRA_CFLAGS)))
	ccflags-y += -Werror
endif

msm-y := \
7
	adreno/adreno_device.o \
R
Rob Clark 已提交
8 9
	adreno/adreno_gpu.o \
	adreno/a3xx_gpu.o \
10
	hdmi/hdmi.o \
R
Rob Clark 已提交
11
	hdmi/hdmi_audio.o \
R
Rob Clark 已提交
12
	hdmi/hdmi_bridge.o \
13 14 15 16
	hdmi/hdmi_connector.o \
	hdmi/hdmi_i2c.o \
	hdmi/hdmi_phy_8960.o \
	hdmi/hdmi_phy_8x60.o \
17
	hdmi/hdmi_phy_8x74.o \
R
Rob Clark 已提交
18
	mdp/mdp_format.o \
R
Rob Clark 已提交
19
	mdp/mdp_kms.o \
R
Rob Clark 已提交
20 21
	mdp/mdp4/mdp4_crtc.o \
	mdp/mdp4/mdp4_dtv_encoder.o \
R
Rob Clark 已提交
22 23
	mdp/mdp4/mdp4_lcdc_encoder.o \
	mdp/mdp4/mdp4_lvds_connector.o \
R
Rob Clark 已提交
24 25 26
	mdp/mdp4/mdp4_irq.o \
	mdp/mdp4/mdp4_kms.o \
	mdp/mdp4/mdp4_plane.o \
R
Rob Clark 已提交
27 28 29 30 31 32
	mdp/mdp5/mdp5_crtc.o \
	mdp/mdp5/mdp5_encoder.o \
	mdp/mdp5/mdp5_irq.o \
	mdp/mdp5/mdp5_kms.o \
	mdp/mdp5/mdp5_plane.o \
	mdp/mdp5/mdp5_smp.o \
33 34
	msm_drv.o \
	msm_fb.o \
R
Rob Clark 已提交
35
	msm_gem.o \
R
Rob Clark 已提交
36
	msm_gem_prime.o \
R
Rob Clark 已提交
37 38
	msm_gem_submit.o \
	msm_gpu.o \
39
	msm_iommu.o \
R
Rob Clark 已提交
40
	msm_perf.o \
R
Rob Clark 已提交
41
	msm_rd.o \
R
Rob Clark 已提交
42
	msm_ringbuffer.o
43 44

msm-$(CONFIG_DRM_MSM_FBDEV) += msm_fbdev.o
R
Rob Clark 已提交
45
msm-$(CONFIG_COMMON_CLK) += mdp/mdp4/mdp4_lvds_pll.o
46 47

obj-$(CONFIG_DRM_MSM)	+= msm.o