sm6150-common: Declare EGL libs as symlinks during extraction

Change-Id: I4b2f3e79b5e518889d9771bf8990e27babca8b61
This commit is contained in:
Bruno Martins 2024-03-28 13:11:44 +00:00 committed by basamaryan
parent ca574868c5
commit 5255afcd4d
No known key found for this signature in database
GPG Key ID: 707BA6C82329E8F9
2 changed files with 6 additions and 22 deletions

View File

@ -41,22 +41,6 @@ $(DSP_MOUNT_POINT): $(LOCAL_INSTALLED_MODULE)
ALL_DEFAULT_INSTALLED_MODULES += $(FIRMWARE_MOUNT_POINT) $(BT_FIRMWARE_MOUNT_POINT) $(DSP_MOUNT_POINT) ALL_DEFAULT_INSTALLED_MODULES += $(FIRMWARE_MOUNT_POINT) $(BT_FIRMWARE_MOUNT_POINT) $(DSP_MOUNT_POINT)
EGL_SYMLINKS := $(TARGET_OUT_VENDOR)/lib/
$(EGL_SYMLINKS): $(LOCAL_INSTALLED_MODULE)
mkdir -p $@
$(hide) ln -sf egl/libEGL_adreno.so $@/libEGL_adreno.so
$(hide) ln -sf egl/libGLESv2_adreno.so $@/libGLESv2_adreno.so
ALL_DEFAULT_INSTALLED_MODULES += $(EGL_SYMLINKS)
EGL64_SYMLINKS := $(TARGET_OUT_VENDOR)/lib64/
$(EGL64_SYMLINKS): $(LOCAL_INSTALLED_MODULE)
mkdir -p $@
$(hide) ln -sf egl/libEGL_adreno.so $@/libEGL_adreno.so
$(hide) ln -sf egl/libGLESv2_adreno.so $@/libGLESv2_adreno.so
ALL_DEFAULT_INSTALLED_MODULES += $(EGL64_SYMLINKS)
WIFI_FIRMWARE_SYMLINKS := $(TARGET_OUT_VENDOR)/firmware/wlan/qca_cld/ WIFI_FIRMWARE_SYMLINKS := $(TARGET_OUT_VENDOR)/firmware/wlan/qca_cld/
$(WIFI_FIRMWARE_SYMLINKS): $(LOCAL_INSTALLED_MODULE) $(WIFI_FIRMWARE_SYMLINKS): $(LOCAL_INSTALLED_MODULE)
@echo "Creating wifi firmware symlinks: $@" @echo "Creating wifi firmware symlinks: $@"

View File

@ -196,10 +196,10 @@ vendor/etc/seccomp_policy/vendor.qti.hardware.dsp.policy
# Graphics # Graphics
-vendor/lib/egl/eglSubDriverAndroid.so -vendor/lib/egl/eglSubDriverAndroid.so
-vendor/lib/egl/libEGL_adreno.so -vendor/lib/egl/libEGL_adreno.so;SYMLINK=vendor/lib/libEGL_adreno.so
-vendor/lib/egl/libGLESv1_CM_adreno.so -vendor/lib/egl/libGLESv1_CM_adreno.so
-vendor/lib/egl/libGLESv2_adreno.so -vendor/lib/egl/libGLESv2_adreno.so;SYMLINK=vendor/lib/libGLESv2_adreno.so
-vendor/lib/egl/libq3dtools_adreno.so -vendor/lib/egl/libq3dtools_adreno.so;SYMLINK=vendor/lib/libq3dtools_adreno.so
-vendor/lib/egl/libq3dtools_esx.so -vendor/lib/egl/libq3dtools_esx.so
-vendor/lib/hw/vulkan.adreno.so -vendor/lib/hw/vulkan.adreno.so
-vendor/lib/libC2D2.so -vendor/lib/libC2D2.so
@ -211,10 +211,10 @@ vendor/etc/seccomp_policy/vendor.qti.hardware.dsp.policy
-vendor/lib/libllvm-glnext.so -vendor/lib/libllvm-glnext.so
-vendor/lib/libllvm-qcom.so -vendor/lib/libllvm-qcom.so
-vendor/lib64/egl/eglSubDriverAndroid.so -vendor/lib64/egl/eglSubDriverAndroid.so
-vendor/lib64/egl/libEGL_adreno.so -vendor/lib64/egl/libEGL_adreno.so;SYMLINK=vendor/lib64/libEGL_adreno.so
-vendor/lib64/egl/libGLESv1_CM_adreno.so -vendor/lib64/egl/libGLESv1_CM_adreno.so
-vendor/lib64/egl/libGLESv2_adreno.so -vendor/lib64/egl/libGLESv2_adreno.so;SYMLINK=vendor/lib64/libGLESv2_adreno.so
-vendor/lib64/egl/libq3dtools_adreno.so -vendor/lib64/egl/libq3dtools_adreno.so;SYMLINK=vendor/lib64/libq3dtools_adreno.so
-vendor/lib64/egl/libq3dtools_esx.so -vendor/lib64/egl/libq3dtools_esx.so
-vendor/lib64/hw/vulkan.adreno.so -vendor/lib64/hw/vulkan.adreno.so
-vendor/lib64/libC2D2.so -vendor/lib64/libC2D2.so