diff options
author | James W. Mills | 2011-12-14 17:41:22 -0600 |
---|---|---|
committer | James W. Mills | 2011-12-14 17:50:04 -0600 |
commit | 47a8187f2d8a08f7210b3c964b3b8e50f3b0da66 (patch) | |
tree | b7795c0e26dc168f714a754ff7523deec46174d7 | |
parent | 5f0810d859ebe79b532918cf6a8f656f0184c6de (diff) | |
download | device-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.tgz | bin | 1538611 -> 1541613 bytes | |||
-rw-r--r-- | omap4/sgx/Android.mk | 69 | ||||
-rwxr-xr-x | untar.sh | 1 |
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 @@ | |||
1 | LOCAL_PATH := $(call my-dir) | ||
2 | |||
3 | define _add-sgx-vendor-lib | ||
4 | include $$(CLEAR_VARS) | ||
5 | $(if $(word 2,$1),$(error Invalid SGX module name $1)) | ||
6 | LOCAL_MODULE := $(basename $(notdir $1)) | ||
7 | LOCAL_SRC_FILES := $1 | ||
8 | LOCAL_MODULE_TAGS := optional | ||
9 | LOCAL_MODULE_SUFFIX := $(suffix $1) | ||
10 | LOCAL_MODULE_CLASS := SHARED_LIBRARIES | ||
11 | LOCAL_MODULE_PATH := $$(TARGET_OUT)$(abspath /vendor/$(dir $1)) | ||
12 | LOCAL_STRIP_MODULE := false | ||
13 | OVERRIDE_BUILT_MODULE_PATH := $$(TARGET_OUT_INTERMEDIATE_LIBRARIES) | ||
14 | include $$(BUILD_PREBUILT) | ||
15 | endef | ||
16 | |||
17 | define _add-sgx-vendor-bin | ||
18 | include $$(CLEAR_VARS) | ||
19 | $(if $(word 2,$1),$(error Invalid SGX module name $1)) | ||
20 | LOCAL_MODULE := $(basename $(notdir $1)) | ||
21 | LOCAL_SRC_FILES := $1 | ||
22 | LOCAL_MODULE_TAGS := optional | ||
23 | LOCAL_MODULE_SUFFIX := $(suffix $1) | ||
24 | LOCAL_MODULE_CLASS := EXECUTABLES | ||
25 | LOCAL_MODULE_PATH := $$(TARGET_OUT)$(abspath /vendor/$(dir $1)) | ||
26 | LOCAL_STRIP_MODULE := false | ||
27 | OVERRIDE_BUILT_MODULE_PATH := $$(TARGET_OUT_INTERMEDIATE_EXECUTABLES) | ||
28 | include $$(BUILD_PREBUILT) | ||
29 | endef | ||
30 | |||
31 | |||
32 | prebuilt_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 | |||
46 | prebuilt_sgx_vendor_bins := \ | ||
47 | bin/pvrsrvinit | ||
48 | |||
49 | prebuilt_sgx_modules := \ | ||
50 | $(foreach _file,$(prebuilt_sgx_vendor_libs) $(prebuilt_sgx_vendor_bins),\ | ||
51 | $(notdir $(basename $(_file)))) | ||
52 | |||
53 | include $(CLEAR_VARS) | ||
54 | LOCAL_MODULE := ti_omap4_sgx_libs | ||
55 | LOCAL_MODULE_TAGS := optional | ||
56 | LOCAL_REQUIRED_MODULES := $(prebuilt_sgx_modules) | ||
57 | include $(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 | |||
65 | prebuilt_sgx_modules := | ||
66 | prebuilt_sgx_vendor_libs := | ||
67 | prebuilt_sgx_vendor_bins := | ||
68 | _add-sgx-vendor-lib := | ||
69 | _add-sgx-vendor-bin := | ||
@@ -12,3 +12,4 @@ if [ -d $1/$2 ]; then | |||
12 | fi | 12 | fi |
13 | 13 | ||
14 | tar -C $1 -zxf $3 | 14 | tar -C $1 -zxf $3 |
15 | find $1/$2 -type f -exec touch {} \; | ||