linaro-vendor-package: db845c/rb5: Add mesa prebuilt binaries
Adds mesa prebuilt binaries built from commit 3759a16d8a88
("ac/nir/ngg: Fix mixed up primitive ID after culling.") in the
upstream mesa project.
Signed-off-by: John Stultz <john.stultz@linaro.org>
diff --git a/src/db845c/mesa_prebuilt/copy_bins.sh b/src/db845c/mesa_prebuilt/copy_bins.sh
new file mode 100755
index 0000000..ff6521a
--- /dev/null
+++ b/src/db845c/mesa_prebuilt/copy_bins.sh
@@ -0,0 +1,20 @@
+AOSP_TOP=../../../../../
+
+mkdir -p lib64/egl
+mkdir -p lib/egl
+mkdir -p lib64/dri
+mkdir -p lib/dri
+mkdir -p lib64/hw
+mkdir -p lib/hw
+
+cp -P $AOSP_TOP/out/target/product/db845c/vendor/lib64/egl/* lib64/egl/
+cp -P $AOSP_TOP/out/target/product/db845c/vendor/lib/egl/* lib/egl/
+cp -P $AOSP_TOP/out/target/product/db845c/vendor/lib64/dri/* lib64/dri/
+cp -P $AOSP_TOP/out/target/product/db845c/vendor/lib/dri/* lib/dri/
+
+cp $AOSP_TOP/out/target/product/db845c/vendor/lib64/hw/vulkan.freedreno.so lib64/hw/
+cp $AOSP_TOP/out/target/product/db845c/vendor/lib/hw/vulkan.freedreno.so lib/hw/
+
+cp $AOSP_TOP/out/target/product/db845c/vendor/lib64/libglapi.so lib64/libglapi.so
+cp $AOSP_TOP/out/target/product/db845c/vendor/lib/libglapi.so lib/libglapi.so
+