davinci: Create EGL symlinks

Change-Id: I1a6d2460ec514e26ca7b3652133aa86032b5ac83
This commit is contained in:
Arian 2020-04-16 16:35:33 +02:00
parent 7c5eede221
commit 95dafa122b
No known key found for this signature in database
GPG Key ID: 48029380598CE3B9

View File

@ -41,6 +41,22 @@ $(DSP_MOUNT_POINT): $(LOCAL_INSTALLED_MODULE)
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 $@/libGLESv2_adreno
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 $@/libGLESv2_adreno
ALL_DEFAULT_INSTALLED_MODULES += $(EGL64_SYMLINKS)
RFS_MSM_ADSP_SYMLINKS := $(TARGET_OUT_VENDOR)/rfs/msm/adsp/
$(RFS_MSM_ADSP_SYMLINKS): $(LOCAL_INSTALLED_MODULE)
@echo "Creating RFS MSM ADSP folder structure: $@"