blob: b4cd286c86626cf7c90c4b2b6cf97f9eb6bd8f1d [file] [log] [blame]
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001ccflags-y := -Iinclude/drm
2
3msm_kgsl_core-y = \
4 kgsl.o \
5 kgsl_sharedmem.o \
6 kgsl_pwrctrl.o \
Shubhraprakash Das767fdda2011-08-15 15:49:45 -06007 kgsl_pwrscale.o \
8 kgsl_mmu.o \
9 kgsl_gpummu.o \
10 kgsl_iommu.o
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070011
12msm_kgsl_core-$(CONFIG_DEBUG_FS) += kgsl_debugfs.o
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070013msm_kgsl_core-$(CONFIG_MSM_KGSL_CFF_DUMP) += kgsl_cffdump.o
14msm_kgsl_core-$(CONFIG_MSM_KGSL_DRM) += kgsl_drm.o
15msm_kgsl_core-$(CONFIG_MSM_SCM) += kgsl_pwrscale_trustzone.o
Lucille Sylvester591ea032011-07-21 16:08:37 -060016msm_kgsl_core-$(CONFIG_MSM_SLEEP_STATS) += kgsl_pwrscale_idlestats.o
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070017
18msm_adreno-y += \
19 adreno_ringbuffer.o \
20 adreno_drawctxt.o \
21 adreno_postmortem.o \
Jordan Crousea78c9172011-07-11 13:14:09 -060022 adreno_a2xx.o \
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070023 adreno.o
24
25msm_adreno-$(CONFIG_DEBUG_FS) += adreno_debugfs.o
26
27msm_z180-y += z180.o
28
29msm_kgsl_core-objs = $(msm_kgsl_core-y)
30msm_adreno-objs = $(msm_adreno-y)
31msm_z180-objs = $(msm_z180-y)
32
33obj-$(CONFIG_MSM_KGSL) += msm_kgsl_core.o
34obj-$(CONFIG_MSM_KGSL) += msm_adreno.o
35obj-$(CONFIG_MSM_KGSL_2D) += msm_z180.o