hikey960: bifrost: Add renderscript binary dependencies
This patch adds prebuilt binary/libraries needed by the mali renderscript
code.
Following the renderscript integration instructions in the release
notes from the binary blob package here:
https://developer.arm.com/products/software/mali-drivers/user-space
Specifically:
https://developer.arm.com/-/media/Files/downloads/mali-drivers/user-space/HiKey%20960/mali-G71_r10p0-01rel1_android-8.1_1.tar.gz?revision=56403097-18f0-4ea2-9ff8-de7044b71e5e
These were built by repo sync'ing Android-8.1, and building:
OVERRIDE_RS_DRIVER=libRSDriverArm.so make libclcore.bc libclcore_neon.bc libbcc libLLVM bcc
Then the resulting binaries were copied from the system dir
to here.
Change-Id: Ife139a20c2a9aa1727de0668ba85309d9b09920f
Signed-off-by: John Stultz <john.stultz@linaro.org>
diff --git a/hikey960/device-hikey960.mk b/hikey960/device-hikey960.mk
index 65ae7ed..0a39bb5 100644
--- a/hikey960/device-hikey960.mk
+++ b/hikey960/device-hikey960.mk
@@ -49,6 +49,14 @@
PRODUCT_PACKAGES += libGLES_mali.so \
vulkan.hikey960.so \
END_USER_LICENCE_AGREEMENT.txt
+PRODUCT_COPY_FILES += \
+ $(LOCAL_PATH)/../mali/bifrost/lib/libclcore.bc:vendor/lib/libclcore.bc \
+ $(LOCAL_PATH)/../mali/bifrost/lib/libclcore_neon.bc:vendor/lib/libclcore_neon.bc \
+ $(LOCAL_PATH)/../mali/bifrost/bin/bcc:vendor/bin/bcc \
+ $(LOCAL_PATH)/../mali/bifrost/lib64/libbcc.so:vendor/lib64/libbcc.so \
+ $(LOCAL_PATH)/../mali/bifrost/lib64/libclcore.bc:vendor/lib64/libclcore.bc \
+ $(LOCAL_PATH)/../mali/bifrost/lib64/libLLVM.so:vendor/lib64/libLLVM.so
+
PRODUCT_PACKAGES += power.hikey960
diff --git a/mali/bifrost/bin/bcc b/mali/bifrost/bin/bcc
new file mode 100755
index 0000000..c828bca
--- /dev/null
+++ b/mali/bifrost/bin/bcc
Binary files differ
diff --git a/mali/bifrost/lib/libclcore.bc b/mali/bifrost/lib/libclcore.bc
new file mode 100644
index 0000000..ee0429a
--- /dev/null
+++ b/mali/bifrost/lib/libclcore.bc
Binary files differ
diff --git a/mali/bifrost/lib/libclcore_neon.bc b/mali/bifrost/lib/libclcore_neon.bc
new file mode 100644
index 0000000..ce3da69
--- /dev/null
+++ b/mali/bifrost/lib/libclcore_neon.bc
Binary files differ
diff --git a/mali/bifrost/lib64/libLLVM.so b/mali/bifrost/lib64/libLLVM.so
new file mode 100755
index 0000000..894b1d1
--- /dev/null
+++ b/mali/bifrost/lib64/libLLVM.so
Binary files differ
diff --git a/mali/bifrost/lib64/libbcc.so b/mali/bifrost/lib64/libbcc.so
new file mode 100755
index 0000000..b95b141
--- /dev/null
+++ b/mali/bifrost/lib64/libbcc.so
Binary files differ
diff --git a/mali/bifrost/lib64/libclcore.bc b/mali/bifrost/lib64/libclcore.bc
new file mode 100644
index 0000000..ca3d10b
--- /dev/null
+++ b/mali/bifrost/lib64/libclcore.bc
Binary files differ