summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'jacinto6/sgx_src/eurasia_km/eurasiacon/build/linux2/omap_android/Makefile')
-rw-r--r--jacinto6/sgx_src/eurasia_km/eurasiacon/build/linux2/omap_android/Makefile39
1 files changed, 33 insertions, 6 deletions
diff --git a/jacinto6/sgx_src/eurasia_km/eurasiacon/build/linux2/omap_android/Makefile b/jacinto6/sgx_src/eurasia_km/eurasiacon/build/linux2/omap_android/Makefile
index 109e405..03efcdb 100644
--- a/jacinto6/sgx_src/eurasia_km/eurasiacon/build/linux2/omap_android/Makefile
+++ b/jacinto6/sgx_src/eurasia_km/eurasiacon/build/linux2/omap_android/Makefile
@@ -63,7 +63,21 @@ SGXCORE := 544
63SGX_CORE_REV := 112 63SGX_CORE_REV := 112
64HAL_VARIANT := omap4 64HAL_VARIANT := omap4
65endif 65endif
66ifneq ($(filter jacinto6evm omap5sevm panda5,$(TARGET_DEVICE)),) 66ifneq ($(filter omap5sevm panda5,$(TARGET_DEVICE)),)
67SGXCORE := 544
68SGX_CORE_REV := 105
69SGX_FEATURE_MP := 1
70SGX_FEATURE_SYSTEM_CACHE := 1
71SGX_FEATURE_MP_CORE_COUNT := 2
72HAL_VARIANT := omap5
73
74# OMAP Product Version
75VS_PRODUCT_VERSION := 5
76
77# FIXME: Re-enable this ASAP
78SUPPORT_ACTIVE_POWER_MANAGEMENT := 0
79endif
80ifneq ($(filter jacinto6evm,$(TARGET_DEVICE)),)
67SGXCORE := 544 81SGXCORE := 544
68SGX_CORE_REV := 116 82SGX_CORE_REV := 116
69SGX_FEATURE_MP := 1 83SGX_FEATURE_MP := 1
@@ -72,10 +86,12 @@ SGX_FEATURE_MP_CORE_COUNT := 2
72HAL_VARIANT := jacinto6 86HAL_VARIANT := jacinto6
73 87
74# OMAP Product Version 88# OMAP Product Version
89# FIXME: Get rid of this
75VS_PRODUCT_VERSION := 5 90VS_PRODUCT_VERSION := 5
76 91
77# FIXME: Re-enable this ASAP 92# FIXME: Re-enable this ASAP
78SUPPORT_ACTIVE_POWER_MANAGEMENT := 0 93SUPPORT_ACTIVE_POWER_MANAGEMENT := 0
94
79endif 95endif
80 96
81# Handle any TARGET_DEVICE remapping. Not all DDK TARGET_DEVICEs 97# Handle any TARGET_DEVICE remapping. Not all DDK TARGET_DEVICEs
@@ -92,15 +108,19 @@ SGX_DYNAMIC_TIMING_INFO := 1
92 108
93SUPPORT_LINUX_USING_WORKQUEUES := 1 109SUPPORT_LINUX_USING_WORKQUEUES := 1
94 110
95SUPPORT_PVRSRV_ANDROID_SYSTRACE := 0 111SUPPORT_PVRSRV_ANDROID_SYSTRACE := 1
96 112
97ifneq ($(SUPPORT_PVRSRV_DEVICE_CLASS),0) 113SUPPORT_DMABUF := 1
114
115# TODO: Set SUPPORT_PVRSVR_DEVICE_CLASS to 0
116#DISPLAY_CONTROLLER should not be used for DRM based display controller
117#ifneq ($(SUPPORT_PVRSRV_DEVICE_CLASS),0)
98#DISPLAY_CONTROLLER := omaplfb 118#DISPLAY_CONTROLLER := omaplfb
99endif 119#endif
100 120
101PVR_SYSTEM := omap 121PVR_SYSTEM := omap
102 122
103KERNEL_CROSS_COMPILE ?= arm-none-linux-gnueabi- 123KERNEL_CROSS_COMPILE ?= arm-eabi-
104 124
105# We have more memory on OMAP platforms, so we can spare to make the 125# We have more memory on OMAP platforms, so we can spare to make the
106# pool larger, and have higher resolutions which benefit from it. 126# pool larger, and have higher resolutions which benefit from it.
@@ -126,6 +146,9 @@ ifneq ($(strip $(KERNELDIR)),)
126 SUPPORT_DC_CMDCOMPLETE_WHEN_NO_LONGER_DISPLAYED := 1 146 SUPPORT_DC_CMDCOMPLETE_WHEN_NO_LONGER_DISPLAYED := 1
127 SYS_OMAP_HAS_DVFS_FRAMEWORK := 0 147 SYS_OMAP_HAS_DVFS_FRAMEWORK := 0
128 endif 148 endif
149 ifeq ($(call kernel-version-at-least,3,8,13),true)
150 PVR_LDM_DEVICE_TREE := 1
151 endif
129else 152else
130 $(warning "KERNELDIR is not set, so can't feature check DVFS or dsscomp.") 153 $(warning "KERNELDIR is not set, so can't feature check DVFS or dsscomp.")
131 $(warning "Assuming we want DVFS and dsscomp support.") 154 $(warning "Assuming we want DVFS and dsscomp support.")
@@ -143,6 +166,7 @@ DISPLAY_CONTROLLER_COMPONENT := linux_framebuffer
143OMAP_NON_FLIP_DISPLAY := 1 166OMAP_NON_FLIP_DISPLAY := 1
144endif 167endif
145else # LDM_PLATFORM != 1 168else # LDM_PLATFORM != 1
169# TODO: we should set DEVICE_CLASS to zero
146ifneq ($(SUPPORT_PVRSRV_DEVICE_CLASS),0) 170ifneq ($(SUPPORT_PVRSRV_DEVICE_CLASS),0)
147#DISPLAY_CONTROLLER_COMPONENT := dc_omapfb3_linux 171#DISPLAY_CONTROLLER_COMPONENT := dc_omapfb3_linux
148endif 172endif
@@ -176,7 +200,7 @@ SUPPORT_ANDROID_OMAP_NV12 := 1
176 200
177PVR_ANDROID_USE_WINDOW_TRANSFORM_HINT := 1 201PVR_ANDROID_USE_WINDOW_TRANSFORM_HINT := 1
178 202
179PVR_ANDROID_PLATFORM_HAS_LINUX_FBDEV := 0 203PVR_ANDROID_PLATFORM_HAS_LINUX_FBDEV := 1
180 204
181# Handle Google's OMAP-based products 205# Handle Google's OMAP-based products
182# 206#
@@ -200,6 +224,9 @@ endif
200endif # SUPPORT_DC_CMDCOMPLETE_WHEN_NO_LONGER_DISPLAYED == 1 224endif # SUPPORT_DC_CMDCOMPLETE_WHEN_NO_LONGER_DISPLAYED == 1
201endif # NO_HARDWARE == 1 225endif # NO_HARDWARE == 1
202 226
227# we are not using PVR composerhal
228#PVR_ANDROID_COMPOSERHAL ?= omap
229
203include ../config/core.mk 230include ../config/core.mk
204include ../common/android/extra_config.mk 231include ../common/android/extra_config.mk
205include ../common/dridrm.mk 232include ../common/dridrm.mk