From: Bruno Martins Date: Mon, 18 Mar 2024 13:14:18 +0000 (+0000) Subject: g12-common: Declare vulkan lib as a symlink during extraction X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=9e82d7caf8d367d9b63acc3386066e624ce8853f;p=GitHub%2FLineageOS%2FG12%2Fandroid_device_amlogic_g12-common.git g12-common: Declare vulkan lib as a symlink during extraction Change-Id: I2678e73e957081db7d988da589892b482985778e --- diff --git a/Android.mk b/Android.mk index 8a7b77c..9977aca 100644 --- a/Android.mk +++ b/Android.mk @@ -1,5 +1,5 @@ # -# Copyright (C) 2021-2023 The LineageOS Project +# Copyright (C) 2021-2024 The LineageOS Project # # SPDX-License-Identifier: Apache-2.0 # @@ -9,14 +9,4 @@ ifneq ($(filter g12a g12b sm1,$(TARGET_AMLOGIC_SOC)),) LOCAL_PATH := $(call my-dir) include $(call all-makefiles-under,$(LOCAL_PATH)) -include $(CLEAR_VARS) - -VULKAN_SYMLINK := $(TARGET_OUT_VENDOR)/lib/hw -$(VULKAN_SYMLINK): $(LOCAL_INSTALLED_MODULE) - @echo "Vulkan lib link: $@" - @mkdir -p $@ - $(hide) ln -sf /vendor/lib/egl/libGLES_mali.so $@/vulkan.amlogic.so - -ALL_DEFAULT_INSTALLED_MODULES += $(VULKAN_SYMLINK) - endif diff --git a/proprietary-files.txt b/proprietary-files.txt index b8907cb..ae3ab53 100644 --- a/proprietary-files.txt +++ b/proprietary-files.txt @@ -84,7 +84,7 @@ vendor/lib/libam_adp.so vendor/bin/hw/android.hardware.graphics.allocator@4.0-service vendor/etc/init/android.hardware.graphics.allocator@4.0-service.rc vendor/lib/arm.graphics-V1-ndk_platform.so -vendor/lib/egl/libGLES_mali.so +vendor/lib/egl/libGLES_mali.so;SYMLINK=vendor/lib/hw/vulkan.amlogic.so vendor/lib/hw/android.hardware.graphics.allocator@4.0-impl-arm.so vendor/lib/hw/android.hardware.graphics.mapper@4.0-impl-arm.so vendor/lib/libamgralloc_ext.so