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/Android.bp.wip b/src/db845c/mesa_prebuilt/Android.bp.wip
new file mode 100644
index 0000000..f69fb9e
--- /dev/null
+++ b/src/db845c/mesa_prebuilt/Android.bp.wip
@@ -0,0 +1,105 @@
+soong_namespace {}
+
+cc_prebuilt_library{
+    name: "libEGL_mesa",
+    notice: "<something>",
+    strip: {
+        none: true,
+    },
+    arch: {
+        arm: {
+            srcs: ["lib/egl/libEGL_mesa.so"],
+        },
+        arm64: {
+            srcs: ["lib64/egl/libEGL_mesa.so"],
+        },
+    },
+    vendor: true,
+    relative_install_path: "egl",
+    check_elf_files: false,
+
+    compile_multilib: "both",
+}
+
+cc_prebuilt_library{
+    name: "libGLESv2_mesa",
+    notice: "<something>",
+    strip: {
+        none: true,
+    },
+    arch: {
+        arm: {
+            srcs: ["lib/egl/libGLESv2_mesa.so"],
+        },
+        arm64: {
+            srcs: ["lib64/egl/libGLESv2_mesa.so"],
+        },
+    },
+    vendor: true,
+    relative_install_path: "egl",
+    check_elf_files: false,
+
+    compile_multilib: "both",
+}
+
+cc_prebuilt_library {
+    name: "libGLESv1_CM_mesa",
+    notice: "<something>",
+    strip: {
+        none: true,
+    },
+    arch: {
+        arm: {
+            srcs: ["lib/egl/libGLESv1_CM_mesa.so"],
+        },
+        arm64: {
+            srcs: ["lib64/egl/libGLESv1_CM_mesa.so"],
+        },
+    },
+    vendor: true,
+    relative_install_path: "egl",
+    check_elf_files: false,
+
+    compile_multilib: "both",
+}
+
+cc_prebuilt_library{
+    name: "libglapi",
+    notice: "<something>",
+    strip: {
+        none: true,
+    },
+    arch: {
+        arm: {
+            srcs: ["lib/libglapi.so"],
+        },
+        arm64: {
+            srcs: ["lib64/libglapi.so"],
+        },
+    },
+    vendor: true,
+    check_elf_files: false,
+
+    compile_multilib: "both",
+}
+
+cc_prebuilt_library {
+    name: "msm_dri",
+    notice: "<something>",
+    strip: {
+        none: true,
+    },
+    arch: {
+        arm: {
+            srcs: ["lib/dri/msm_dri.so"],
+        },
+        arm64: {
+            srcs: ["lib64/dri/msm_dri.so"],
+        },
+    },
+    vendor: true,
+    relative_install_path: "dri",
+    check_elf_files: false,
+    compile_multilib: "both",
+}
+
diff --git a/src/db845c/mesa_prebuilt/Android.mk b/src/db845c/mesa_prebuilt/Android.mk
new file mode 100644
index 0000000..6282196
--- /dev/null
+++ b/src/db845c/mesa_prebuilt/Android.mk
@@ -0,0 +1,120 @@
+
+ifneq ($(filter db845c rb5, $(TARGET_DEVICE)),)
+ifeq ($(BOARD_USE_CUSTOMIZED_MESA), true)
+
+LOCAL_PATH := $(call my-dir)
+
+include $(CLEAR_VARS)
+LOCAL_MODULE := libEGL_mesa
+LOCAL_MODULE_RELATIVE_PATH := egl
+LOCAL_LICENSE_KINDS := SPDX-license-identifier-MIT
+LOCAL_LICENSE_CONDITIONS := notice
+LOCAL_NOTICE_FILE := $(LOCAL_PATH)/LICENSE
+LOCAL_MODULE_CLASS := SHARED_LIBRARIES
+LOCAL_VENDOR_MODULE := true
+LOCAL_STRIP_MODULE := false
+LOCAL_SRC_FILES_arm := lib/$(LOCAL_MODULE_RELATIVE_PATH)/$(LOCAL_MODULE).so
+LOCAL_SRC_FILES_arm64 := lib64/$(LOCAL_MODULE_RELATIVE_PATH)/$(LOCAL_MODULE).so
+LOCAL_MODULE_PATH_32 := $(TARGET_OUT_VENDOR)/lib/
+LOCAL_MODULE_PATH_64 := $(TARGET_OUT_VENDOR)/lib64/
+LOCAL_CHECK_ELF_FILES := false
+LOCAL_MODULE_SUFFIX := .so
+LOCAL_MULTILIB := both
+include $(BUILD_PREBUILT)
+
+include $(CLEAR_VARS)
+LOCAL_MODULE := libGLESv2_mesa
+LOCAL_MODULE_RELATIVE_PATH := egl
+LOCAL_LICENSE_KINDS := SPDX-license-identifier-MIT
+LOCAL_LICENSE_CONDITIONS := notice
+LOCAL_NOTICE_FILE := $(LOCAL_PATH)/LICENSE
+LOCAL_MODULE_CLASS := SHARED_LIBRARIES
+LOCAL_VENDOR_MODULE := true
+LOCAL_STRIP_MODULE := false
+LOCAL_SRC_FILES_arm := lib/$(LOCAL_MODULE_RELATIVE_PATH)/$(LOCAL_MODULE).so
+LOCAL_SRC_FILES_arm64 := lib64/$(LOCAL_MODULE_RELATIVE_PATH)/$(LOCAL_MODULE).so
+LOCAL_MODULE_PATH_32 := $(TARGET_OUT_VENDOR)/lib/
+LOCAL_MODULE_PATH_64 := $(TARGET_OUT_VENDOR)/lib64/
+LOCAL_CHECK_ELF_FILES := false
+LOCAL_MODULE_SUFFIX := .so
+LOCAL_MULTILIB := both
+include $(BUILD_PREBUILT)
+
+
+include $(CLEAR_VARS)
+LOCAL_MODULE := libGLESv1_CM_mesa
+LOCAL_MODULE_RELATIVE_PATH := egl
+LOCAL_LICENSE_KINDS := SPDX-license-identifier-MIT
+LOCAL_LICENSE_CONDITIONS := notice
+LOCAL_NOTICE_FILE := $(LOCAL_PATH)/LICENSE
+LOCAL_MODULE_CLASS := SHARED_LIBRARIES
+LOCAL_VENDOR_MODULE := true
+LOCAL_STRIP_MODULE := false
+LOCAL_SRC_FILES_arm := lib/$(LOCAL_MODULE_RELATIVE_PATH)/$(LOCAL_MODULE).so
+LOCAL_SRC_FILES_arm64 := lib64/$(LOCAL_MODULE_RELATIVE_PATH)/$(LOCAL_MODULE).so
+LOCAL_MODULE_PATH_32 := $(TARGET_OUT_VENDOR)/lib/
+LOCAL_MODULE_PATH_64 := $(TARGET_OUT_VENDOR)/lib64/
+LOCAL_CHECK_ELF_FILES := false
+LOCAL_MODULE_SUFFIX := .so
+LOCAL_MULTILIB := both
+include $(BUILD_PREBUILT)
+
+include $(CLEAR_VARS)
+LOCAL_MODULE := libgallium_dri
+LOCAL_MODULE_RELATIVE_PATH := dri
+LOCAL_LICENSE_KINDS := SPDX-license-identifier-MIT
+LOCAL_LICENSE_CONDITIONS := notice
+LOCAL_NOTICE_FILE := $(LOCAL_PATH)/LICENSE
+LOCAL_MODULE_CLASS := SHARED_LIBRARIES
+LOCAL_VENDOR_MODULE := true
+LOCAL_STRIP_MODULE := false
+LOCAL_SRC_FILES_arm := lib/$(LOCAL_MODULE_RELATIVE_PATH)/$(LOCAL_MODULE).so
+LOCAL_SRC_FILES_arm64 := lib64/$(LOCAL_MODULE_RELATIVE_PATH)/$(LOCAL_MODULE).so
+LOCAL_MODULE_PATH_32 := $(TARGET_OUT_VENDOR)/lib/
+LOCAL_MODULE_PATH_64 := $(TARGET_OUT_VENDOR)/lib64/
+LOCAL_CHECK_ELF_FILES := false
+LOCAL_MODULE_SUFFIX := .so
+LOCAL_MULTILIB := both
+LOCAL_MODULE_SYMLINKS=msm_dri.so
+include $(BUILD_PREBUILT)
+
+include $(CLEAR_VARS)
+LOCAL_MODULE := vulkan.freedreno
+LOCAL_MODULE_RELATIVE_PATH := hw
+LOCAL_LICENSE_KINDS := SPDX-license-identifier-MIT
+LOCAL_LICENSE_CONDITIONS := notice
+LOCAL_NOTICE_FILE := $(LOCAL_PATH)/LICENSE
+LOCAL_MODULE_CLASS := SHARED_LIBRARIES
+LOCAL_VENDOR_MODULE := true
+LOCAL_STRIP_MODULE := false
+LOCAL_SRC_FILES_arm := lib/$(LOCAL_MODULE_RELATIVE_PATH)/$(LOCAL_MODULE).so
+LOCAL_SRC_FILES_arm64 := lib64/$(LOCAL_MODULE_RELATIVE_PATH)/$(LOCAL_MODULE).so
+LOCAL_MODULE_PATH_32 := $(TARGET_OUT_VENDOR)/lib/
+LOCAL_MODULE_PATH_64 := $(TARGET_OUT_VENDOR)/lib64/
+LOCAL_CHECK_ELF_FILES := false
+LOCAL_MODULE_SUFFIX := .so
+LOCAL_MULTILIB := both
+LOCAL_MODULE_SYMLINKS=$(LOCAL_MODULE)$(LOCAL_MODULE_SUFFIX).0
+include $(BUILD_PREBUILT)
+
+include $(CLEAR_VARS)
+LOCAL_MODULE := libglapi
+LOCAL_MODULE_RELATIVE_PATH := 
+LOCAL_LICENSE_KINDS := SPDX-license-identifier-MIT
+LOCAL_LICENSE_CONDITIONS := notice
+LOCAL_NOTICE_FILE := $(LOCAL_PATH)/LICENSE
+LOCAL_MODULE_CLASS := SHARED_LIBRARIES
+LOCAL_VENDOR_MODULE := true
+LOCAL_STRIP_MODULE := false
+LOCAL_SRC_FILES_arm := lib/$(LOCAL_MODULE_RELATIVE_PATH)/$(LOCAL_MODULE).so
+LOCAL_SRC_FILES_arm64 := lib64/$(LOCAL_MODULE_RELATIVE_PATH)/$(LOCAL_MODULE).so
+LOCAL_MODULE_PATH_32 := $(TARGET_OUT_VENDOR)/lib/
+LOCAL_MODULE_PATH_64 := $(TARGET_OUT_VENDOR)/lib64/
+LOCAL_CHECK_ELF_FILES := false
+LOCAL_MODULE_SUFFIX := .so
+LOCAL_MULTILIB := both
+LOCAL_MODULE_SYMLINKS=$(LOCAL_MODULE)$(LOCAL_MODULE_SUFFIX).0
+include $(BUILD_PREBUILT)
+
+endif
+endif
diff --git a/src/db845c/mesa_prebuilt/LICENSE b/src/db845c/mesa_prebuilt/LICENSE
new file mode 100644
index 0000000..56a04fb
--- /dev/null
+++ b/src/db845c/mesa_prebuilt/LICENSE
@@ -0,0 +1,25 @@
+Copyright © 1999-2007  Brian Paul   All Rights Reserved.
+
+Permission is hereby granted, free of charge, to any person obtaining a
+copy of this software and associated documentation files (the "Software"),
+to deal in the Software without restriction, including without limitation
+the rights to use, copy, modify, merge, publish, distribute, sublicense,
+and/or sell copies of the Software, and to permit persons to whom the
+Software is furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included
+in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
+OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
+THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
+
+---
+
+The above is the version of the MIT "Expat" License used by Mesa:
+
+    https://www.mesa3d.org/license.html
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
+
diff --git a/src/db845c/mesa_prebuilt/lib/dri/armada-drm_dri.so b/src/db845c/mesa_prebuilt/lib/dri/armada-drm_dri.so
new file mode 120000
index 0000000..a396173
--- /dev/null
+++ b/src/db845c/mesa_prebuilt/lib/dri/armada-drm_dri.so
@@ -0,0 +1 @@
+libgallium_dri.so
\ No newline at end of file
diff --git a/src/db845c/mesa_prebuilt/lib/dri/exynos_dri.so b/src/db845c/mesa_prebuilt/lib/dri/exynos_dri.so
new file mode 120000
index 0000000..a396173
--- /dev/null
+++ b/src/db845c/mesa_prebuilt/lib/dri/exynos_dri.so
@@ -0,0 +1 @@
+libgallium_dri.so
\ No newline at end of file
diff --git a/src/db845c/mesa_prebuilt/lib/dri/hx8357d_dri.so b/src/db845c/mesa_prebuilt/lib/dri/hx8357d_dri.so
new file mode 120000
index 0000000..a396173
--- /dev/null
+++ b/src/db845c/mesa_prebuilt/lib/dri/hx8357d_dri.so
@@ -0,0 +1 @@
+libgallium_dri.so
\ No newline at end of file
diff --git a/src/db845c/mesa_prebuilt/lib/dri/ili9225_dri.so b/src/db845c/mesa_prebuilt/lib/dri/ili9225_dri.so
new file mode 120000
index 0000000..a396173
--- /dev/null
+++ b/src/db845c/mesa_prebuilt/lib/dri/ili9225_dri.so
@@ -0,0 +1 @@
+libgallium_dri.so
\ No newline at end of file
diff --git a/src/db845c/mesa_prebuilt/lib/dri/ili9341_dri.so b/src/db845c/mesa_prebuilt/lib/dri/ili9341_dri.so
new file mode 120000
index 0000000..a396173
--- /dev/null
+++ b/src/db845c/mesa_prebuilt/lib/dri/ili9341_dri.so
@@ -0,0 +1 @@
+libgallium_dri.so
\ No newline at end of file
diff --git a/src/db845c/mesa_prebuilt/lib/dri/imx-dcss_dri.so b/src/db845c/mesa_prebuilt/lib/dri/imx-dcss_dri.so
new file mode 120000
index 0000000..a396173
--- /dev/null
+++ b/src/db845c/mesa_prebuilt/lib/dri/imx-dcss_dri.so
@@ -0,0 +1 @@
+libgallium_dri.so
\ No newline at end of file
diff --git a/src/db845c/mesa_prebuilt/lib/dri/imx-drm_dri.so b/src/db845c/mesa_prebuilt/lib/dri/imx-drm_dri.so
new file mode 120000
index 0000000..a396173
--- /dev/null
+++ b/src/db845c/mesa_prebuilt/lib/dri/imx-drm_dri.so
@@ -0,0 +1 @@
+libgallium_dri.so
\ No newline at end of file
diff --git a/src/db845c/mesa_prebuilt/lib/dri/ingenic-drm_dri.so b/src/db845c/mesa_prebuilt/lib/dri/ingenic-drm_dri.so
new file mode 120000
index 0000000..a396173
--- /dev/null
+++ b/src/db845c/mesa_prebuilt/lib/dri/ingenic-drm_dri.so
@@ -0,0 +1 @@
+libgallium_dri.so
\ No newline at end of file
diff --git a/src/db845c/mesa_prebuilt/lib/dri/kgsl_dri.so b/src/db845c/mesa_prebuilt/lib/dri/kgsl_dri.so
new file mode 120000
index 0000000..a396173
--- /dev/null
+++ b/src/db845c/mesa_prebuilt/lib/dri/kgsl_dri.so
@@ -0,0 +1 @@
+libgallium_dri.so
\ No newline at end of file
diff --git a/src/db845c/mesa_prebuilt/lib/dri/kirin_dri.so b/src/db845c/mesa_prebuilt/lib/dri/kirin_dri.so
new file mode 120000
index 0000000..a396173
--- /dev/null
+++ b/src/db845c/mesa_prebuilt/lib/dri/kirin_dri.so
@@ -0,0 +1 @@
+libgallium_dri.so
\ No newline at end of file
diff --git a/src/db845c/mesa_prebuilt/lib/dri/komeda_dri.so b/src/db845c/mesa_prebuilt/lib/dri/komeda_dri.so
new file mode 120000
index 0000000..a396173
--- /dev/null
+++ b/src/db845c/mesa_prebuilt/lib/dri/komeda_dri.so
@@ -0,0 +1 @@
+libgallium_dri.so
\ No newline at end of file
diff --git a/src/db845c/mesa_prebuilt/lib/dri/libgallium_dri.so b/src/db845c/mesa_prebuilt/lib/dri/libgallium_dri.so
new file mode 100755
index 0000000..61a1fb5
--- /dev/null
+++ b/src/db845c/mesa_prebuilt/lib/dri/libgallium_dri.so
Binary files differ
diff --git a/src/db845c/mesa_prebuilt/lib/dri/libgallium_dri.so.0 b/src/db845c/mesa_prebuilt/lib/dri/libgallium_dri.so.0
new file mode 120000
index 0000000..a396173
--- /dev/null
+++ b/src/db845c/mesa_prebuilt/lib/dri/libgallium_dri.so.0
@@ -0,0 +1 @@
+libgallium_dri.so
\ No newline at end of file
diff --git a/src/db845c/mesa_prebuilt/lib/dri/mali-dp_dri.so b/src/db845c/mesa_prebuilt/lib/dri/mali-dp_dri.so
new file mode 120000
index 0000000..a396173
--- /dev/null
+++ b/src/db845c/mesa_prebuilt/lib/dri/mali-dp_dri.so
@@ -0,0 +1 @@
+libgallium_dri.so
\ No newline at end of file
diff --git a/src/db845c/mesa_prebuilt/lib/dri/mcde_dri.so b/src/db845c/mesa_prebuilt/lib/dri/mcde_dri.so
new file mode 120000
index 0000000..a396173
--- /dev/null
+++ b/src/db845c/mesa_prebuilt/lib/dri/mcde_dri.so
@@ -0,0 +1 @@
+libgallium_dri.so
\ No newline at end of file
diff --git a/src/db845c/mesa_prebuilt/lib/dri/mediatek_dri.so b/src/db845c/mesa_prebuilt/lib/dri/mediatek_dri.so
new file mode 120000
index 0000000..a396173
--- /dev/null
+++ b/src/db845c/mesa_prebuilt/lib/dri/mediatek_dri.so
@@ -0,0 +1 @@
+libgallium_dri.so
\ No newline at end of file
diff --git a/src/db845c/mesa_prebuilt/lib/dri/meson_dri.so b/src/db845c/mesa_prebuilt/lib/dri/meson_dri.so
new file mode 120000
index 0000000..a396173
--- /dev/null
+++ b/src/db845c/mesa_prebuilt/lib/dri/meson_dri.so
@@ -0,0 +1 @@
+libgallium_dri.so
\ No newline at end of file
diff --git a/src/db845c/mesa_prebuilt/lib/dri/mi0283qt_dri.so b/src/db845c/mesa_prebuilt/lib/dri/mi0283qt_dri.so
new file mode 120000
index 0000000..a396173
--- /dev/null
+++ b/src/db845c/mesa_prebuilt/lib/dri/mi0283qt_dri.so
@@ -0,0 +1 @@
+libgallium_dri.so
\ No newline at end of file
diff --git a/src/db845c/mesa_prebuilt/lib/dri/mxsfb-drm_dri.so b/src/db845c/mesa_prebuilt/lib/dri/mxsfb-drm_dri.so
new file mode 120000
index 0000000..a396173
--- /dev/null
+++ b/src/db845c/mesa_prebuilt/lib/dri/mxsfb-drm_dri.so
@@ -0,0 +1 @@
+libgallium_dri.so
\ No newline at end of file
diff --git a/src/db845c/mesa_prebuilt/lib/dri/pl111_dri.so b/src/db845c/mesa_prebuilt/lib/dri/pl111_dri.so
new file mode 120000
index 0000000..a396173
--- /dev/null
+++ b/src/db845c/mesa_prebuilt/lib/dri/pl111_dri.so
@@ -0,0 +1 @@
+libgallium_dri.so
\ No newline at end of file
diff --git a/src/db845c/mesa_prebuilt/lib/dri/rcar-du_dri.so b/src/db845c/mesa_prebuilt/lib/dri/rcar-du_dri.so
new file mode 120000
index 0000000..a396173
--- /dev/null
+++ b/src/db845c/mesa_prebuilt/lib/dri/rcar-du_dri.so
@@ -0,0 +1 @@
+libgallium_dri.so
\ No newline at end of file
diff --git a/src/db845c/mesa_prebuilt/lib/dri/repaper_dri.so b/src/db845c/mesa_prebuilt/lib/dri/repaper_dri.so
new file mode 120000
index 0000000..a396173
--- /dev/null
+++ b/src/db845c/mesa_prebuilt/lib/dri/repaper_dri.so
@@ -0,0 +1 @@
+libgallium_dri.so
\ No newline at end of file
diff --git a/src/db845c/mesa_prebuilt/lib/dri/rockchip_dri.so b/src/db845c/mesa_prebuilt/lib/dri/rockchip_dri.so
new file mode 120000
index 0000000..a396173
--- /dev/null
+++ b/src/db845c/mesa_prebuilt/lib/dri/rockchip_dri.so
@@ -0,0 +1 @@
+libgallium_dri.so
\ No newline at end of file
diff --git a/src/db845c/mesa_prebuilt/lib/dri/st7586_dri.so b/src/db845c/mesa_prebuilt/lib/dri/st7586_dri.so
new file mode 120000
index 0000000..a396173
--- /dev/null
+++ b/src/db845c/mesa_prebuilt/lib/dri/st7586_dri.so
@@ -0,0 +1 @@
+libgallium_dri.so
\ No newline at end of file
diff --git a/src/db845c/mesa_prebuilt/lib/dri/st7735r_dri.so b/src/db845c/mesa_prebuilt/lib/dri/st7735r_dri.so
new file mode 120000
index 0000000..a396173
--- /dev/null
+++ b/src/db845c/mesa_prebuilt/lib/dri/st7735r_dri.so
@@ -0,0 +1 @@
+libgallium_dri.so
\ No newline at end of file
diff --git a/src/db845c/mesa_prebuilt/lib/dri/stm_dri.so b/src/db845c/mesa_prebuilt/lib/dri/stm_dri.so
new file mode 120000
index 0000000..a396173
--- /dev/null
+++ b/src/db845c/mesa_prebuilt/lib/dri/stm_dri.so
@@ -0,0 +1 @@
+libgallium_dri.so
\ No newline at end of file
diff --git a/src/db845c/mesa_prebuilt/lib/dri/sun4i-drm_dri.so b/src/db845c/mesa_prebuilt/lib/dri/sun4i-drm_dri.so
new file mode 120000
index 0000000..a396173
--- /dev/null
+++ b/src/db845c/mesa_prebuilt/lib/dri/sun4i-drm_dri.so
@@ -0,0 +1 @@
+libgallium_dri.so
\ No newline at end of file
diff --git a/src/db845c/mesa_prebuilt/lib/egl/libEGL_mesa.so b/src/db845c/mesa_prebuilt/lib/egl/libEGL_mesa.so
new file mode 100755
index 0000000..e3bf3a0
--- /dev/null
+++ b/src/db845c/mesa_prebuilt/lib/egl/libEGL_mesa.so
Binary files differ
diff --git a/src/db845c/mesa_prebuilt/lib/egl/libEGL_mesa.so.1 b/src/db845c/mesa_prebuilt/lib/egl/libEGL_mesa.so.1
new file mode 120000
index 0000000..b596ccb
--- /dev/null
+++ b/src/db845c/mesa_prebuilt/lib/egl/libEGL_mesa.so.1
@@ -0,0 +1 @@
+libEGL_mesa.so
\ No newline at end of file
diff --git a/src/db845c/mesa_prebuilt/lib/egl/libGLESv1_CM_mesa.so b/src/db845c/mesa_prebuilt/lib/egl/libGLESv1_CM_mesa.so
new file mode 100755
index 0000000..87eda02
--- /dev/null
+++ b/src/db845c/mesa_prebuilt/lib/egl/libGLESv1_CM_mesa.so
Binary files differ
diff --git a/src/db845c/mesa_prebuilt/lib/egl/libGLESv1_CM_mesa.so.1 b/src/db845c/mesa_prebuilt/lib/egl/libGLESv1_CM_mesa.so.1
new file mode 120000
index 0000000..aaa91a1
--- /dev/null
+++ b/src/db845c/mesa_prebuilt/lib/egl/libGLESv1_CM_mesa.so.1
@@ -0,0 +1 @@
+libGLESv1_CM_mesa.so
\ No newline at end of file
diff --git a/src/db845c/mesa_prebuilt/lib/egl/libGLESv2_mesa.so b/src/db845c/mesa_prebuilt/lib/egl/libGLESv2_mesa.so
new file mode 100755
index 0000000..84fdc8f
--- /dev/null
+++ b/src/db845c/mesa_prebuilt/lib/egl/libGLESv2_mesa.so
Binary files differ
diff --git a/src/db845c/mesa_prebuilt/lib/egl/libGLESv2_mesa.so.2 b/src/db845c/mesa_prebuilt/lib/egl/libGLESv2_mesa.so.2
new file mode 120000
index 0000000..94fb549
--- /dev/null
+++ b/src/db845c/mesa_prebuilt/lib/egl/libGLESv2_mesa.so.2
@@ -0,0 +1 @@
+libGLESv2_mesa.so
\ No newline at end of file
diff --git a/src/db845c/mesa_prebuilt/lib/hw/vulkan.freedreno.so b/src/db845c/mesa_prebuilt/lib/hw/vulkan.freedreno.so
new file mode 100755
index 0000000..200ce74
--- /dev/null
+++ b/src/db845c/mesa_prebuilt/lib/hw/vulkan.freedreno.so
Binary files differ
diff --git a/src/db845c/mesa_prebuilt/lib/libglapi.so b/src/db845c/mesa_prebuilt/lib/libglapi.so
new file mode 100755
index 0000000..fe65c01
--- /dev/null
+++ b/src/db845c/mesa_prebuilt/lib/libglapi.so
Binary files differ
diff --git a/src/db845c/mesa_prebuilt/lib64/dri/armada-drm_dri.so b/src/db845c/mesa_prebuilt/lib64/dri/armada-drm_dri.so
new file mode 120000
index 0000000..a396173
--- /dev/null
+++ b/src/db845c/mesa_prebuilt/lib64/dri/armada-drm_dri.so
@@ -0,0 +1 @@
+libgallium_dri.so
\ No newline at end of file
diff --git a/src/db845c/mesa_prebuilt/lib64/dri/exynos_dri.so b/src/db845c/mesa_prebuilt/lib64/dri/exynos_dri.so
new file mode 120000
index 0000000..a396173
--- /dev/null
+++ b/src/db845c/mesa_prebuilt/lib64/dri/exynos_dri.so
@@ -0,0 +1 @@
+libgallium_dri.so
\ No newline at end of file
diff --git a/src/db845c/mesa_prebuilt/lib64/dri/hx8357d_dri.so b/src/db845c/mesa_prebuilt/lib64/dri/hx8357d_dri.so
new file mode 120000
index 0000000..a396173
--- /dev/null
+++ b/src/db845c/mesa_prebuilt/lib64/dri/hx8357d_dri.so
@@ -0,0 +1 @@
+libgallium_dri.so
\ No newline at end of file
diff --git a/src/db845c/mesa_prebuilt/lib64/dri/ili9225_dri.so b/src/db845c/mesa_prebuilt/lib64/dri/ili9225_dri.so
new file mode 120000
index 0000000..a396173
--- /dev/null
+++ b/src/db845c/mesa_prebuilt/lib64/dri/ili9225_dri.so
@@ -0,0 +1 @@
+libgallium_dri.so
\ No newline at end of file
diff --git a/src/db845c/mesa_prebuilt/lib64/dri/ili9341_dri.so b/src/db845c/mesa_prebuilt/lib64/dri/ili9341_dri.so
new file mode 120000
index 0000000..a396173
--- /dev/null
+++ b/src/db845c/mesa_prebuilt/lib64/dri/ili9341_dri.so
@@ -0,0 +1 @@
+libgallium_dri.so
\ No newline at end of file
diff --git a/src/db845c/mesa_prebuilt/lib64/dri/imx-dcss_dri.so b/src/db845c/mesa_prebuilt/lib64/dri/imx-dcss_dri.so
new file mode 120000
index 0000000..a396173
--- /dev/null
+++ b/src/db845c/mesa_prebuilt/lib64/dri/imx-dcss_dri.so
@@ -0,0 +1 @@
+libgallium_dri.so
\ No newline at end of file
diff --git a/src/db845c/mesa_prebuilt/lib64/dri/imx-drm_dri.so b/src/db845c/mesa_prebuilt/lib64/dri/imx-drm_dri.so
new file mode 120000
index 0000000..a396173
--- /dev/null
+++ b/src/db845c/mesa_prebuilt/lib64/dri/imx-drm_dri.so
@@ -0,0 +1 @@
+libgallium_dri.so
\ No newline at end of file
diff --git a/src/db845c/mesa_prebuilt/lib64/dri/ingenic-drm_dri.so b/src/db845c/mesa_prebuilt/lib64/dri/ingenic-drm_dri.so
new file mode 120000
index 0000000..a396173
--- /dev/null
+++ b/src/db845c/mesa_prebuilt/lib64/dri/ingenic-drm_dri.so
@@ -0,0 +1 @@
+libgallium_dri.so
\ No newline at end of file
diff --git a/src/db845c/mesa_prebuilt/lib64/dri/kgsl_dri.so b/src/db845c/mesa_prebuilt/lib64/dri/kgsl_dri.so
new file mode 120000
index 0000000..a396173
--- /dev/null
+++ b/src/db845c/mesa_prebuilt/lib64/dri/kgsl_dri.so
@@ -0,0 +1 @@
+libgallium_dri.so
\ No newline at end of file
diff --git a/src/db845c/mesa_prebuilt/lib64/dri/kirin_dri.so b/src/db845c/mesa_prebuilt/lib64/dri/kirin_dri.so
new file mode 120000
index 0000000..a396173
--- /dev/null
+++ b/src/db845c/mesa_prebuilt/lib64/dri/kirin_dri.so
@@ -0,0 +1 @@
+libgallium_dri.so
\ No newline at end of file
diff --git a/src/db845c/mesa_prebuilt/lib64/dri/komeda_dri.so b/src/db845c/mesa_prebuilt/lib64/dri/komeda_dri.so
new file mode 120000
index 0000000..a396173
--- /dev/null
+++ b/src/db845c/mesa_prebuilt/lib64/dri/komeda_dri.so
@@ -0,0 +1 @@
+libgallium_dri.so
\ No newline at end of file
diff --git a/src/db845c/mesa_prebuilt/lib64/dri/libgallium_dri.so b/src/db845c/mesa_prebuilt/lib64/dri/libgallium_dri.so
new file mode 100755
index 0000000..2a68115
--- /dev/null
+++ b/src/db845c/mesa_prebuilt/lib64/dri/libgallium_dri.so
Binary files differ
diff --git a/src/db845c/mesa_prebuilt/lib64/dri/libgallium_dri.so.0 b/src/db845c/mesa_prebuilt/lib64/dri/libgallium_dri.so.0
new file mode 120000
index 0000000..a396173
--- /dev/null
+++ b/src/db845c/mesa_prebuilt/lib64/dri/libgallium_dri.so.0
@@ -0,0 +1 @@
+libgallium_dri.so
\ No newline at end of file
diff --git a/src/db845c/mesa_prebuilt/lib64/dri/mali-dp_dri.so b/src/db845c/mesa_prebuilt/lib64/dri/mali-dp_dri.so
new file mode 120000
index 0000000..a396173
--- /dev/null
+++ b/src/db845c/mesa_prebuilt/lib64/dri/mali-dp_dri.so
@@ -0,0 +1 @@
+libgallium_dri.so
\ No newline at end of file
diff --git a/src/db845c/mesa_prebuilt/lib64/dri/mcde_dri.so b/src/db845c/mesa_prebuilt/lib64/dri/mcde_dri.so
new file mode 120000
index 0000000..a396173
--- /dev/null
+++ b/src/db845c/mesa_prebuilt/lib64/dri/mcde_dri.so
@@ -0,0 +1 @@
+libgallium_dri.so
\ No newline at end of file
diff --git a/src/db845c/mesa_prebuilt/lib64/dri/mediatek_dri.so b/src/db845c/mesa_prebuilt/lib64/dri/mediatek_dri.so
new file mode 120000
index 0000000..a396173
--- /dev/null
+++ b/src/db845c/mesa_prebuilt/lib64/dri/mediatek_dri.so
@@ -0,0 +1 @@
+libgallium_dri.so
\ No newline at end of file
diff --git a/src/db845c/mesa_prebuilt/lib64/dri/meson_dri.so b/src/db845c/mesa_prebuilt/lib64/dri/meson_dri.so
new file mode 120000
index 0000000..a396173
--- /dev/null
+++ b/src/db845c/mesa_prebuilt/lib64/dri/meson_dri.so
@@ -0,0 +1 @@
+libgallium_dri.so
\ No newline at end of file
diff --git a/src/db845c/mesa_prebuilt/lib64/dri/mi0283qt_dri.so b/src/db845c/mesa_prebuilt/lib64/dri/mi0283qt_dri.so
new file mode 120000
index 0000000..a396173
--- /dev/null
+++ b/src/db845c/mesa_prebuilt/lib64/dri/mi0283qt_dri.so
@@ -0,0 +1 @@
+libgallium_dri.so
\ No newline at end of file
diff --git a/src/db845c/mesa_prebuilt/lib64/dri/mxsfb-drm_dri.so b/src/db845c/mesa_prebuilt/lib64/dri/mxsfb-drm_dri.so
new file mode 120000
index 0000000..a396173
--- /dev/null
+++ b/src/db845c/mesa_prebuilt/lib64/dri/mxsfb-drm_dri.so
@@ -0,0 +1 @@
+libgallium_dri.so
\ No newline at end of file
diff --git a/src/db845c/mesa_prebuilt/lib64/dri/pl111_dri.so b/src/db845c/mesa_prebuilt/lib64/dri/pl111_dri.so
new file mode 120000
index 0000000..a396173
--- /dev/null
+++ b/src/db845c/mesa_prebuilt/lib64/dri/pl111_dri.so
@@ -0,0 +1 @@
+libgallium_dri.so
\ No newline at end of file
diff --git a/src/db845c/mesa_prebuilt/lib64/dri/rcar-du_dri.so b/src/db845c/mesa_prebuilt/lib64/dri/rcar-du_dri.so
new file mode 120000
index 0000000..a396173
--- /dev/null
+++ b/src/db845c/mesa_prebuilt/lib64/dri/rcar-du_dri.so
@@ -0,0 +1 @@
+libgallium_dri.so
\ No newline at end of file
diff --git a/src/db845c/mesa_prebuilt/lib64/dri/repaper_dri.so b/src/db845c/mesa_prebuilt/lib64/dri/repaper_dri.so
new file mode 120000
index 0000000..a396173
--- /dev/null
+++ b/src/db845c/mesa_prebuilt/lib64/dri/repaper_dri.so
@@ -0,0 +1 @@
+libgallium_dri.so
\ No newline at end of file
diff --git a/src/db845c/mesa_prebuilt/lib64/dri/rockchip_dri.so b/src/db845c/mesa_prebuilt/lib64/dri/rockchip_dri.so
new file mode 120000
index 0000000..a396173
--- /dev/null
+++ b/src/db845c/mesa_prebuilt/lib64/dri/rockchip_dri.so
@@ -0,0 +1 @@
+libgallium_dri.so
\ No newline at end of file
diff --git a/src/db845c/mesa_prebuilt/lib64/dri/st7586_dri.so b/src/db845c/mesa_prebuilt/lib64/dri/st7586_dri.so
new file mode 120000
index 0000000..a396173
--- /dev/null
+++ b/src/db845c/mesa_prebuilt/lib64/dri/st7586_dri.so
@@ -0,0 +1 @@
+libgallium_dri.so
\ No newline at end of file
diff --git a/src/db845c/mesa_prebuilt/lib64/dri/st7735r_dri.so b/src/db845c/mesa_prebuilt/lib64/dri/st7735r_dri.so
new file mode 120000
index 0000000..a396173
--- /dev/null
+++ b/src/db845c/mesa_prebuilt/lib64/dri/st7735r_dri.so
@@ -0,0 +1 @@
+libgallium_dri.so
\ No newline at end of file
diff --git a/src/db845c/mesa_prebuilt/lib64/dri/stm_dri.so b/src/db845c/mesa_prebuilt/lib64/dri/stm_dri.so
new file mode 120000
index 0000000..a396173
--- /dev/null
+++ b/src/db845c/mesa_prebuilt/lib64/dri/stm_dri.so
@@ -0,0 +1 @@
+libgallium_dri.so
\ No newline at end of file
diff --git a/src/db845c/mesa_prebuilt/lib64/dri/sun4i-drm_dri.so b/src/db845c/mesa_prebuilt/lib64/dri/sun4i-drm_dri.so
new file mode 120000
index 0000000..a396173
--- /dev/null
+++ b/src/db845c/mesa_prebuilt/lib64/dri/sun4i-drm_dri.so
@@ -0,0 +1 @@
+libgallium_dri.so
\ No newline at end of file
diff --git a/src/db845c/mesa_prebuilt/lib64/egl/libEGL_mesa.so b/src/db845c/mesa_prebuilt/lib64/egl/libEGL_mesa.so
new file mode 100755
index 0000000..241d5a3
--- /dev/null
+++ b/src/db845c/mesa_prebuilt/lib64/egl/libEGL_mesa.so
Binary files differ
diff --git a/src/db845c/mesa_prebuilt/lib64/egl/libEGL_mesa.so.1 b/src/db845c/mesa_prebuilt/lib64/egl/libEGL_mesa.so.1
new file mode 120000
index 0000000..b596ccb
--- /dev/null
+++ b/src/db845c/mesa_prebuilt/lib64/egl/libEGL_mesa.so.1
@@ -0,0 +1 @@
+libEGL_mesa.so
\ No newline at end of file
diff --git a/src/db845c/mesa_prebuilt/lib64/egl/libGLESv1_CM_mesa.so b/src/db845c/mesa_prebuilt/lib64/egl/libGLESv1_CM_mesa.so
new file mode 100755
index 0000000..9fd9e6b
--- /dev/null
+++ b/src/db845c/mesa_prebuilt/lib64/egl/libGLESv1_CM_mesa.so
Binary files differ
diff --git a/src/db845c/mesa_prebuilt/lib64/egl/libGLESv1_CM_mesa.so.1 b/src/db845c/mesa_prebuilt/lib64/egl/libGLESv1_CM_mesa.so.1
new file mode 120000
index 0000000..aaa91a1
--- /dev/null
+++ b/src/db845c/mesa_prebuilt/lib64/egl/libGLESv1_CM_mesa.so.1
@@ -0,0 +1 @@
+libGLESv1_CM_mesa.so
\ No newline at end of file
diff --git a/src/db845c/mesa_prebuilt/lib64/egl/libGLESv2_mesa.so b/src/db845c/mesa_prebuilt/lib64/egl/libGLESv2_mesa.so
new file mode 100755
index 0000000..97b1378
--- /dev/null
+++ b/src/db845c/mesa_prebuilt/lib64/egl/libGLESv2_mesa.so
Binary files differ
diff --git a/src/db845c/mesa_prebuilt/lib64/egl/libGLESv2_mesa.so.2 b/src/db845c/mesa_prebuilt/lib64/egl/libGLESv2_mesa.so.2
new file mode 120000
index 0000000..94fb549
--- /dev/null
+++ b/src/db845c/mesa_prebuilt/lib64/egl/libGLESv2_mesa.so.2
@@ -0,0 +1 @@
+libGLESv2_mesa.so
\ No newline at end of file
diff --git a/src/db845c/mesa_prebuilt/lib64/hw/vulkan.freedreno.so b/src/db845c/mesa_prebuilt/lib64/hw/vulkan.freedreno.so
new file mode 100755
index 0000000..42d53cb
--- /dev/null
+++ b/src/db845c/mesa_prebuilt/lib64/hw/vulkan.freedreno.so
Binary files differ
diff --git a/src/db845c/mesa_prebuilt/lib64/libglapi.so b/src/db845c/mesa_prebuilt/lib64/libglapi.so
new file mode 100755
index 0000000..b7ce233
--- /dev/null
+++ b/src/db845c/mesa_prebuilt/lib64/libglapi.so
Binary files differ