summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSam Protsenko2016-08-05 13:10:32 -0500
committerVishal Mahaveer2016-08-08 17:20:31 -0500
commit95953b5a78aef37d2c5ff6d33d24042090bb1004 (patch)
tree12b2498eb8782f0a1ea9e81eb77d49710152e2d9
parent03390f88bf4a5738302f6757ff47c11c45f28954 (diff)
downloaddevice-ti-proprietary-open-95953b5a78aef37d2c5ff6d33d24042090bb1004.tar.gz
device-ti-proprietary-open-95953b5a78aef37d2c5ff6d33d24042090bb1004.tar.xz
device-ti-proprietary-open-95953b5a78aef37d2c5ff6d33d24042090bb1004.zip
jacinto6: sgx: Extend SGX support for platforms other than DRA7
We need next pre-built libraries gralloc.jacinto6.so memtrack.jacinto6.so to have names w.r.t. platform we are building AFS for. For instance, for AM57x EVM we want those libraries to be named like this: gralloc.am57x.so memtrack.am57x.so Android UI won't bring up without this change. Change-Id: Ic6ff167ad311fef558e1c8b4e83a55dfe9f4c634 Signed-off-by: Sam Protsenko <semen.protsenko@linaro.org>
-rw-r--r--jacinto6/sgx/Android.mk9
1 files changed, 5 insertions, 4 deletions
diff --git a/jacinto6/sgx/Android.mk b/jacinto6/sgx/Android.mk
index 862dffb..9d007ad 100644
--- a/jacinto6/sgx/Android.mk
+++ b/jacinto6/sgx/Android.mk
@@ -28,9 +28,10 @@ LOCAL_PATH := $$(img-sgx.untarred_bin)
28include $$(BUILD_SYSTEM)/base_rules.mk 28include $$(BUILD_SYSTEM)/base_rules.mk
29$$(LOCAL_BUILT_MODULE) : PRIVATE_SRC := $$(img-sgx.untarred_bin)/$1 29$$(LOCAL_BUILT_MODULE) : PRIVATE_SRC := $$(img-sgx.untarred_bin)/$1
30$$(LOCAL_BUILT_MODULE) : $$(img-sgx.untarred_timestamp) | $$(ACP) 30$$(LOCAL_BUILT_MODULE) : $$(img-sgx.untarred_timestamp) | $$(ACP)
31 @echo "Copy $$@ <- $$(PRIVATE_SRC)" 31 $(eval FIXED_SRC := $$(img-sgx.untarred_bin)/$(subst $(TARGET_BOARD_PLATFORM),jacinto6,$1))
32 @echo "Copy $$@ <- $(FIXED_SRC)"
32 @mkdir -p $(dir $$@) 33 @mkdir -p $(dir $$@)
33 $$(hide) $$(ACP) -fp $$(PRIVATE_SRC) $$@ 34 $$(hide) $$(ACP) -fp $(FIXED_SRC) $$@
34endef 35endef
35 36
36define _add-sgx-vendor-bin 37define _add-sgx-vendor-bin
@@ -99,8 +100,8 @@ prebuilt_sgx_vendor_libs := \
99 lib/libusc.so \ 100 lib/libusc.so \
100 lib/libPVRScopeServices.so \ 101 lib/libPVRScopeServices.so \
101 lib/libsrv_um.so \ 102 lib/libsrv_um.so \
102 lib/hw/gralloc.jacinto6.so \ 103 lib/hw/gralloc.$(TARGET_BOARD_PLATFORM).so \
103 lib/hw/memtrack.jacinto6.so \ 104 lib/hw/memtrack.$(TARGET_BOARD_PLATFORM).so \
104 lib/libpvrANDROID_WSEGL.so \ 105 lib/libpvrANDROID_WSEGL.so \
105 lib/libpvr2d.so \ 106 lib/libpvr2d.so \
106 lib/libsrv_init.so \ 107 lib/libsrv_init.so \