mesa_prebuilt: Enable sm8x50 support
Enable Mesa for sm8x50-userdebug builds. It uses Zink
Gallium and Freedreno/Turnip Vulkan driver to boot to UI.
Also drop rb5-userdebug reference which has recently been
folded into db845c-userbug build target. Reference:
https://android-review.googlesource.com/c/device/linaro/dragonboard/+/3018835
Change-Id: If6007bf1487ec03a30c42a5a1603d2872fc7243e
Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
diff --git a/src/shared/mesa_prebuilt/Android.mk b/src/shared/mesa_prebuilt/Android.mk
index bdadfc2..cde8979 100644
--- a/src/shared/mesa_prebuilt/Android.mk
+++ b/src/shared/mesa_prebuilt/Android.mk
@@ -1,5 +1,4 @@
-
-ifneq ($(filter db845c rb5, $(TARGET_DEVICE)),)
+ifneq ($(filter db845c sm8x50, $(TARGET_DEVICE)),)
ifeq ($(BOARD_USE_CUSTOMIZED_MESA), true)
LOCAL_PATH := $(call my-dir)
@@ -77,7 +76,8 @@
LOCAL_CHECK_ELF_FILES := false
LOCAL_MODULE_SUFFIX := .so
LOCAL_MULTILIB := both
-LOCAL_MODULE_SYMLINKS=msm_dri.so
+LOCAL_MODULE_SYMLINKS := msm_dri.so
+LOCAL_MODULE_SYMLINKS += zink_dri.so
include $(BUILD_PREBUILT)
include $(CLEAR_VARS)