Jordan Crouse | 5206406 | 2011-12-07 11:19:20 -0700 | [diff] [blame] | 1 | ccflags-y := -Iinclude/drm -Idrivers/gpu/msm |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 2 | |
| 3 | msm_kgsl_core-y = \ |
| 4 | kgsl.o \ |
Norman Gee | d7402ff | 2011-10-28 08:51:11 -0600 | [diff] [blame] | 5 | kgsl_trace.o \ |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 6 | kgsl_sharedmem.o \ |
| 7 | kgsl_pwrctrl.o \ |
Shubhraprakash Das | 767fdda | 2011-08-15 15:49:45 -0600 | [diff] [blame] | 8 | kgsl_pwrscale.o \ |
| 9 | kgsl_mmu.o \ |
| 10 | kgsl_gpummu.o \ |
Jordan Crouse | 156cfbc | 2012-01-24 09:32:04 -0700 | [diff] [blame] | 11 | kgsl_iommu.o \ |
| 12 | kgsl_snapshot.o |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 13 | |
| 14 | msm_kgsl_core-$(CONFIG_DEBUG_FS) += kgsl_debugfs.o |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 15 | msm_kgsl_core-$(CONFIG_MSM_KGSL_CFF_DUMP) += kgsl_cffdump.o |
| 16 | msm_kgsl_core-$(CONFIG_MSM_KGSL_DRM) += kgsl_drm.o |
| 17 | msm_kgsl_core-$(CONFIG_MSM_SCM) += kgsl_pwrscale_trustzone.o |
Lynus Vaz | dde09ee | 2012-01-05 13:28:22 +0530 | [diff] [blame] | 18 | msm_kgsl_core-$(CONFIG_MSM_SLEEP_STATS_DEVICE) += kgsl_pwrscale_idlestats.o |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 19 | |
| 20 | msm_adreno-y += \ |
| 21 | adreno_ringbuffer.o \ |
| 22 | adreno_drawctxt.o \ |
| 23 | adreno_postmortem.o \ |
Jordan Crouse | 156cfbc | 2012-01-24 09:32:04 -0700 | [diff] [blame] | 24 | adreno_snapshot.o \ |
Jordan Crouse | a78c917 | 2011-07-11 13:14:09 -0600 | [diff] [blame] | 25 | adreno_a2xx.o \ |
Norman Gee | d7402ff | 2011-10-28 08:51:11 -0600 | [diff] [blame] | 26 | adreno_a2xx_trace.o \ |
Jordan Crouse | 156cfbc | 2012-01-24 09:32:04 -0700 | [diff] [blame] | 27 | adreno_a2xx_snapshot.o \ |
Jordan Crouse | b4d31bd | 2012-02-01 22:11:12 -0700 | [diff] [blame] | 28 | adreno_a3xx.o \ |
Jordan Crouse | 0c2761a | 2012-02-01 22:11:12 -0700 | [diff] [blame] | 29 | adreno_a3xx_snapshot.o \ |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 30 | adreno.o |
| 31 | |
| 32 | msm_adreno-$(CONFIG_DEBUG_FS) += adreno_debugfs.o |
| 33 | |
Norman Gee | d7402ff | 2011-10-28 08:51:11 -0600 | [diff] [blame] | 34 | msm_z180-y += \ |
| 35 | z180.o \ |
| 36 | z180_trace.o |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 37 | |
| 38 | msm_kgsl_core-objs = $(msm_kgsl_core-y) |
| 39 | msm_adreno-objs = $(msm_adreno-y) |
| 40 | msm_z180-objs = $(msm_z180-y) |
| 41 | |
| 42 | obj-$(CONFIG_MSM_KGSL) += msm_kgsl_core.o |
| 43 | obj-$(CONFIG_MSM_KGSL) += msm_adreno.o |
| 44 | obj-$(CONFIG_MSM_KGSL_2D) += msm_z180.o |