blob: 5189388790e7be770a73b4c3b457665e4c30129c [file] [log] [blame]
Jordan Crouse52064062011-12-07 11:19:20 -07001ccflags-y := -Iinclude/drm -Idrivers/gpu/msm
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002
3msm_kgsl_core-y = \
4 kgsl.o \
Norman Geed7402ff2011-10-28 08:51:11 -06005 kgsl_trace.o \
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07006 kgsl_sharedmem.o \
7 kgsl_pwrctrl.o \
Shubhraprakash Das767fdda2011-08-15 15:49:45 -06008 kgsl_pwrscale.o \
9 kgsl_mmu.o \
10 kgsl_gpummu.o \
Jordan Crouse156cfbc2012-01-24 09:32:04 -070011 kgsl_iommu.o \
12 kgsl_snapshot.o
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070013
14msm_kgsl_core-$(CONFIG_DEBUG_FS) += kgsl_debugfs.o
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070015msm_kgsl_core-$(CONFIG_MSM_KGSL_CFF_DUMP) += kgsl_cffdump.o
16msm_kgsl_core-$(CONFIG_MSM_KGSL_DRM) += kgsl_drm.o
17msm_kgsl_core-$(CONFIG_MSM_SCM) += kgsl_pwrscale_trustzone.o
Lynus Vazdde09ee2012-01-05 13:28:22 +053018msm_kgsl_core-$(CONFIG_MSM_SLEEP_STATS_DEVICE) += kgsl_pwrscale_idlestats.o
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070019
20msm_adreno-y += \
21 adreno_ringbuffer.o \
22 adreno_drawctxt.o \
23 adreno_postmortem.o \
Jordan Crouse156cfbc2012-01-24 09:32:04 -070024 adreno_snapshot.o \
Jordan Crousea78c9172011-07-11 13:14:09 -060025 adreno_a2xx.o \
Norman Geed7402ff2011-10-28 08:51:11 -060026 adreno_a2xx_trace.o \
Jordan Crouse156cfbc2012-01-24 09:32:04 -070027 adreno_a2xx_snapshot.o \
Jordan Crouseb4d31bd2012-02-01 22:11:12 -070028 adreno_a3xx.o \
Jordan Crouse0c2761a2012-02-01 22:11:12 -070029 adreno_a3xx_snapshot.o \
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070030 adreno.o
31
32msm_adreno-$(CONFIG_DEBUG_FS) += adreno_debugfs.o
33
Norman Geed7402ff2011-10-28 08:51:11 -060034msm_z180-y += \
35 z180.o \
36 z180_trace.o
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070037
38msm_kgsl_core-objs = $(msm_kgsl_core-y)
39msm_adreno-objs = $(msm_adreno-y)
40msm_z180-objs = $(msm_z180-y)
41
42obj-$(CONFIG_MSM_KGSL) += msm_kgsl_core.o
43obj-$(CONFIG_MSM_KGSL) += msm_adreno.o
44obj-$(CONFIG_MSM_KGSL_2D) += msm_z180.o