diff options
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/Makefile | 39 |
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 | |||
63 | SGX_CORE_REV := 112 | 63 | SGX_CORE_REV := 112 |
64 | HAL_VARIANT := omap4 | 64 | HAL_VARIANT := omap4 |
65 | endif | 65 | endif |
66 | ifneq ($(filter jacinto6evm omap5sevm panda5,$(TARGET_DEVICE)),) | 66 | ifneq ($(filter omap5sevm panda5,$(TARGET_DEVICE)),) |
67 | SGXCORE := 544 | ||
68 | SGX_CORE_REV := 105 | ||
69 | SGX_FEATURE_MP := 1 | ||
70 | SGX_FEATURE_SYSTEM_CACHE := 1 | ||
71 | SGX_FEATURE_MP_CORE_COUNT := 2 | ||
72 | HAL_VARIANT := omap5 | ||
73 | |||
74 | # OMAP Product Version | ||
75 | VS_PRODUCT_VERSION := 5 | ||
76 | |||
77 | # FIXME: Re-enable this ASAP | ||
78 | SUPPORT_ACTIVE_POWER_MANAGEMENT := 0 | ||
79 | endif | ||
80 | ifneq ($(filter jacinto6evm,$(TARGET_DEVICE)),) | ||
67 | SGXCORE := 544 | 81 | SGXCORE := 544 |
68 | SGX_CORE_REV := 116 | 82 | SGX_CORE_REV := 116 |
69 | SGX_FEATURE_MP := 1 | 83 | SGX_FEATURE_MP := 1 |
@@ -72,10 +86,12 @@ SGX_FEATURE_MP_CORE_COUNT := 2 | |||
72 | HAL_VARIANT := jacinto6 | 86 | HAL_VARIANT := jacinto6 |
73 | 87 | ||
74 | # OMAP Product Version | 88 | # OMAP Product Version |
89 | # FIXME: Get rid of this | ||
75 | VS_PRODUCT_VERSION := 5 | 90 | VS_PRODUCT_VERSION := 5 |
76 | 91 | ||
77 | # FIXME: Re-enable this ASAP | 92 | # FIXME: Re-enable this ASAP |
78 | SUPPORT_ACTIVE_POWER_MANAGEMENT := 0 | 93 | SUPPORT_ACTIVE_POWER_MANAGEMENT := 0 |
94 | |||
79 | endif | 95 | endif |
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 | ||
93 | SUPPORT_LINUX_USING_WORKQUEUES := 1 | 109 | SUPPORT_LINUX_USING_WORKQUEUES := 1 |
94 | 110 | ||
95 | SUPPORT_PVRSRV_ANDROID_SYSTRACE := 0 | 111 | SUPPORT_PVRSRV_ANDROID_SYSTRACE := 1 |
96 | 112 | ||
97 | ifneq ($(SUPPORT_PVRSRV_DEVICE_CLASS),0) | 113 | SUPPORT_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 |
99 | endif | 119 | #endif |
100 | 120 | ||
101 | PVR_SYSTEM := omap | 121 | PVR_SYSTEM := omap |
102 | 122 | ||
103 | KERNEL_CROSS_COMPILE ?= arm-none-linux-gnueabi- | 123 | KERNEL_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 | ||
129 | else | 152 | else |
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 | |||
143 | OMAP_NON_FLIP_DISPLAY := 1 | 166 | OMAP_NON_FLIP_DISPLAY := 1 |
144 | endif | 167 | endif |
145 | else # LDM_PLATFORM != 1 | 168 | else # LDM_PLATFORM != 1 |
169 | # TODO: we should set DEVICE_CLASS to zero | ||
146 | ifneq ($(SUPPORT_PVRSRV_DEVICE_CLASS),0) | 170 | ifneq ($(SUPPORT_PVRSRV_DEVICE_CLASS),0) |
147 | #DISPLAY_CONTROLLER_COMPONENT := dc_omapfb3_linux | 171 | #DISPLAY_CONTROLLER_COMPONENT := dc_omapfb3_linux |
148 | endif | 172 | endif |
@@ -176,7 +200,7 @@ SUPPORT_ANDROID_OMAP_NV12 := 1 | |||
176 | 200 | ||
177 | PVR_ANDROID_USE_WINDOW_TRANSFORM_HINT := 1 | 201 | PVR_ANDROID_USE_WINDOW_TRANSFORM_HINT := 1 |
178 | 202 | ||
179 | PVR_ANDROID_PLATFORM_HAS_LINUX_FBDEV := 0 | 203 | PVR_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 | |||
200 | endif # SUPPORT_DC_CMDCOMPLETE_WHEN_NO_LONGER_DISPLAYED == 1 | 224 | endif # SUPPORT_DC_CMDCOMPLETE_WHEN_NO_LONGER_DISPLAYED == 1 |
201 | endif # NO_HARDWARE == 1 | 225 | endif # NO_HARDWARE == 1 |
202 | 226 | ||
227 | # we are not using PVR composerhal | ||
228 | #PVR_ANDROID_COMPOSERHAL ?= omap | ||
229 | |||
203 | include ../config/core.mk | 230 | include ../config/core.mk |
204 | include ../common/android/extra_config.mk | 231 | include ../common/android/extra_config.mk |
205 | include ../common/dridrm.mk | 232 | include ../common/dridrm.mk |