summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames W. Mills2011-12-14 17:41:22 -0600
committerJames W. Mills2011-12-14 17:50:04 -0600
commit47a8187f2d8a08f7210b3c964b3b8e50f3b0da66 (patch)
treeb7795c0e26dc168f714a754ff7523deec46174d7
parent5f0810d859ebe79b532918cf6a8f656f0184c6de (diff)
downloaddevice-ti-proprietary-open-47a8187f2d8a08f7210b3c964b3b8e50f3b0da66.tar.gz
device-ti-proprietary-open-47a8187f2d8a08f7210b3c964b3b8e50f3b0da66.tar.xz
device-ti-proprietary-open-47a8187f2d8a08f7210b3c964b3b8e50f3b0da66.zip
Upped the version of the DDK to match the kernel. I've also added the Android.mk file from the update DDK so that the first pass make system picks it up as expected.
Change-Id: Ief0b0d770a90c9fc8f32556204cf7e11a78ecc78 Signed-off-by: James W. Mills <jameswmills@ti.com>
-rw-r--r--omap4/sgx.tgzbin1538611 -> 1541613 bytes
-rw-r--r--omap4/sgx/Android.mk69
-rwxr-xr-xuntar.sh1
3 files changed, 70 insertions, 0 deletions
diff --git a/omap4/sgx.tgz b/omap4/sgx.tgz
index a1ae567..a4a5599 100644
--- a/omap4/sgx.tgz
+++ b/omap4/sgx.tgz
Binary files differ
diff --git a/omap4/sgx/Android.mk b/omap4/sgx/Android.mk
new file mode 100644
index 0000000..05b900d
--- /dev/null
+++ b/omap4/sgx/Android.mk
@@ -0,0 +1,69 @@
1LOCAL_PATH := $(call my-dir)
2
3define _add-sgx-vendor-lib
4include $$(CLEAR_VARS)
5$(if $(word 2,$1),$(error Invalid SGX module name $1))
6LOCAL_MODULE := $(basename $(notdir $1))
7LOCAL_SRC_FILES := $1
8LOCAL_MODULE_TAGS := optional
9LOCAL_MODULE_SUFFIX := $(suffix $1)
10LOCAL_MODULE_CLASS := SHARED_LIBRARIES
11LOCAL_MODULE_PATH := $$(TARGET_OUT)$(abspath /vendor/$(dir $1))
12LOCAL_STRIP_MODULE := false
13OVERRIDE_BUILT_MODULE_PATH := $$(TARGET_OUT_INTERMEDIATE_LIBRARIES)
14include $$(BUILD_PREBUILT)
15endef
16
17define _add-sgx-vendor-bin
18include $$(CLEAR_VARS)
19$(if $(word 2,$1),$(error Invalid SGX module name $1))
20LOCAL_MODULE := $(basename $(notdir $1))
21LOCAL_SRC_FILES := $1
22LOCAL_MODULE_TAGS := optional
23LOCAL_MODULE_SUFFIX := $(suffix $1)
24LOCAL_MODULE_CLASS := EXECUTABLES
25LOCAL_MODULE_PATH := $$(TARGET_OUT)$(abspath /vendor/$(dir $1))
26LOCAL_STRIP_MODULE := false
27OVERRIDE_BUILT_MODULE_PATH := $$(TARGET_OUT_INTERMEDIATE_EXECUTABLES)
28include $$(BUILD_PREBUILT)
29endef
30
31
32prebuilt_sgx_vendor_libs := \
33 lib/libIMGegl.so \
34 lib/libglslcompiler.so \
35 lib/libusc.so \
36 lib/libPVRScopeServices.so \
37 lib/libsrv_um.so \
38 lib/hw/gralloc.omap4.so \
39 lib/libpvrANDROID_WSEGL.so \
40 lib/libpvr2d.so \
41 lib/libsrv_init.so \
42 lib/egl/libGLESv1_CM_POWERVR_SGX540_120.so \
43 lib/egl/libGLESv2_POWERVR_SGX540_120.so \
44 lib/egl/libEGL_POWERVR_SGX540_120.so
45
46prebuilt_sgx_vendor_bins := \
47 bin/pvrsrvinit
48
49prebuilt_sgx_modules := \
50 $(foreach _file,$(prebuilt_sgx_vendor_libs) $(prebuilt_sgx_vendor_bins),\
51 $(notdir $(basename $(_file))))
52
53include $(CLEAR_VARS)
54LOCAL_MODULE := ti_omap4_sgx_libs
55LOCAL_MODULE_TAGS := optional
56LOCAL_REQUIRED_MODULES := $(prebuilt_sgx_modules)
57include $(BUILD_PHONY_PACKAGE)
58
59$(foreach _file,$(prebuilt_sgx_vendor_libs),\
60 $(eval $(call _add-sgx-vendor-lib,$(_file))))
61
62$(foreach _file,$(prebuilt_sgx_vendor_bins),\
63 $(eval $(call _add-sgx-vendor-bin,$(_file))))
64
65prebuilt_sgx_modules :=
66prebuilt_sgx_vendor_libs :=
67prebuilt_sgx_vendor_bins :=
68_add-sgx-vendor-lib :=
69_add-sgx-vendor-bin :=
diff --git a/untar.sh b/untar.sh
index 2e5b77f..8e5cc9f 100755
--- a/untar.sh
+++ b/untar.sh
@@ -12,3 +12,4 @@ if [ -d $1/$2 ]; then
12fi 12fi
13 13
14tar -C $1 -zxf $3 14tar -C $1 -zxf $3
15find $1/$2 -type f -exec touch {} \;