mirror of
https://github.com/Evolution-X-Devices/device_oplus_mt6893-common
synced 2026-01-27 16:25:02 +00:00
Signed-off-by: ManshuTyagi <himanshut567@gmail.com> Change-Id: I5549311cdf7ba60f14456826678c924fd209b51e
78 lines
4.4 KiB
Makefile
78 lines
4.4 KiB
Makefile
#
|
|
# Copyright (C) 2021 Android Open Source Project
|
|
#
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
# you may not use this file except in compliance with the License.
|
|
# You may obtain a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
# See the License for the specific language governing permissions and
|
|
# limitations under the License.
|
|
#
|
|
|
|
LOCAL_PATH := $(call my-dir)
|
|
|
|
ifeq ($(TARGET_DEVICE),RMX3031)
|
|
|
|
include $(call all-makefiles-under,$(LOCAL_PATH))
|
|
|
|
VENDOR_SYMLINKS := \
|
|
$(TARGET_OUT_VENDOR)/lib \
|
|
$(TARGET_OUT_VENDOR)/lib64 \
|
|
$(TARGET_OUT_VENDOR)/lib/hw \
|
|
$(TARGET_OUT_VENDOR)/lib64/hw \
|
|
$(TARGET_OUT_VENDOR)/lib/egl \
|
|
$(TARGET_OUT_VENDOR)/lib64/egl
|
|
|
|
$(VENDOR_SYMLINKS): $(LOCAL_INSTALLED_MODULE)
|
|
$(hide) echo "Making vendor symlinks"
|
|
@mkdir -p $(TARGET_OUT_VENDOR)/lib/hw
|
|
@mkdir -p $(TARGET_OUT_VENDOR)/lib64/hw
|
|
@mkdir -p $(TARGET_OUT_VENDOR)/lib/egl
|
|
@mkdir -p $(TARGET_OUT_VENDOR)/lib64/egl
|
|
@ln -sf libSoftGatekeeper.so $(TARGET_OUT_VENDOR)/lib/hw/gatekeeper.default.so
|
|
@ln -sf libSoftGatekeeper.so $(TARGET_OUT_VENDOR)/lib/hw/gatekeeper.default.so
|
|
@ln -sf libMcGatekeeper.so $(TARGET_OUT_VENDOR)/lib64/hw/gatekeeper.trustonic.so
|
|
@ln -sf libMcGatekeeper.so $(TARGET_OUT_VENDOR)/lib/hw/gatekeeper.trustonic.so
|
|
@ln -sf kmsetkey.trustonic.so $(TARGET_OUT_VENDOR)/lib/hw/kmsetkey.trustonic.so
|
|
@ln -sf kmsetkey.trustonic.so $(TARGET_OUT_VENDOR)/lib64/hw/kmsetkey.trustonic.so
|
|
@ln -sf mt6893/libdpframework.so $(TARGET_OUT_VENDOR)/lib/libdpframework.so
|
|
@ln -sf mt6893/libpq_prot.so $(TARGET_OUT_VENDOR)/lib/libpq_prot.so
|
|
@ln -sf mt6893/libmtk_drvb.so $(TARGET_OUT_VENDOR)/lib/libmtk_drvb.so
|
|
@ln -sf mt6893/libaiselector.so $(TARGET_OUT_VENDOR)/lib/libaiselector.so
|
|
@ln -sf mt6893/libgpudataproducer.so $(TARGET_OUT_VENDOR)/lib/libgpudataproducer.so
|
|
@ln -sf mt6893/libnir_neon_driver.so $(TARGET_OUT_VENDOR)/lib/libnir_neon_driver.so
|
|
@ln -sf mt6893/libneuron_platform.vpu.so $(TARGET_OUT_VENDOR)/lib/libneuron_platform.vpu.so
|
|
@ln -sf mt6893/arm.graphics-V1-ndk_platform.so $(TARGET_OUT_VENDOR)/lib/arm.graphics-V1-ndk_platform.so
|
|
@ln -sf mt6893/libDR.so $(TARGET_OUT_VENDOR)/lib64/libDR.so
|
|
@ln -sf mt6893/libmnl.so $(TARGET_OUT_VENDOR)/lib64/libmnl.so
|
|
@ln -sf mt6893/libpq_prot.so $(TARGET_OUT_VENDOR)/lib64/libpq_prot.so
|
|
@ln -sf mt6893/libmdla_ut.so $(TARGET_OUT_VENDOR)/lib64/libmdla_ut.so
|
|
@ln -sf mt6893/libmtk_drvb.so $(TARGET_OUT_VENDOR)/lib64/libmtk_drvb.so
|
|
@ln -sf mt6893/libaiselector.so $(TARGET_OUT_VENDOR)/lib64/libaiselector.so
|
|
@ln -sf mt6893/libdpframework.so $(TARGET_OUT_VENDOR)/lib64/libdpframework.so
|
|
@ln -sf mt6893/libneuron_runtime.so $(TARGET_OUT_VENDOR)/lib64/libneuron_runtime.so
|
|
@ln -sf mt6893/libnir_neon_driver.so $(TARGET_OUT_VENDOR)/lib64/libnir_neon_driver.so
|
|
@ln -sf mt6893/libgpudataproducer.so $(TARGET_OUT_VENDOR)/lib64/libgpudataproducer.so
|
|
@ln -sf mt6893/libmcv_runtime.mtk.so $(TARGET_OUT_VENDOR)/lib64/libmcv_runtime.mtk.so
|
|
@ln -sf mt6893/libneuron_runtime.5.so $(TARGET_OUT_VENDOR)/lib64/libneuron_runtime.5.so
|
|
@ln -sf mt6893/libneuron_platform.vpu.so $(TARGET_OUT_VENDOR)/lib64/libneuron_platform.vpu.so
|
|
@ln -sf mt6893/arm.graphics-V1-ndk_platform.so $(TARGET_OUT_VENDOR)/lib64/arm.graphics-V1-ndk_platform.so
|
|
@ln -sf mt6893/libGLES_mali.so $(TARGET_OUT_VENDOR)/lib/egl/libGLES_mali.so
|
|
@ln -sf mt6893/libGLES_mali.so $(TARGET_OUT_VENDOR)/lib64/egl/libGLES_mali.so
|
|
@ln -sf mt6893/android.hardware.graphics.allocator@4.0-impl-mediatek.so $(TARGET_OUT_VENDOR)/lib/hw/android.hardware.graphics.allocator@4.0-impl-mediatek.so
|
|
@ln -sf mt6893/android.hardware.graphics.allocator@4.0-impl-mediatek.so $(TARGET_OUT_VENDOR)/lib64/hw/android.hardware.graphics.allocator@4.0-impl-mediatek.so
|
|
@ln -sf mt6893/android.hardware.graphics.mapper@4.0-impl-mediatek.so $(TARGET_OUT_VENDOR)/lib/hw/android.hardware.graphics.mapper@4.0-impl-mediatek.so
|
|
@ln -sf mt6893/android.hardware.graphics.mapper@4.0-impl-mediatek.so $(TARGET_OUT_VENDOR)/lib64/hw/android.hardware.graphics.mapper@4.0-impl-mediatek.so
|
|
@ln -sf /vendor/lib/egl/libGLES_mali.so $(TARGET_OUT_VENDOR)/lib/hw/vulkan.mt6893.so
|
|
@ln -sf /vendor/lib64/egl/libGLES_mali.so $(TARGET_OUT_VENDOR)/lib64/hw/vulkan.mt6893.so
|
|
$(hide) touch $@
|
|
|
|
ALL_DEFAULT_INSTALLED_MODULES += $(VENDOR_SYMLINKS)
|
|
|
|
endif
|