diff options
author | Vishal Mahaveer | 2014-02-05 09:33:26 -0600 |
---|---|---|
committer | Vishal Mahaveer | 2014-02-06 11:50:10 -0600 |
commit | 0fa0e9c6c0b7225917d0766b1bb7e7f05f414f8c (patch) | |
tree | cfba2b7276fa8acd1c683024c008593878e65f2b /jacinto6/sgx_src/eurasia_km/eurasiacon/build/linux2/omap_android/Makefile | |
parent | bd8746b7062c01b9fe47de5094cda2f865fe833c (diff) | |
download | device-ti-proprietary-open-0fa0e9c6c0b7225917d0766b1bb7e7f05f414f8c.tar.gz device-ti-proprietary-open-0fa0e9c6c0b7225917d0766b1bb7e7f05f414f8c.tar.xz device-ti-proprietary-open-0fa0e9c6c0b7225917d0766b1bb7e7f05f414f8c.zip |
jacinto6: sgx: update DDK version to 1.12/2701748
Initial DDK 1.12 content
Change-Id: I7159467651bf4db8cc92563f7309e4191a448e48
Signed-off-by: Hemant Hariyani <hemanthariyani@ti.com>
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
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 | 221 |
1 files changed, 221 insertions, 0 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 new file mode 100644 index 0000000..35d9fd1 --- /dev/null +++ b/jacinto6/sgx_src/eurasia_km/eurasiacon/build/linux2/omap_android/Makefile | |||
@@ -0,0 +1,221 @@ | |||
1 | ########################################################################### ### | ||
2 | #@Title Root makefile for omap4430 Android. Builds everything else. | ||
3 | #@Copyright Copyright (c) Imagination Technologies Ltd. All Rights Reserved | ||
4 | #@License Dual MIT/GPLv2 | ||
5 | # | ||
6 | # The contents of this file are subject to the MIT license as set out below. | ||
7 | # | ||
8 | # Permission is hereby granted, free of charge, to any person obtaining a copy | ||
9 | # of this software and associated documentation files (the "Software"), to deal | ||
10 | # in the Software without restriction, including without limitation the rights | ||
11 | # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
12 | # copies of the Software, and to permit persons to whom the Software is | ||
13 | # furnished to do so, subject to the following conditions: | ||
14 | # | ||
15 | # The above copyright notice and this permission notice shall be included in | ||
16 | # all copies or substantial portions of the Software. | ||
17 | # | ||
18 | # Alternatively, the contents of this file may be used under the terms of | ||
19 | # the GNU General Public License Version 2 ("GPL") in which case the provisions | ||
20 | # of GPL are applicable instead of those above. | ||
21 | # | ||
22 | # If you wish to allow use of your version of this file only under the terms of | ||
23 | # GPL, and not to allow others to use your version of this file under the terms | ||
24 | # of the MIT license, indicate your decision by deleting the provisions above | ||
25 | # and replace them with the notice and other provisions required by GPL as set | ||
26 | # out in the file called "GPL-COPYING" included in this distribution. If you do | ||
27 | # not delete the provisions above, a recipient may use your version of this file | ||
28 | # under the terms of either the MIT license or GPL. | ||
29 | # | ||
30 | # This License is also included in this distribution in the file called | ||
31 | # "MIT-COPYING". | ||
32 | # | ||
33 | # EXCEPT AS OTHERWISE STATED IN A NEGOTIATED AGREEMENT: (A) THE SOFTWARE IS | ||
34 | # PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING | ||
35 | # BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR | ||
36 | # PURPOSE AND NONINFRINGEMENT; AND (B) IN NO EVENT SHALL THE AUTHORS OR | ||
37 | # COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER | ||
38 | # IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN | ||
39 | # CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | ||
40 | ### ########################################################################### | ||
41 | |||
42 | # If a TARGET_PRODUCT is specified but not a TARGET_DEVICE, try to | ||
43 | # derive the TARGET_DEVICE from TARGET_PRODUCT. | ||
44 | # | ||
45 | ifeq ($(TARGET_DEVICE),) | ||
46 | override TARGET_DEVICE := \ | ||
47 | $(patsubst mini_%,%,$(patsubst full_%,%,$(TARGET_PRODUCT))) | ||
48 | endif | ||
49 | |||
50 | ifeq ($(TARGET_DEVICE),) | ||
51 | override TARGET_DEVICE := jacinto6evm | ||
52 | endif | ||
53 | |||
54 | # Customize this build as per the TARGET_DEVICE setting | ||
55 | # | ||
56 | ifneq ($(filter blaze blaze_tablet panda tuna maguro toro mysid yakju,$(TARGET_DEVICE)),) | ||
57 | SGXCORE := 540 | ||
58 | SGX_CORE_REV := 120 | ||
59 | HAL_VARIANT := omap4 | ||
60 | endif | ||
61 | ifneq ($(filter blaze.4470 blaze_tablet.4470,$(TARGET_DEVICE)),) | ||
62 | SGXCORE := 544 | ||
63 | SGX_CORE_REV := 112 | ||
64 | HAL_VARIANT := omap4 | ||
65 | endif | ||
66 | ifneq ($(filter jacinto6evm omap5sevm panda5,$(TARGET_DEVICE)),) | ||
67 | SGXCORE := 544 | ||
68 | SGX_CORE_REV := 116 | ||
69 | SGX_FEATURE_MP := 1 | ||
70 | SGX_FEATURE_SYSTEM_CACHE := 1 | ||
71 | SGX_FEATURE_MP_CORE_COUNT := 2 | ||
72 | HAL_VARIANT := jacinto6 | ||
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 | |||
81 | # Handle any TARGET_DEVICE remapping. Not all DDK TARGET_DEVICEs | ||
82 | # require new Android TARGET_DEVICE builds. | ||
83 | # | ||
84 | ifeq ($(TARGET_DEVICE),blaze.4470) | ||
85 | override TARGET_DEVICE := blaze | ||
86 | endif | ||
87 | ifeq ($(TARGET_DEVICE),blaze_tablet.4470) | ||
88 | override TARGET_DEVICE := blaze_tablet | ||
89 | endif | ||
90 | |||
91 | SGX_DYNAMIC_TIMING_INFO := 1 | ||
92 | |||
93 | SUPPORT_LINUX_USING_WORKQUEUES := 1 | ||
94 | |||
95 | SUPPORT_PVRSRV_ANDROID_SYSTRACE := 0 | ||
96 | |||
97 | ifneq ($(SUPPORT_PVRSRV_DEVICE_CLASS),0) | ||
98 | #DISPLAY_CONTROLLER := omaplfb | ||
99 | endif | ||
100 | |||
101 | PVR_SYSTEM := omap | ||
102 | |||
103 | KERNEL_CROSS_COMPILE ?= arm-none-linux-gnueabi- | ||
104 | |||
105 | # 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. | ||
107 | # | ||
108 | PVR_LINUX_MEM_AREA_POOL_MAX_PAGES ?= 10800 | ||
109 | |||
110 | include ../common/android/paths.mk | ||
111 | include ../common/android/armv7-a.mk | ||
112 | include ../common/android/features.mk | ||
113 | |||
114 | ifneq ($(strip $(KERNELDIR)),) | ||
115 | include ../kernel_version.mk | ||
116 | ifeq ($(call kernel-version-at-least,2,6,35),true) | ||
117 | PVR_NO_OMAP_TIMER := 1 | ||
118 | endif | ||
119 | ifeq ($(call kernel-version-at-least,2,6,39),true) | ||
120 | ifeq ($(LDM_PLATFORM),1) | ||
121 | PVR_LDM_PLATFORM_PRE_REGISTERED := 1 | ||
122 | PVR_LDM_PLATFORM_PRE_REGISTERED_DEV := "\"pvrsrvkm\"" | ||
123 | endif | ||
124 | endif | ||
125 | ifeq ($(call kernel-version-at-least,3,0),true) | ||
126 | SUPPORT_DC_CMDCOMPLETE_WHEN_NO_LONGER_DISPLAYED := 1 | ||
127 | SYS_OMAP_HAS_DVFS_FRAMEWORK := 1 | ||
128 | endif | ||
129 | else | ||
130 | $(warning "KERNELDIR is not set, so can't feature check DVFS or dsscomp.") | ||
131 | $(warning "Assuming we want DVFS and dsscomp support.") | ||
132 | SUPPORT_DC_CMDCOMPLETE_WHEN_NO_LONGER_DISPLAYED := 1 | ||
133 | SYS_OMAP_HAS_DVFS_FRAMEWORK := 1 | ||
134 | endif | ||
135 | |||
136 | ifneq ($(LDM_PLATFORM),1) | ||
137 | SUPPORT_LINUX_USING_WORKQUEUES := 0 | ||
138 | SUPPORT_LINUX_USING_SHARED_WORKQUEUES := 1 | ||
139 | SUPPORT_ACTIVE_POWER_MANAGEMENT := 0 | ||
140 | ifneq ($(SUPPORT_PVRSRV_DEVICE_CLASS),0) | ||
141 | DISPLAY_CONTROLLER := pvrlfb | ||
142 | DISPLAY_CONTROLLER_COMPONENT := linux_framebuffer | ||
143 | OMAP_NON_FLIP_DISPLAY := 1 | ||
144 | endif | ||
145 | else # LDM_PLATFORM != 1 | ||
146 | ifneq ($(SUPPORT_PVRSRV_DEVICE_CLASS),0) | ||
147 | #DISPLAY_CONTROLLER_COMPONENT := dc_omapfb3_linux | ||
148 | endif | ||
149 | endif # LDM_PLATFORM != 1 | ||
150 | |||
151 | ifeq ($(SUPPORT_DRI_DRM),1) | ||
152 | ifeq ($(PVR_LDM_PLATFORM_PRE_REGISTERED),1) | ||
153 | PVR_DRI_DRM_PLATFORM_DEV := 1 | ||
154 | PVR_DRI_DRM_STATIC_BUS_ID := 1 | ||
155 | PVR_DRI_DRM_DEV_BUS_ID := "\"platform:pvrsrvkm"\" | ||
156 | else | ||
157 | PVR_DRI_DRM_NOT_PCI := 1 | ||
158 | KERNEL_COMPONENTS += linux_drm | ||
159 | endif | ||
160 | ifneq ($(SUPPORT_PVRSRV_DEVICE_CLASS),0) | ||
161 | EXTRA_PVRSRVKM_COMPONENTS += $(DISPLAY_CONTROLLER_COMPONENT) | ||
162 | endif | ||
163 | EXTRA_KBUILD_SOURCE := $(KERNELDIR) | ||
164 | # FIXME: Only required for comparison with X's KM | ||
165 | PVR_SECURE_DRM_AUTH_EXPORT := 1 | ||
166 | ifneq ($(OMAP_NON_FLIP_DISPLAY),1) | ||
167 | PVR_DISPLAY_CONTROLLER_DRM_IOCTL := 1 | ||
168 | endif | ||
169 | else # SUPPORT_DRI_DRM == 1 | ||
170 | ifneq ($(SUPPORT_PVRSRV_DEVICE_CLASS),0) | ||
171 | KERNEL_COMPONENTS += $(DISPLAY_CONTROLLER_COMPONENT) | ||
172 | endif | ||
173 | endif # SUPPORT_DRI_DRM == 1 | ||
174 | |||
175 | SUPPORT_ANDROID_OMAP_NV12 := 1 | ||
176 | |||
177 | PVR_ANDROID_USE_WINDOW_TRANSFORM_HINT := 1 | ||
178 | |||
179 | PVR_ANDROID_PLATFORM_HAS_LINUX_FBDEV := 1 | ||
180 | |||
181 | # Handle Google's OMAP-based products | ||
182 | # | ||
183 | ifneq ($(filter tuna maguro toro mysid yakju,$(TARGET_DEVICE)),) | ||
184 | # These default on in tuna_defconfig | ||
185 | PVRSRV_USSE_EDM_STATUS_DEBUG ?= 1 | ||
186 | PVRSRV_DUMP_MK_TRACE ?= 1 | ||
187 | # Go back to the old compiler for tuna kernel modules | ||
188 | KERNEL_CROSS_COMPILE := arm-eabi- | ||
189 | endif | ||
190 | |||
191 | ifeq ($(NO_HARDWARE),1) | ||
192 | ifeq ($(SUPPORT_DC_CMDCOMPLETE_WHEN_NO_LONGER_DISPLAYED),1) | ||
193 | $(info WARNING: SUPPORT_DC_CMDCOMPLETE_WHEN_NO_LONGER_DISPLAYED=1 is incompatible with NO_HARDWARE=1) | ||
194 | $(info WARNING: Setting SUPPORT_DC_CMDCOMPLETE_WHEN_NO_LONGER_DISPLAYED=0 and switching to dc_nohw) | ||
195 | override SUPPORT_DC_CMDCOMPLETE_WHEN_NO_LONGER_DISPLAYED := 0 | ||
196 | ifneq ($(SUPPORT_PVRSRV_DEVICE_CLASS),0) | ||
197 | override DISPLAY_CONTROLLER := dcnohw | ||
198 | KERNEL_COMPONENTS += dc_nohw | ||
199 | endif | ||
200 | endif # SUPPORT_DC_CMDCOMPLETE_WHEN_NO_LONGER_DISPLAYED == 1 | ||
201 | endif # NO_HARDWARE == 1 | ||
202 | |||
203 | include ../config/core.mk | ||
204 | include ../common/android/extra_config.mk | ||
205 | include ../common/dridrm.mk | ||
206 | include ../common/opencl.mk | ||
207 | include ../common/omap4.mk | ||
208 | |||
209 | # Not all OMAP kernels have a compatible DVFS framework | ||
210 | # | ||
211 | $(eval $(call TunableKernelConfigC,SYS_OMAP_HAS_DVFS_FRAMEWORK,)) | ||
212 | |||
213 | # If set, services allows two flips to enter the processing queue, | ||
214 | # and does not add read dependencies to the set of buffers last | ||
215 | # flipped to. This is necessary for DSS composition on OMAP. | ||
216 | # | ||
217 | $(eval $(call TunableKernelConfigC,SUPPORT_DC_CMDCOMPLETE_WHEN_NO_LONGER_DISPLAYED,)) | ||
218 | |||
219 | # On OMAP a TILER-specific NV12 format is supported. | ||
220 | # | ||
221 | $(eval $(call TunableUserConfigMake,SUPPORT_ANDROID_OMAP_NV12,)) | ||