summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: f24bd78)
raw | patch | inline | side by side (parent: f24bd78)
author | Hemant Hariyani <hemanthariyani@ti.com> | |
Wed, 23 Nov 2011 17:09:06 +0000 (11:09 -0600) | ||
committer | Hemant Hariyani <hemanthariyani@ti.com> | |
Mon, 28 Nov 2011 18:49:52 +0000 (12:49 -0600) |
IMG DDK 1.8@550175 binaries
Change-Id: I215a17b72d2b3a2e57e06546403a9f643cebee04
Signed-off-by: Hemant Hariyani <hemanthariyani@ti.com>
Change-Id: I215a17b72d2b3a2e57e06546403a9f643cebee04
Signed-off-by: Hemant Hariyani <hemanthariyani@ti.com>
32 files changed:
diff --git a/Android.mk b/Android.mk
--- /dev/null
+++ b/Android.mk
@@ -0,0 +1 @@
+include $(call all-subdir-makefiles)
diff --git a/CleanSpec.mk b/CleanSpec.mk
--- /dev/null
+++ b/CleanSpec.mk
@@ -0,0 +1,49 @@
+# Copyright (C) 2007 The Android Open Source Project
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+# If you don't need to do a full clean build but would like to touch
+# a file or delete some intermediate files, add a clean step to the end
+# of the list. These steps will only be run once, if they haven't been
+# run before.
+#
+# E.g.:
+# $(call add-clean-step, touch -c external/sqlite/sqlite3.h)
+# $(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/STATIC_LIBRARIES/libz_intermediates)
+#
+# Always use "touch -c" and "rm -f" or "rm -rf" to gracefully deal with
+# files that are missing or have been moved.
+#
+# Use $(PRODUCT_OUT) to get to the "out/target/product/blah/" directory.
+# Use $(OUT_DIR) to refer to the "out" directory.
+#
+# If you need to re-do something that's already mentioned, just copy
+# the command and add it to the bottom of the list. E.g., if a change
+# that you made last week required touching a file and a change you
+# made today requires touching the same file, just copy the old
+# touch step and add it to the end of the list.
+#
+# ************************************************
+# NEWER CLEAN STEPS MUST BE AT THE END OF THE LIST
+# ************************************************
+
+# For example:
+#$(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/APPS/AndroidTests_intermediates)
+#$(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/core_intermediates)
+#$(call add-clean-step, find $(OUT_DIR) -type f -name "IGTalkSession*" -print0 | xargs -0 rm -f)
+#$(call add-clean-step, rm -rf $(PRODUCT_OUT)/data/*)
+
+# ************************************************
+# NEWER CLEAN STEPS MUST BE AT THE END OF THE LIST
+# ************************************************
diff --git a/omap4/Android.mk b/omap4/Android.mk
--- /dev/null
+++ b/omap4/Android.mk
@@ -0,0 +1,3 @@
+ifeq ($(TARGET_BOARD_PLATFORM),omap4)
+ include $(call all-subdir-makefiles)
+endif
diff --git a/omap4/sgx/Android.mk b/omap4/sgx/Android.mk
--- /dev/null
+++ b/omap4/sgx/Android.mk
@@ -0,0 +1,69 @@
+LOCAL_PATH := $(call my-dir)
+
+define _add-sgx-vendor-lib
+include $$(CLEAR_VARS)
+$(if $(word 2,$1),$(error Invalid SGX module name $1))
+LOCAL_MODULE := $(basename $(notdir $1))
+LOCAL_SRC_FILES := $1
+LOCAL_MODULE_TAGS := optional
+LOCAL_MODULE_SUFFIX := $(suffix $1)
+LOCAL_MODULE_CLASS := SHARED_LIBRARIES
+LOCAL_MODULE_PATH := $$(TARGET_OUT)$(abspath /vendor/$(dir $1))
+LOCAL_STRIP_MODULE := false
+OVERRIDE_BUILT_MODULE_PATH := $$(TARGET_OUT_INTERMEDIATE_LIBRARIES)
+include $$(BUILD_PREBUILT)
+endef
+
+define _add-sgx-vendor-bin
+include $$(CLEAR_VARS)
+$(if $(word 2,$1),$(error Invalid SGX module name $1))
+LOCAL_MODULE := $(basename $(notdir $1))
+LOCAL_SRC_FILES := $1
+LOCAL_MODULE_TAGS := optional
+LOCAL_MODULE_SUFFIX := $(suffix $1)
+LOCAL_MODULE_CLASS := EXECUTABLES
+LOCAL_MODULE_PATH := $$(TARGET_OUT)$(abspath /vendor/$(dir $1))
+LOCAL_STRIP_MODULE := false
+OVERRIDE_BUILT_MODULE_PATH := $$(TARGET_OUT_INTERMEDIATE_EXECUTABLES)
+include $$(BUILD_PREBUILT)
+endef
+
+
+prebuilt_sgx_vendor_libs := \
+ lib/libIMGegl.so \
+ lib/libglslcompiler.so \
+ lib/libusc.so \
+ lib/libPVRScopeServices.so \
+ lib/libsrv_um.so \
+ lib/hw/gralloc.omap4.so \
+ lib/libpvrANDROID_WSEGL.so \
+ lib/libpvr2d.so \
+ lib/libsrv_init.so \
+ lib/egl/libGLESv1_CM_POWERVR_SGX540_120.so \
+ lib/egl/libGLESv2_POWERVR_SGX540_120.so \
+ lib/egl/libEGL_POWERVR_SGX540_120.so
+
+prebuilt_sgx_vendor_bins := \
+ bin/pvrsrvinit
+
+prebuilt_sgx_modules := \
+ $(foreach _file,$(prebuilt_sgx_vendor_libs) $(prebuilt_sgx_vendor_bins),\
+ $(notdir $(basename $(_file))))
+
+include $(CLEAR_VARS)
+LOCAL_MODULE := ti_omap4_sgx_libs
+LOCAL_MODULE_TAGS := optional
+LOCAL_REQUIRED_MODULES := $(prebuilt_sgx_modules)
+include $(BUILD_PHONY_PACKAGE)
+
+$(foreach _file,$(prebuilt_sgx_vendor_libs),\
+ $(eval $(call _add-sgx-vendor-lib,$(_file))))
+
+$(foreach _file,$(prebuilt_sgx_vendor_bins),\
+ $(eval $(call _add-sgx-vendor-bin,$(_file))))
+
+prebuilt_sgx_modules :=
+prebuilt_sgx_vendor_libs :=
+prebuilt_sgx_vendor_bins :=
+_add-sgx-vendor-lib :=
+_add-sgx-vendor-bin :=
diff --git a/omap4/sgx/bin/framebuffer_test b/omap4/sgx/bin/framebuffer_test
new file mode 100755 (executable)
index 0000000..9167fd0
Binary files /dev/null and b/omap4/sgx/bin/framebuffer_test differ
index 0000000..9167fd0
Binary files /dev/null and b/omap4/sgx/bin/framebuffer_test differ
diff --git a/omap4/sgx/bin/hal_client_test b/omap4/sgx/bin/hal_client_test
new file mode 100755 (executable)
index 0000000..1708226
Binary files /dev/null and b/omap4/sgx/bin/hal_client_test differ
index 0000000..1708226
Binary files /dev/null and b/omap4/sgx/bin/hal_client_test differ
diff --git a/omap4/sgx/bin/hal_server_test b/omap4/sgx/bin/hal_server_test
new file mode 100755 (executable)
index 0000000..7ff6b2b
Binary files /dev/null and b/omap4/sgx/bin/hal_server_test differ
index 0000000..7ff6b2b
Binary files /dev/null and b/omap4/sgx/bin/hal_server_test differ
diff --git a/omap4/sgx/bin/pvr2d_test b/omap4/sgx/bin/pvr2d_test
new file mode 100755 (executable)
index 0000000..a638be4
Binary files /dev/null and b/omap4/sgx/bin/pvr2d_test differ
index 0000000..a638be4
Binary files /dev/null and b/omap4/sgx/bin/pvr2d_test differ
diff --git a/omap4/sgx/bin/pvrsrvctl b/omap4/sgx/bin/pvrsrvctl
new file mode 100755 (executable)
index 0000000..b119119
Binary files /dev/null and b/omap4/sgx/bin/pvrsrvctl differ
index 0000000..b119119
Binary files /dev/null and b/omap4/sgx/bin/pvrsrvctl differ
diff --git a/omap4/sgx/bin/pvrsrvinit b/omap4/sgx/bin/pvrsrvinit
new file mode 100755 (executable)
index 0000000..c6cf3cb
Binary files /dev/null and b/omap4/sgx/bin/pvrsrvinit differ
index 0000000..c6cf3cb
Binary files /dev/null and b/omap4/sgx/bin/pvrsrvinit differ
diff --git a/omap4/sgx/bin/services_test b/omap4/sgx/bin/services_test
new file mode 100755 (executable)
index 0000000..4f04adb
Binary files /dev/null and b/omap4/sgx/bin/services_test differ
index 0000000..4f04adb
Binary files /dev/null and b/omap4/sgx/bin/services_test differ
diff --git a/omap4/sgx/bin/sgx_blit_test b/omap4/sgx/bin/sgx_blit_test
new file mode 100755 (executable)
index 0000000..8b9a9f2
Binary files /dev/null and b/omap4/sgx/bin/sgx_blit_test differ
index 0000000..8b9a9f2
Binary files /dev/null and b/omap4/sgx/bin/sgx_blit_test differ
diff --git a/omap4/sgx/bin/sgx_clipblit_test b/omap4/sgx/bin/sgx_clipblit_test
new file mode 100755 (executable)
index 0000000..886f183
Binary files /dev/null and b/omap4/sgx/bin/sgx_clipblit_test differ
index 0000000..886f183
Binary files /dev/null and b/omap4/sgx/bin/sgx_clipblit_test differ
diff --git a/omap4/sgx/bin/sgx_flip_test b/omap4/sgx/bin/sgx_flip_test
new file mode 100755 (executable)
index 0000000..68cdfeb
Binary files /dev/null and b/omap4/sgx/bin/sgx_flip_test differ
index 0000000..68cdfeb
Binary files /dev/null and b/omap4/sgx/bin/sgx_flip_test differ
diff --git a/omap4/sgx/bin/sgx_init_test b/omap4/sgx/bin/sgx_init_test
new file mode 100755 (executable)
index 0000000..1968798
Binary files /dev/null and b/omap4/sgx/bin/sgx_init_test differ
index 0000000..1968798
Binary files /dev/null and b/omap4/sgx/bin/sgx_init_test differ
diff --git a/omap4/sgx/bin/sgx_render_flip_test b/omap4/sgx/bin/sgx_render_flip_test
new file mode 100755 (executable)
index 0000000..56fffc0
Binary files /dev/null and b/omap4/sgx/bin/sgx_render_flip_test differ
index 0000000..56fffc0
Binary files /dev/null and b/omap4/sgx/bin/sgx_render_flip_test differ
diff --git a/omap4/sgx/bin/testwrap b/omap4/sgx/bin/testwrap
new file mode 100755 (executable)
index 0000000..08acd03
Binary files /dev/null and b/omap4/sgx/bin/testwrap differ
index 0000000..08acd03
Binary files /dev/null and b/omap4/sgx/bin/testwrap differ
diff --git a/omap4/sgx/bin/texture_benchmark b/omap4/sgx/bin/texture_benchmark
new file mode 100755 (executable)
index 0000000..ea6615b
Binary files /dev/null and b/omap4/sgx/bin/texture_benchmark differ
index 0000000..ea6615b
Binary files /dev/null and b/omap4/sgx/bin/texture_benchmark differ
diff --git a/omap4/sgx/lib/egl/libEGL_POWERVR_SGX540_120.so b/omap4/sgx/lib/egl/libEGL_POWERVR_SGX540_120.so
new file mode 100644 (file)
index 0000000..53c25d8
Binary files /dev/null and b/omap4/sgx/lib/egl/libEGL_POWERVR_SGX540_120.so differ
index 0000000..53c25d8
Binary files /dev/null and b/omap4/sgx/lib/egl/libEGL_POWERVR_SGX540_120.so differ
diff --git a/omap4/sgx/lib/egl/libGLESv1_CM_POWERVR_SGX540_120.so b/omap4/sgx/lib/egl/libGLESv1_CM_POWERVR_SGX540_120.so
new file mode 100644 (file)
index 0000000..23f25de
Binary files /dev/null and b/omap4/sgx/lib/egl/libGLESv1_CM_POWERVR_SGX540_120.so differ
index 0000000..23f25de
Binary files /dev/null and b/omap4/sgx/lib/egl/libGLESv1_CM_POWERVR_SGX540_120.so differ
diff --git a/omap4/sgx/lib/egl/libGLESv2_POWERVR_SGX540_120.so b/omap4/sgx/lib/egl/libGLESv2_POWERVR_SGX540_120.so
new file mode 100644 (file)
index 0000000..3873717
Binary files /dev/null and b/omap4/sgx/lib/egl/libGLESv2_POWERVR_SGX540_120.so differ
index 0000000..3873717
Binary files /dev/null and b/omap4/sgx/lib/egl/libGLESv2_POWERVR_SGX540_120.so differ
diff --git a/omap4/sgx/lib/hw/gralloc.omap4.so b/omap4/sgx/lib/hw/gralloc.omap4.so
new file mode 100644 (file)
index 0000000..69646ab
Binary files /dev/null and b/omap4/sgx/lib/hw/gralloc.omap4.so differ
index 0000000..69646ab
Binary files /dev/null and b/omap4/sgx/lib/hw/gralloc.omap4.so differ
diff --git a/omap4/sgx/lib/libIMGegl.so b/omap4/sgx/lib/libIMGegl.so
new file mode 100644 (file)
index 0000000..f15c576
Binary files /dev/null and b/omap4/sgx/lib/libIMGegl.so differ
index 0000000..f15c576
Binary files /dev/null and b/omap4/sgx/lib/libIMGegl.so differ
diff --git a/omap4/sgx/lib/libPVRScopeServices.so b/omap4/sgx/lib/libPVRScopeServices.so
new file mode 100644 (file)
index 0000000..9af53b7
Binary files /dev/null and b/omap4/sgx/lib/libPVRScopeServices.so differ
index 0000000..9af53b7
Binary files /dev/null and b/omap4/sgx/lib/libPVRScopeServices.so differ
diff --git a/omap4/sgx/lib/libglslcompiler.so b/omap4/sgx/lib/libglslcompiler.so
new file mode 100644 (file)
index 0000000..73753c4
Binary files /dev/null and b/omap4/sgx/lib/libglslcompiler.so differ
index 0000000..73753c4
Binary files /dev/null and b/omap4/sgx/lib/libglslcompiler.so differ
diff --git a/omap4/sgx/lib/libpvr2d.so b/omap4/sgx/lib/libpvr2d.so
new file mode 100644 (file)
index 0000000..2012c5e
Binary files /dev/null and b/omap4/sgx/lib/libpvr2d.so differ
index 0000000..2012c5e
Binary files /dev/null and b/omap4/sgx/lib/libpvr2d.so differ
diff --git a/omap4/sgx/lib/libpvrANDROID_WSEGL.so b/omap4/sgx/lib/libpvrANDROID_WSEGL.so
new file mode 100644 (file)
index 0000000..42f8577
Binary files /dev/null and b/omap4/sgx/lib/libpvrANDROID_WSEGL.so differ
index 0000000..42f8577
Binary files /dev/null and b/omap4/sgx/lib/libpvrANDROID_WSEGL.so differ
diff --git a/omap4/sgx/lib/libsrv_init.so b/omap4/sgx/lib/libsrv_init.so
new file mode 100644 (file)
index 0000000..2cf6e5e
Binary files /dev/null and b/omap4/sgx/lib/libsrv_init.so differ
index 0000000..2cf6e5e
Binary files /dev/null and b/omap4/sgx/lib/libsrv_init.so differ
diff --git a/omap4/sgx/lib/libsrv_um.so b/omap4/sgx/lib/libsrv_um.so
new file mode 100644 (file)
index 0000000..61fcd0e
Binary files /dev/null and b/omap4/sgx/lib/libsrv_um.so differ
index 0000000..61fcd0e
Binary files /dev/null and b/omap4/sgx/lib/libsrv_um.so differ
diff --git a/omap4/sgx/lib/libusc.so b/omap4/sgx/lib/libusc.so
new file mode 100644 (file)
index 0000000..cc42111
Binary files /dev/null and b/omap4/sgx/lib/libusc.so differ
index 0000000..cc42111
Binary files /dev/null and b/omap4/sgx/lib/libusc.so differ
diff --git a/omap4/sgx/updatelibs.sh b/omap4/sgx/updatelibs.sh
--- /dev/null
+++ b/omap4/sgx/updatelibs.sh
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+for a in `find bin lib -type f`; do
+cp ${ANDROID_PRODUCT_OUT}/target/`basename $a` $a
+done
diff --git a/omap4/ti-omap4-vendor.mk b/omap4/ti-omap4-vendor.mk
--- /dev/null
+++ b/omap4/ti-omap4-vendor.mk
@@ -0,0 +1,20 @@
+# Copyright (C) 2011 The Android Open Source Project
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+# This lists the packages that are necessary to build a device using
+# the Texas Instruments OMAP 44xx series SoCs
+
+PRODUCT_PACKAGES := \
+ ti_omap4_sgx_libs