blob: 1f4af8c3cd16812047c4a96b0a0194b297d8d252 [file] [log] [blame]
#
# Copyright (C) 2021-2022 The LineageOS Project
#
# SPDX-License-Identifier: Apache-2.0
#
LOCAL_PATH := $(call my-dir)
ifneq ($(filter RMX2001L1 RMX2151L1,$(TARGET_DEVICE)),)
subdir_makefiles=$(call first-makefiles-under,$(LOCAL_PATH))
$(foreach mk,$(subdir_makefiles),$(info including $(mk) ...)$(eval include $(mk)))
include $(CLEAR_VARS)
VENDOR_SYMLINKS := \
$(TARGET_OUT_VENDOR)/lib/hw \
$(TARGET_OUT_VENDOR)/lib64/hw
$(VENDOR_SYMLINKS): $(LOCAL_INSTALLED_MODULE)
$(hide) echo "Making vendor symlinks"
@mkdir -p $(TARGET_OUT_VENDOR)/lib/hw
@mkdir -p $(TARGET_OUT_VENDOR)/lib64/hw
@ln -sf libSoftGatekeeper.so $(TARGET_OUT_VENDOR)/lib64/hw/gatekeeper.default.so
@ln -sf libMcGatekeeper.so $(TARGET_OUT_VENDOR)/lib64/hw/gatekeeper.mt6785.so
@ln -sf libMcGatekeeper.so $(TARGET_OUT_VENDOR)/lib64/hw/gatekeeper.oppo6785.so
@ln -sf kmsetkey.trustonic.so $(TARGET_OUT_VENDOR)/lib64/hw/kmsetkey.default.so
@ln -sf /vendor/lib/egl/libGLES_mali.so $(TARGET_OUT_VENDOR)/lib/hw/vulkan.mt6785.so
@ln -sf /vendor/lib64/egl/libGLES_mali.so $(TARGET_OUT_VENDOR)/lib64/hw/vulkan.mt6785.so
$(hide) touch $@
ALL_DEFAULT_INSTALLED_MODULES += $(VENDOR_SYMLINKS)
include external/wpa_supplicant_8/hostapd/Android.mk
endif